Lazarus
Programming => Databases => Topic started by: Nicole on March 22, 2023, 03:35:20 pm
-
Can I use a user-defined SQL statement to fill a IBTable?
If yes: What is the name of this propery?
-
What is a "user defined SQL-Statement"?!?!?!
Allow the user to "formulate" an SQL-Statement???
-
I correct myself: define the SQL-statement at runtime by code.
-
For custom SQL statements you should use IBQuery or IBDataSet.
-
IIRC TIBQuery, TIBTable and TIBUpdateSQL were created to maintain some compatibility when porting code from BDE. I recommend using TIBDataSet because you have more control over the DataSet, including your own SQL for insert, update, delete, generators, etc...