Sql Servers

List of Tips/Tricks in Sql Servers

How to


Performance Difference between Parameterized and Non-Parameterized call to Stored Procedure

Performance Difference between Parameterized and Non-Parameterized call to Stored ProcedureRead more..
By: ayyanarj   |    On:  5/7/2010 9:06:12 PM

OUTPUT Command in SQL Server 2005

OUTPUT Command in SQL Server 2005Read more..
By: ayyanarj   |    On:  5/7/2010 9:03:55 PM

Server Management


Mailbox unavailable. The server response was: 5.7.1 Client does not have permissions to send as this sender

I was trying to send Emails using SSIS package deployed in SQL 2008. I was getting this error when i am trying to run the SQL Agent Job which sends Email address on the success of this job.Read more..
By: Mostafa Elzoghbi   |    On:  6/9/2010 8:36:17 AM

T-SQL


How to Get Month Name in T-SQL

In this tips will explain to you, two different ways to select month name in sql server.Read more..
By: RRaveen   |    On:  11/12/2010 9:50:54 PM

Get the table structure using SQL query in SQL Server

The query for retrieve the table structure in sql serverRead more..
By: youngmurukan   |    On:  4/16/2010 9:53:38 AM

Procedure for Split the words in SQL Sever

Procedure for Split the words in SQL SeverRead more..
By: youngmurukan   |    On:  4/12/2010 10:30:19 AM

How to Use Rowcount in SQL Server

How to Use Rowcount in SQL ServerRead more..
By: youngmurukan   |    On:  4/7/2010 8:57:25 AM

How to get Table and Database size using T-Sql

Today I would like to check my database and other few table size in online database. For that I have been use the system produce to get the tables and database size.Read more..
By: RRaveen   |    On:  12/15/2010 10:24:33 AM

Inserting values into an identity column

The identity column gets value assigned automatically when a new records inserted into the table.Read more..
By: Mohammad Shahanshah Ansari   |    On:  6/18/2010 11:20:09 AM

How to use sql server DATENAME () Function

In my previous tip I have been posted about DATEADD () function. Another function can use for date and time related operation in Sql server called DATENAME (). The DATENAME () returns a character string representing the specified datepart of the specified date.Read more..
By: RRaveen   |    On:  12/14/2010 11:53:50 PM

How to Delete duplicate records from a Table in SQL Server

How to Delete duplicate records from a Table in SQL ServerRead more..
By: youngmurukan   |    On:  4/7/2010 8:52:53 AM

Stored Procedures


How to get the parameter list of a Storedprocedure in SQL Server

How to get the parameter list of a Storedprocedure in SQL ServerRead more..
By: youngmurukan   |    On:  4/9/2010 10:07:31 AM

Database Administrator


Cannot change column to Not Null: Cannot insert the value NULL into column '', table '.dbo.Tmp_'; column does not allow nulls.

Cannot change column to Not Null: Cannot insert the value NULL into column '', table '.dbo.Tmp_'; column does not allow nulls.Read more..
By: RRaveen   |    On:  8/20/2010 12:04:43 PM

Zip & FTP database and create backup in sql server

I need to backup, zip and FTP my database to another server for safety purposes.Read more..
By: dotnetfish   |    On:  9/6/2010 10:21:17 AM

How to find column name within stored procedures in sql server

How to find word within stored procedures in sql serverRead more..
By: dotnetfish   |    On:  10/27/2010 8:00:24 AM

Compute By clause in SQL Server

We can use this clause to sum/count/avg/max/min so onRead more..
By: youngmurukan   |    On:  4/20/2010 10:49:45 AM

How to use DATEDIFF() function in Sql Server

This is the third tips date related function in sql server. In this I going to show you how to use DATEDIFF() function in sql server. The DATEDIFF () is useful to get the specified date part between two datesRead more..
By: RRaveen   |    On:  12/16/2010 10:06:48 AM

Error : Exclusive access could not be obtained because the database is in use

When restore a new database in MSSQL 2005 and hit error Restore Failed For Server (Microsoft.SqlServer.Smo)Read more..
By: dotnetfish   |    On:  10/16/2010 10:47:47 AM

How to use DATEADD function in Sql Server

The DATEADD function is a powerful built-in function sql server to add dates in different way and types. So I would like to explore in this tip how we can use the DATEADD function for different purpose.Read more..
By: RRaveen   |    On:  12/12/2010 10:16:49 PM

Select Records Based on Row Number in Sql Server

In this tips, i will explain how to select records based on Row number using ROW_NUMBER() function in sql server.Read more..
By: abhi2434   |    On:  12/2/2010 7:43:59 AM

How to find unused Table and Recently executed query in Sql Server

How to find unused Table and Recently executed query in Sql ServerRead more..
By: Mohammad Shahanshah Ansari   |    On:  6/22/2010 9:30:15 AM

How to ALTER or ADD two columns in Sql Server Table using T-Sql

In this tips, I will explain how to ALTER or ADD two or more columns in to table by t-sql script.Read more..
By: RRaveen   |    On:  3/25/2011 2:40:13 AM

Tracking Change Data Capture in SQL Server 2008

A very important feature of SQL Server 2008 is that we can enable CDC(Change Data capture) on database or table.We can track the database had CDC enabled by querying IS_CDC_ENABLED columnRead more..
By: Dhananjay Kumar   |    On:  1/17/2011 8:40:34 AM

Tracking Change Data Capture in SQL Server 2008

A very important feature of SQL Server 2008 is that we can enable CDC(Change Data capture) on database or table.We can track the database had CDC enabled by querying IS_CDC_ENABLED columnRead more..
By: Dhananjay Kumar   |    On:  1/17/2011 8:41:55 AM
^ Scroll to Top