Hi Everyone,
Is it possible to have the SQL in all the applications DataWindows data source "checked" against the database using the database connection during a full build, or some other development process?
If so, how would I do it?
I observe that if I edit a DataWindow sql data source, the IDE will validate when I close the window, so maybe there is a way to do this is a bulk process.
Due to an oracle upgrade, we would like to recompile the SQL throughout the application to check that it is valid.
Cheers Peter.
P.S. The embedded SQL can be checked using the full build coupled with the "Disable Database Connection When Compiling and Building" (unchecked) setting. It seems to be buggy for me, these errors are not reported to the IDE, but I can at least turn SQL Trace on for the database connection, and the trace log records the SQL that failure checking. The IDE used to report these in the past for me, I remember using that checkbox to stop the error messages.
P.S. For reference
- See related problem here about missing SQL check error message: https://community.appeon.com/index.php/qna/q-a/check-embedded-sql-when-doing-a-full-build?limitstart=0#reply-26784.
- See enabling "Generate Trace" for a database connection here: https://docs.appeon.com/pb2019/connecting_to_your_database/ch15s02.html#d0e9301.
Terry Voth was very active in sybase news groups... Helped a lot.
Andreas.