Marco,
When using bind variables with TOracleQuery, how does DOA make the OCI call in reference to the max size of the bind variable?
I have noticed that many of our queries used with TOracleQuery have multiple versions in the SGA SQL Area. According to Oracle the issue is that many third party tools use the max size of the data being passed instead of the max size of the column in the table. Therefore, '1A' and '1AA' using the same bind variable in the same query run at separate times would create 2 versions of that query in the SQL Area.
Is DOA using the max size of the data or of the column? If it is using max size of the data, can something be done to use the max size of the columns to cut down on the number of versions?
Thanks
When using bind variables with TOracleQuery, how does DOA make the OCI call in reference to the max size of the bind variable?
I have noticed that many of our queries used with TOracleQuery have multiple versions in the SGA SQL Area. According to Oracle the issue is that many third party tools use the max size of the data being passed instead of the max size of the column in the table. Therefore, '1A' and '1AA' using the same bind variable in the same query run at separate times would create 2 versions of that query in the SQL Area.
Is DOA using the max size of the data or of the column? If it is using max size of the data, can something be done to use the max size of the columns to cut down on the number of versions?
Thanks