The <class>SYSTEM.TSQL</class> class provides an interface for managing InterSystems IRIS TSQL configurations. More...
Static Public Member Functions | |
CurrentSettings () | |
The <class>SYSTEM.TSQL</class> class provides an interface for managing InterSystems IRIS TSQL configurations. More... | |
_.Library.String | GetAnsiNulls () |
This method returns the current default TSQL dialect and the value for TSQL Ansi Null behavior. More... | |
_.Library.String | GetCaseInsCompare () |
This method returns the current default TSQL dialect and the value for TSQL non-case-sensitive equality comparison behavior. More... | |
_.Library.String | GetDialect () |
This method returns the current default TSQL Dialect for the System. More... | |
_.Library.String | GetEqualLiteralReplacement () |
This method returns the current default TSQL dialect and the value for TSQL equal literal replacement ( = conditions and IN clause) behavior. More... | |
_.Library.String | GetOwnerAsSchema () |
This method takes no arguments and returns the current setting for TSQL OWNER_AS_SCHEMA. | |
_.Library.String | GetQuotedIdentifier () |
This method returns the current default TSQL dialect and the value for TSQL Quoted Identifier behavior. More... | |
_.Library.String | GetTrace () |
This method takes no arguments and returns the current setting for TSQL TRACE. | |
_.Library.String | SetAnsiNulls (Dialect, flag) |
This method sets the current default TSQL dialect and the value for TSQL Ansi Null behavior. More... | |
_.Library.String | SetCaseInsCompare (Dialect, flag) |
This method sets the current default TSQL dialect and the value for TSQL non-case-sensitive equality comparison behavior. More... | |
_.Library.String | SetDialect (Dialect) |
This method sets the default TSQL Dialect for the System. More... | |
_.Library.String | SetEqualLiteralReplacement (Dialect, flag) |
This method sets the current default TSQL dialect and the value for TSQL equal literal replacement ( = conditions and IN clause) behavior. More... | |
_.Library.String | SetOwnerAsSchema (flag) |
This method sets the TSQL OWNER_AS_SCHEMA behavior to ON or OFF. More... | |
_.Library.String | SetQuotedIdentifier (Dialect, flag) |
This method sets the current default TSQL dialect and the value for TSQL Quoted Identifier behavior. More... | |
_.Library.String | SetTrace (flag) |
This method sets the TSQL TRACE behavior to ON or OFF. More... | |
![]() | |
_.Library.String | Help (_.Library.String method) |
This is a helper class that is used by the various SYSTEM classes to provide a Help method. More... | |
The <class>SYSTEM.TSQL</class> class provides an interface for managing InterSystems IRIS TSQL configurations.
You can use it via the special $SYSTEM object:
Do $SYSTEM.TSQL.SetAnsiNulls("Sybase","on")
You can call help to get a list of all entry points:
Do $SYSTEM.TSQL.Help()
|
static |
The <class>SYSTEM.TSQL</class> class provides an interface for managing InterSystems IRIS TSQL configurations.
You can use it via the special $SYSTEM object:
Do $SYSTEM.TSQL.SetAnsiNulls("Sybase","on")
You can call help to get a list of all entry points:
Do $SYSTEM.TSQL.Help()
This method will return the current setting that are defined for InterSystems TSQL compatibility features.
|
static |
|
static |
|
static |
This method returns the current default TSQL Dialect for the System.
The two options are Sybase and MSSQL
|
static |
|
static |
|
static |
|
static |
This method sets the current default TSQL dialect and the value for TSQL non-case-sensitive equality comparison behavior.
Parameters:
Returns: The previous default TSQL dialect value and TSQL non-case-sensitive equality comparison behavior.
|
static |
|
static |
This method sets the current default TSQL dialect and the value for TSQL equal literal replacement ( = conditions and IN clause) behavior.
Parameters:
Returns: The previous default TSQL dialect value and TSQL equal literal replacement ( = conditions and IN clause) behavior.
|
static |
This method sets the TSQL OWNER_AS_SCHEMA behavior to ON or OFF.
When OWNER_AS_SCHEMA=ON, TSQL will convert database.owner.table to database_owner.table. If owner is missing, say database..table, $username will be used for the owner resulting in database_$$$LOWER($username).table Changing the OWNER_AS_SCHEMA setting only takes effect when the TSQL procedure class is [re]compiled or cached queries compiled in a TSQL dialect are purged and recreated.
Parameters:
Returns: The previous TSQL OWNER_AS_SCHEMA setting or an error message
|
static |
This method sets the current default TSQL dialect and the value for TSQL Quoted Identifier behavior.
Parameters:
Returns: The previous default TSQL dialect value and TSQL Quoted Identifier behavior.
|
static |
This method sets the TSQL TRACE behavior to ON or OFF.
When TRACE=ON, a TSQL procedure will create a log file in the current namespace's directory named "tsql"_$j_".log" that contains the statements executed when the procedure is run. Changing the TRACE setting only takes effect when the class is recompiled or the TSQL procedure is [re]created.
Parameters:
Returns: The previous TSQL TRACE setting or an error message