Caché Transact-SQL (TSQL) Migration Guide - InterSystems ...
Caché Transact-SQL (TSQL) Migration Guide - InterSystems ...
Caché Transact-SQL (TSQL) Migration Guide - InterSystems ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
8Using the T<strong>SQL</strong> ShellThe T<strong>SQL</strong> Shell is one way to execute <strong>Transact</strong>-<strong>SQL</strong> code from <strong>Caché</strong>.To use the T<strong>SQL</strong> Shell, invoke the T<strong>SQL</strong>Shell() method from the <strong>Caché</strong> Terminal as follows: DO$SYSTEM.<strong>SQL</strong>.T<strong>SQL</strong>Shell(). This invokes the <strong>Caché</strong> <strong>SQL</strong> Shell and sets its DIALECT configuration parameter toMS<strong>SQL</strong>.You can perform the same operation by invoking the <strong>SQL</strong> Shell from the <strong>Caché</strong> Terminal as follows: DO$SYSTEM.<strong>SQL</strong>.Shell(), then setting the DIALECT configuration parameter. The <strong>SQL</strong> Shell supports three SETDIALECT options: MS<strong>SQL</strong>, Sybase, and Cache. For further details about this shell, refer to the “Using the <strong>SQL</strong> ShellInterface” chapter of Using <strong>Caché</strong> <strong>SQL</strong>.You can also execute <strong>Transact</strong>-<strong>SQL</strong> code as a Dynamic <strong>SQL</strong> program using the %Dialect property.<strong>Caché</strong> <strong>Transact</strong>-<strong>SQL</strong> (T<strong>SQL</strong>) <strong>Migration</strong> <strong>Guide</strong> 57