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
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

T<strong>SQL</strong> Functions6.1.38 LOGLOG(num)Returns the natural logarithm of num. Thus LOG(2) returns .69314718055.6.1.39 LOG10LOG10(num)Returns the base-10 logarithm of num. Thus LOG10(2) returns .301029995663.6.1.40 LOWERLOWER(string)Returns string with all uppercase letters converted to lowercase. See UPPER.6.1.41 LTRIMLTRIM(string)Removes leading blanks from string. See RTRIM.6.1.42 MAXMAX(numfield)Aggregate function: used in a query to return the largest (maximum) of the values in the numfield column. For example:SELECT MAX(Age) FROM Sample.PersonFields with NULL are ignored.6.1.43 MINMIN(numfield)Aggregate function: used in a query to return the smallest (minimum) of the values in the numfield column. For example:SELECT MIN(Age) FROM Sample.PersonFields with NULL are ignored.6.1.44 MONTHMONTH(date)Returns the month portion of the specified date or date/time string. The date can be specified in ODBC timestamp format:yyyy-mm-dd hh:mm:ss.n42 <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!