SQL
MS SQL and .net Development
Pages
(Move to ...)
Home
▼
Wednesday, August 3, 2011
NULLIF
›
NULLIF is a function that compares two values. If the two values are the same, then the result of the operation is a Null matching the dat...
Tuesday, August 2, 2011
Query and Stored Procedure Optimization
›
In a stored procedure each query has to be optimized. There is one performance feature with stored procedures which goes beyond queries: slo...
Monday, August 1, 2011
SQL Script to generate INSERT Statement
›
DECLARE @TableName sysName DECLARE @WhereClause VarChar(1024) DECLARE @ColumnList NVarChar(4000) DECLARE @ColumnName SysName DECLARE @Co...
Saturday, July 30, 2011
Fill Factor
›
The fill-factor option is provided for fine-tuning index data storage and performance. When an index is created or rebuilt, the fill-factor ...
Friday, July 29, 2011
Function to Get age
›
Here is a function to compute the age of a individual, by passing Birth Date and As On Date. CREATE FUNCTION [dbo].[fn_GetAge] ( @DOB DATET...
‹
›
Home
View web version