In Generic model ook views ondersteunen (hoewel je die nog niet via de interface uit een lijst kunt kiezen)
svn path=/Website/branches/v2016.3/; revision=32759
This commit is contained in:
@@ -91,8 +91,11 @@ function model_generic(table, autfunction)
|
||||
+ " FROM user_tables"
|
||||
+ " WHERE table_name = " + safe.quoted_sql_upper(table);
|
||||
var oRs = Oracle.Execute(sql);
|
||||
model.estimated_rows = oRs("num_rows").Value;
|
||||
model.last_analyzed = oRs("last_analyzed").Value;
|
||||
if (!oRs.Eof) // Is er niet bij views
|
||||
{
|
||||
model.estimated_rows = oRs("num_rows").Value;
|
||||
model.last_analyzed = oRs("last_analyzed").Value;
|
||||
}
|
||||
oRs.Close;
|
||||
|
||||
var sql = "SELECT LOWER(column_name) column_name"
|
||||
|
||||
Reference in New Issue
Block a user