Category Archives: SQL Server 2005
ShortCut to Start Sql Server Management Studio
Posted by on May 8, 2012
Goto Run (WindowsKey+R) type ssmsee — for (Express Edition) type ssms – for (Full Version) Also Try: ssmsee -nosplash [opening without splash screen wizard]
Restore Database Query
Posted by on May 7, 2012
RESTORE DATABASE dbXyz FROM DISK = ‘C:\dbBackuXyz.bak’ WITH REPLACE
Sql Query To Display ColumnName, Datatype of a table
Posted by on February 28, 2012
SELECT COLUMN_NAME, DATA_TYPE, CHARACTER_MAXIMUM_LENGTH FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = ‘myTableName’
Changing the Default Database in Sql using query
Posted by on October 28, 2010
USE [master] GO ALTER LOGIN [LoginUserName] WITH DEFAULT_DATABASE=[YourDbName] GO
SQL: Rename table
Posted by on June 30, 2009
here is the syntax for renaming table in sql server EXEC sp_rename ‘old_name_of_table’, ‘new_name_of_table ‘
How to configure SQL Server 2005 to allow remote connections
Posted by on June 29, 2009
Go to http://support.microsoft.com/default.aspx?scid=kb;EN-US;914277