Unit 'SQLDB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TSQLScript.Script

The script to execute.

Declaration

Source position: sqldb.pp line 770

published property TSQLScript.Script;

Description

Script contains the list of SQL statements to be executed. The statements should be separated by the character specified in the Terminator property. Each of the statement will be executed on the database specified in Database. using the equivalent of the TCustomSQLQuery.ExecSQL statement. The statements should not return result sets, but other than that all kind of statements are allowed.

Comments will be conserved and passed on in the statements to be executed, depending on the value of the TSQLScript.CommentsinSQL property. If that property is False, comments will be stripped prior to executing the SQL statements.

See also

TSQLScript.CommentsinSQL

  

Should comments be passed to the SQL engine ?

TSQLScript.Terminator

  

Terminator character.

TSQLScript.DataBase

  

Database on which to execute the script.


Documentation generated on: Dec 27 2024