diff options
Diffstat (limited to 'src/main/webapp/models/Schema_Def.cfc')
-rw-r--r-- | src/main/webapp/models/Schema_Def.cfc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/webapp/models/Schema_Def.cfc b/src/main/webapp/models/Schema_Def.cfc index b2f44f9..281d031 100644 --- a/src/main/webapp/models/Schema_Def.cfc +++ b/src/main/webapp/models/Schema_Def.cfc @@ -114,7 +114,7 @@ <cfif db_type.simple_name IS "Oracle"> <cfquery datasource="#this.db_type_id#_#this.short_code#" name="local.columnsList"> - SELECT column_name, data_type as type_name, DATA_LENGTH as column_size from all_tab_columns where owner = Upper(<cfqueryparam value="user_#this.short_code#" cfsqltype="cf_sql_varchar">) + SELECT column_name, data_type as type_name, DATA_LENGTH as column_size from all_tab_columns where owner = Upper(<cfqueryparam value="user_#this.db_type_id#_#this.short_code#" cfsqltype="cf_sql_varchar">) AND table_name = <cfqueryparam value="#table_name#" cfsqltype="cf_sql_varchar"> </cfquery> |