[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'SQLDB' (#fcl)

TSQLScript.Script

The script to execute

Declaration

Source position: sqldb.pp line 751

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: May 14 2021