13.07.2015 Views

Caché Transact-SQL (TSQL) Migration Guide - InterSystems ...

Caché Transact-SQL (TSQL) Migration Guide - InterSystems ...

Caché Transact-SQL (TSQL) Migration Guide - InterSystems ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.2.2 INSERT .......................................................................................................................... 214.2.3 UPDATE ......................................................................................................................... 224.2.4 READTEXT, UDATETEXT, WRITETEXT ................................................................. 224.2.5 TRUNCATE TABLE ...................................................................................................... 224.3 Query Statements ..................................................................................................................... 224.3.1 SELECT ......................................................................................................................... 224.3.2 JOIN ............................................................................................................................... 244.3.3 UNION ........................................................................................................................... 244.3.4 FETCH Cursor ............................................................................................................... 244.3.5 UPDATE STATISTICS .................................................................................................. 254.4 Flow Control Statements .......................................................................................................... 254.4.1 CASE ............................................................................................................................. 254.4.2 GOTO and Labels .......................................................................................................... 254.4.3 WAITFOR ...................................................................................................................... 254.5 Assignment Statements ............................................................................................................ 254.5.1 DECLARE ..................................................................................................................... 254.5.2 SET ................................................................................................................................. 264.6 <strong>Transact</strong>ion Statements ............................................................................................................. 264.6.1 SET TRANSACTION ISOLATION LEVEL ................................................................ 264.6.2 BEGIN TRANSACTION .............................................................................................. 274.6.3 COMMIT TRANSACTION .......................................................................................... 274.6.4 ROLLBACK TRANSACTION ...................................................................................... 274.6.5 CHECKPOINT .............................................................................................................. 274.6.6 LOCK TABLE ............................................................................................................... 284.7 Procedure Statements ............................................................................................................... 284.7.1 CREATE PROCEDURE / CREATE FUNCTION ......................................................... 284.7.2 ALTER FUNCTION ...................................................................................................... 294.7.3 DROP PROCEDURE / DROP FUNCTION .................................................................. 294.7.4 RETURN ........................................................................................................................ 294.7.5 EXECUTE ..................................................................................................................... 294.8 Other Statements ...................................................................................................................... 294.8.1 CREATE USER ............................................................................................................. 294.8.2 GRANT and REVOKE .................................................................................................. 304.8.3 PRINT ............................................................................................................................ 304.8.4 RAISERROR ................................................................................................................. 304.8.5 UPDATE STATISTICS .................................................................................................. 304.8.6 USE database ................................................................................................................. 304.9 <strong>InterSystems</strong> Extensions .......................................................................................................... 304.9.1 CACHE .......................................................................................................................... 314.9.2 IMPORTASQUERY ....................................................................................................... 315 T<strong>SQL</strong> Settings ................................................................................................................................... 335.1 DIALECT ................................................................................................................................. 335.2 TRACE ..................................................................................................................................... 335.3 CASEINSCOMPARE .............................................................................................................. 345.4 QUOTED_IDENTIFIER .......................................................................................................... 346 T<strong>SQL</strong> Functions ................................................................................................................................ 356.1 Supported Functions ................................................................................................................. 356.1.1 ABS ................................................................................................................................ 356.1.2 ACOS ............................................................................................................................. 356.1.3 ASCII ............................................................................................................................. 35iv<strong>Caché</strong> <strong>Transact</strong>-<strong>SQL</strong> (T<strong>SQL</strong>) <strong>Migration</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!