AutoIncrement vs UniqueIdentifier
How to decide which key to used in your application? Whether to use AutoIncrement or UnqiueIdentifier.Please tell me the different scenarios for using these keys.
View ArticleSet two variables using a Select query in a stored procedure.
SET @Password =(SELECT Value1,Value2 FROM[dbo].[Table1]WHERE[Expr1])I am trying to get both values 'Value1' and 'Value2' in two variables to be used in same SP in next query. Is it possible or do I...
View ArticleHow to reset AutoNumber in MS-Access
I am working on a desktop application, where I am using MS-Access as backend. I generally use AutoNumber as a primary key.I want to reset the AutoNumber to its initial seed, which is '1'. I have search...
View ArticleWhat is the difference between Stored Procedures and User Defined Functions?
What is the difference between Stored Procedures and User Defined Functions in sqlserver.
View ArticleHow to ReSeed Identity value in SQL Server?
I want to reset an identity coloumn in SqlServer. I am usingDelete from "TableName". It is deleteing all data in the table but it is not resetting my Identity value.I have tried Truncate Table , But I...
View ArticleDelete Duplicate Records From a table
I need to clean duplicate records from a table, please let me know how to it.
View Article
More Pages to Explore .....