Viewing 15 posts - 1 through 15 (of 15 total)
Be Cool! You can trust on SQL Server Identity column. It will not give you duplicates.
October 21, 2010 at 4:24 am
Do not Insert data with IDENTITY_INSERT ON option. Then SQL Server take care of concurrency, it is guranteed that there will not be any duplicate id in Identity column.
October 21, 2010 at 4:13 am
What I understood you need conceptually is a dynamic array of varchar(20) as a input parameter of a stored procedure. You can achieve this in SQL Server 2008 using the...
October 20, 2010 at 3:32 am
The Update statement you have used is just incrementing the column value by 1 which does not make them unique.
Can you please explain your requirement in details. You can...
October 20, 2010 at 2:35 am
One easy logical way you can try .. I am not sure this is the best way or not..
SELECT CONVERT(DATETIME,(CAST(YEAR(GETDATE()) AS VARCHAR) + '-' + CAST(MONTH(GETDATE()) AS VARCHAR) +...
November 13, 2009 at 5:40 am
thanks a lot for your valuable guidence.
sp_updatestats has any locking ipmact on the the table during the execution of the command. Can we run it for few tables only instad...
November 12, 2009 at 5:47 am
Hi Gail,
you have mentioned the non updation of statistics is an expected behaviour for this case as the data insert volume not yet reached 20% till last statistics update. But...
November 12, 2009 at 4:29 am
I have also faced similar problem and for me there is no maintenance plan / shrink db done.
the DB was in SQL2K5 express edition and the recovery model is Simple....
November 12, 2009 at 3:47 am
thanks a lot for the info.
The table has almost 10 mn records and for today only 100K has added so as per the default threshhold the behaviour is fine.
But...
November 12, 2009 at 3:41 am
It is on SQL Server 2008 with Compatibility level 90
November 12, 2009 at 3:20 am
Thanks for your suggestion . I know I can get performance enhancement if the tempdb is on a seperate physical hard disc.
My main concern is what impact could hsve (if...
October 22, 2009 at 5:23 am
If you are using SQL Server 2005 then you can try SSIS with Data Flow Task. Define Set Rows Per Batch & Maximum Insert Commit Size under OLE DB Destination...
October 7, 2009 at 11:39 pm
I hope client can have some business need for keeping the employee id as e.g. EBRD02, EBRD04. In that only the numeric id can be generated by identity...
August 31, 2009 at 3:56 am
Uniqueidentifier stores GUID value which is unique through out the globe can be inserted by NEWID(). One of the purpose of using uniqueidentifier as PK as per my persional experience...
April 14, 2009 at 3:03 am
Thanks everybody ..
It worked . It will really help me..:)
Thanks once again..
May 5, 2008 at 6:22 am
Viewing 15 posts - 1 through 15 (of 15 total)