17.06.2013 Views

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

A<br />

System Functions<br />

<strong>SQL</strong> <strong>Server</strong> includes a number of “System Functions” as well as more typical functions with the<br />

product. Some of these are used often and are fairly clear right from the beginning in terms of how<br />

to use them. Others, though, are both rarer in use and more cryptic in nature.<br />

In this appendix, we’ll try to clarify the use of most of these functions in a short, concise manner.<br />

Just as an FYI, in prior releases, many system functions were often referred to as “Global Variables.”<br />

This was a misnomer, and <strong>Microsoft</strong> has striven to fix it over the last few releases — changing<br />

the documentation to refer to them by the more proper “system function” name. Just keep the old<br />

terminology in mind in case any old fogies (such as myself) find themselves referring to them as<br />

Globals.<br />

The T-<strong>SQL</strong> functions available in <strong>SQL</strong> <strong>Server</strong> <strong>2008</strong> fall into the following categories:<br />

❑ Legacy “system” functions<br />

❑ Aggregate functions<br />

❑ Configuration functions<br />

❑ Cryptographic functions<br />

❑ Cursor functions<br />

❑ Date and time functions<br />

❑ Mathematical functions<br />

❑ Metadata functions<br />

❑ Ranking functions<br />

❑ Rowset functions<br />

❑ Security functions<br />

❑ String functions<br />

❑ System functions<br />

❑ Text and image functions

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

Saved successfully!

Ooh no, something went wrong!