> > |
You can send any SQL statement, including UPDATE or INSERT INTO, etc. If you update a table you need to do a explicit commit using (COMMIT statement) afterward.
If you send a statement with no reply, such as an UPDATE statement, the SQL statement will still open a cached version of the indicated file. In this case, a READNEXT on the file would fail but the SQL statement still gets executed. If you do a commit you should see your changes in the database.
The SQL statement can only operate on files stored in a RDBMS, and only indexed files can be stored there, so memory, one record and consecutive files wil not work with this command.
The SQL statement uses the FMS group associated with the named file to connect to the RDBMS.
Currently, APPX ignores errors or returned values from server. Make sure your SQL is valid when using this command. |