Andrey Maximenko. Ukraine
Member²
Hello!
I've scanned all DOA objects in my applications, and I found a lot of TOracleQuerys (from 1 to 15). Its names are TableInfoQuery. These TableInfoQuery's haven't parent, have different variables value, and have same SQL.text:
"Select constraint_name, column_name from sys.all_cons_columns
where owner =
wner and table_name = :table_name
and constraint_name not like
_max_constraint_name
order by constraint_name, position".
If I'm not mistaken, TableInfoQuery appear for TOracleDataset with empty FieldDefs and empty UniqueFields, am I right?
I have a question:
Why one TableInfoQuery try to read constraint_name from "dual"?
--------
Sorry for my English...
I've scanned all DOA objects in my applications, and I found a lot of TOracleQuerys (from 1 to 15). Its names are TableInfoQuery. These TableInfoQuery's haven't parent, have different variables value, and have same SQL.text:
"Select constraint_name, column_name from sys.all_cons_columns
where owner =

and constraint_name not like

order by constraint_name, position".
If I'm not mistaken, TableInfoQuery appear for TOracleDataset with empty FieldDefs and empty UniqueFields, am I right?
I have a question:
Why one TableInfoQuery try to read constraint_name from "dual"?
--------
Sorry for my English...