Viewing 15 posts - 526 through 540 (of 1,253 total)
Yes max(id) + 1 is not the best way to go. I would prefer identity columns to this approach.
November 11, 2008 at 11:09 pm
ta.bu.shi.da.yu (11/11/2008)
Chirag (11/10/2008)
You do not store either credit or debit values as negative becoz u need to take these values and show them in various reports .This would need multiplying...
November 11, 2008 at 11:07 pm
You will have to re-create all your jobs, maintenance plans etc.
November 11, 2008 at 10:53 pm
If you have a clustered index on the table data will be ordered according to the clustered index.
November 11, 2008 at 2:06 am
MS should have included Merge also.
November 11, 2008 at 1:11 am
Hi
As pointed out ...did u add serial column your non cl index and check?
November 10, 2008 at 11:33 pm
Grant Fritchey (11/10/2008)
November 10, 2008 at 11:09 pm
Identity values are "skipped/missed" when there is an error in your insert statement. Even though the insert statement fails the identity value gets used.
November 10, 2008 at 10:54 pm
Mostly this should be a permissions issue.
November 10, 2008 at 4:49 am
You are right abt time saving. If you are doing it in this manner make sure that your data does not break PrimaryKey or Clustered indexes.
You could script the...
November 10, 2008 at 4:46 am
I think doing the validation in the trigger and returning an error will cause the whole bulkinsert to fail. If this is the behaviour you want then its fine.
Any chance...
November 10, 2008 at 12:45 am
Hi
Performance will mostly depend on the number of rows you are going to update rather than the exists clause.
So if you want to update only if the record count is...
November 4, 2008 at 10:49 pm
yes you can. if record count is only criteria then this will work.
Update table1 set col1 = value
where exists (select * From table2)
November 4, 2008 at 2:16 am
Viewing 15 posts - 526 through 540 (of 1,253 total)