SQL SERVER – How to Rename a Column Name or Table Name

I often get requests from blog reader for T-SQL script to rename database table column name or rename table itself. Here is a video demonstrating the discussion [youtube=http://www.youtube.com/watch?v=5xviNDISwis] The script for renaming any column : sp_RENAME 'TableName.[OldColumnName]' , '[NewColumnName]', 'COLUMN' The script for renaming any object (table, sp etc) :…
Read More

SQLAuthority News – Ahmedabad SQL Server User Group Meeting – August 2008

I will be attending Ahmedabad SQL Server Usergroup Meeting on August 30, 2008. I will be taking session about “SQL Server CTE and Recursive CTE“. The most important part of August Meeting is there will be presentation on “Transaction Isolation Levels and Locks in SQL Server” from user group President…
Read More

SQL SERVER – Fix : Error : 40 – could not open a connection to SQL server – Fix Connection Problems of SQL Server

Everyday I get lots of question regarding error : An error has occurred while establishing a connection to the server when connecting to SQL server 2005, this failure may be caused by the fact that under default settings SQL server does not allow remote connection. ( provider: Named Pipes Provider,…
Read More

SQL SERVER – Behind the Scene of SQL Server Activity of – Transaction Log – Shrinking Log

Imran Mohammed continues to help community of SQL Server with his very enthusiastic writing and deep understanding of SQL Server architecture. Let us read what Imran has to say about how Transaction Log works and Shrinking of Log works. Question from lauraV Please help me understand. I am taking a…
Read More