Balavardhan Reddy

Balavardhan Reddy

Location:  India, Hyderabad, Andhra Pradesh

My interests:  Life, Asp.Net, Sql Server, Good Quotes

My blog

Balavardhan Reddy Narani

Created on 07/03/2009

My Thoughts

Category: Technology

articles : 81

Blogrank : 36 (learn more)

My last posts

CASE Statement in Update Queries

We can implement CASE statement in Update Queries. Instead of multiple update queries, you can implement multile condition by CASE statement to update a table or get the customized result. Ex : We...

Change the Background Row Color of the GridView control using MouseEvents without postback

Change the Background Row Color of the GridView control using MouseEvents without postback Change BackGround Color of a Row in Gridview when user moves mouse on a particular selecting Row, without...

How to Access ViewState Across Pages

Access ViewState Across Pages We can access the viewstate variables across pages. This is possible when we use Cross Page Posting or Server.transfer to redirect the other pages Ex : Here I have...

Best Tips to write a Stored Procedure

Good Tips to write stored procedure, to improve the performance. Below are the general rules to write good stored procedure. The sp_ prefix : Don't use the "sp_" prefix in a User created stored...

Save your SELECT query results in XML File or Text File.

To save the result of your SELECT query to XML or a text file. Well use xp_cmdshell. xp_cmdshell is an extended stored procedure kept in the master database. It issues OS commands directly to the...

Compare data between two tables in SQL Server 2005

Inorder to find the difference of two tables in schema and data betweeen Source and distination tables. we can use Tablediff in SQL Server 2005 You can run this utility from the command line or a...

How to encrypt a stored procedure in SQL Server 2005

Inorder to encrypt the text of stored procedures containing sensitive information, Sql Server provides WITH ENCRYPTION to encrypt the Stored Procedure. CREATE procedure...

How to check the active connections for each Database in SQL Server 2005

We need to check the number of active connections for a Database on our server. We can get that details by using the following SQL script. This SQL script displays the DatabaseName, the number of...

Display Last Modified Stored Procedure using SQL Server 2005/2008

To get a list of the Stored Procedure that were last modified, use this query SELECT TOP 10 modify_date,name FROM sys.procedures ORDER BY modify_date DESC --