SQLInsert, SQLUpdate, etc
Posted: Sun 28 Nov 2021 19:40
Hi
I'm trying to understand how the SQL, SQLInsert, SQLUpdate and SQLDelete works in the TUniQuery. In the main SQL I have the Select SQL statement but can I have an insert, update or delete SQL as well without using separate TUniQuery objects? I need this for a web app in Elevate Web Builder and I have to specify SQL statements for Select, Insert, Update and Delete. After I have generated the SQL statements for Insert, Update and Delte, only the parameters for the main SQL statements is visible. How do I set the params for these other SQL statements and how to I specifically execute each of them? For Example, how to I assigne params and execute the SQLUpdate?
Thanks and best regards
Eivind
I'm trying to understand how the SQL, SQLInsert, SQLUpdate and SQLDelete works in the TUniQuery. In the main SQL I have the Select SQL statement but can I have an insert, update or delete SQL as well without using separate TUniQuery objects? I need this for a web app in Elevate Web Builder and I have to specify SQL statements for Select, Insert, Update and Delete. After I have generated the SQL statements for Insert, Update and Delte, only the parameters for the main SQL statements is visible. How do I set the params for these other SQL statements and how to I specifically execute each of them? For Example, how to I assigne params and execute the SQLUpdate?
Thanks and best regards
Eivind