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.
Unsupported Functions6.1.78 USERUSERReturns the name of the current user.Note that no parentheses are used with this function.6.1.79 USER_NAMEUSER_NAME([userid])Returns the name of the user specified by user ID. If the optional userid is omitted, returns the name of the current user.The argument is optional; the parentheses are mandatory.6.1.80 YEARYEAR(date)Returns the year portion of the specified date or date/time string. The date can be specified in ODBC timestamp format:yyyy-mm-dd hh:mm:ss.nThe date separator can be either a hyphen (-) or a slash (/).The date can also be specified in <strong>Caché</strong> $HOROLOG date format, such as 60703 (March 14, 2007).6.2 Unsupported FunctionsThe following Microsoft <strong>Transact</strong>-<strong>SQL</strong> functions are not supported by T<strong>SQL</strong> at this time: APP_NAME, ATN2,BINARY_CHECKSUM, CHECKSUM, COL_LENGTH, COLLATIONPROPERTY, COLUMNPROPERTY, CUR-SOR_STATUS, DATABASEPROPERTY, DATABASEPROPERTYEX, DB_ID, DEGREES, DIFFERENCE, FILE_ID,FILE_NAME, FILEGROUP_ID, FILEGROUP_NAME, FILEGROUPPROPERTY, FILEPROPERTY, FORMATMESSAGE,FULLTEXTCATALOGPROPERTY, FULLTEXTSERVICEPROPERTY, GETANSINULL, HOST_ID, IDENT_CURRENT,IDENT_INCR, IDENT_SEED, IDENTITY, INDEXKEY_PROPERTY, INDEXPROPERTY, ISDATE, IS_MEMBER,IS_SRVROLEMEMBER, OBJECTPROPERTY, PARSENAME, PERMISSIONS, RADIANS, ROWCOUNT_BIG,SERVERPROPERTY, SESSIONPROPERTY, SESSION_USER, SOUNDEX, <strong>SQL</strong>_VARIANT_PROPERTY,STATS_DATE, STDEV, STDEVP, SYSTEM_USER, TYPEPROPERTY.<strong>Caché</strong> <strong>Transact</strong>-<strong>SQL</strong> (T<strong>SQL</strong>) <strong>Migration</strong> <strong>Guide</strong> 51