Skip Navigation Links
Home
User-Defined Functions
Tips & Tricks
SQL Server 2005
SQL Server 2008
FAQ
Forums
Practice Test
Bookstore
String Functions
Returns the number of times a given input character exists in a given input string.
Returns the number of times a given search string exists in a given input string.
Returns the number of words in a given input string.
Emulates the behavior of Oracle's InitCap string function, which changes the first letter of each word in uppercase and all others in lowercase.
A string encryption and decryption function that uses a simple algorithm to encrypt and decrypt string values.
Trims the leading zeros of an alphanumeric value.
 
Date Functions
Computes for the age given the birth date and the reference date.
Determines whether the input date is a leap year or not.
Returns the first day of the week for a given date.
Returns the first day of the month for a given date.
Returns the first day of the quarter for a given date.
Returns the last day of the month for a given date.
Returns the input date removing the time portion.
Returns the number of days in a month.
Returns the number of days in a year.
 
Tree Functions
Returns the path of a node from the parent to the current node in a hierarchical/tree-type table.
Returns the level of a given node in a hierarchical/tree-type table.
 
Table-Valued Functions
Returns a table containing integer values from 1 to a maximum value.
Returns a table containing the comma-delimited value parameter as separate records.