Viewing 15 posts - 4,276 through 4,290 (of 6,486 total)
Now that you found a trigger - it sounds like the trigger was created assuming that it would only run into single record updates. If it's written in that...
March 10, 2008 at 1:01 pm
Not sure what would be so "unstable" or undesirable about it. It works the way it's supposed to. The global table variable doesn't seem to buy you much...
March 10, 2008 at 12:26 pm
If I may ask - if you're storing a date value - why would you store it as anything other than a datetime? storing dates as character or numeric...
March 10, 2008 at 12:09 pm
Double posting.... Conversation continues over here:
http://www.sqlservercentral.com/Forums/Topic466857-149-1.aspx
March 10, 2008 at 12:06 pm
The linked tables need to be set up with a set of fields that can uniquely identify each row in order to be updateable. If you haven't done so...
March 10, 2008 at 12:04 pm
Jeff Moden (3/10/2008)
March 10, 2008 at 10:50 am
If you have an extensive data structure - then it may be necessary to bering someone in to help you do it. The last thing you want is to...
March 10, 2008 at 10:43 am
Sam -
this is one of those times when the error message is actually telling you something accurate. The advice is to change your growth factor to a fixed...
March 10, 2008 at 10:36 am
One single run of the loop will "wipe out" all rows created after 1/5/08. If that's the two million, then yes - one single run will handle them all....
March 10, 2008 at 10:28 am
If you ARE on 2000, you can use SET ROWCOUNT instead.
Meaning -
....
SET ROWCOUNT 10000
While 1=1
Begin
Delete...
March 10, 2008 at 9:49 am
You're going to have to give us more detail than that in order to help you. Try to give us the table structure and the criteria of the clients...
March 10, 2008 at 9:40 am
Do you have any open transactions? It can only truncate up to the more recent uncommitted transaction.
dbcc opentran
March 10, 2008 at 9:35 am
jay holovacs (3/10/2008)
Jeff Moden (3/10/2008)
March 10, 2008 at 9:23 am
Open up your web.config file (from within the project editor). do a find for the old database name (it's in the connection string for the data). Replace with...
March 10, 2008 at 9:11 am
Lynn Pettis (3/10/2008)
March 10, 2008 at 9:04 am
Viewing 15 posts - 4,276 through 4,290 (of 6,486 total)