Sql Server 2005 Query

How to get number of records in a table

How to rename a column

How to select all duplicate records from a table

How to get number of row in each table in database

How to get number of days in a month

How to get first day of week

How to check a primary key exists or not in table

How to get number of time a character occur in a string

Different Date and Time Format