MSSQL Reference

MSSQL charindex in where clause

You can use the CHARINDEX function in a where clause much as you would use the LIKE keyword in a query. For more discussion see:

http://bytes.com/topic/sql-server/answers/81467-using-charindex-vs-like-where

MSSQL running queries on sql server 2000 via sql server 2008

When you run into errors running queries after adding a linked server which runs sql server 2000 on a machine running sql server 2008 try the openquery function instead :

MSSQL Conditional where statement

Conditionally placed where statement (in stored procedure)

MSSQL Getdate()

Returns the current database system timestamp as a datetime value, derived from the operating system of the computer on which the instance of SQL Server is running

MSSQL Table information

This stored procedure will give you extensive information about the fields in a table

[x]