Viewing 15 posts - 406 through 420 (of 508 total)
Lynn,
Your point on the Backup Log is very well taken. I forgot to mention it. Without it I've seen transaction logs grow from around 100 MB to over...
February 20, 2009 at 11:33 am
Your procedure doesn't actually use a cursor. You are using a simple while loop.
I've used code like yours for years to do deletes and it seems to be about...
February 20, 2009 at 10:46 am
You might want to check to see if the foreign key defined in the child table actually has an index on it. It is a common misconception that creating...
February 20, 2009 at 10:42 am
Tony,
Thanks - I'll check it out.
Todd Fifield
February 17, 2009 at 9:18 am
Your problem is probably that the table in SQL 2000 doesn't have a Primary Key. You can edit the table in the Enterprise Manager, but Access won't allow it...
February 16, 2009 at 12:03 pm
I used to get burned on this in SQL 2000 and ever since I've always used the same WHERE clause in the glue table. Since then I've never had...
February 16, 2009 at 11:25 am
I've never used SQL Server Express so I don't know if this will help. The Distributed Transaction Coordinator (DTC) has to be running on both servers.
Your insert code should...
February 12, 2009 at 6:29 pm
Matt,
Thanks for the pointer. I'll have a look and see if it makes any sense to add some sort of identity as a clustered index. With over 200...
January 14, 2009 at 2:55 pm
Thanks for the quick reply.
Is there a way of adding an Identity to the table schema that is not for replication?
Todd Fifield
January 14, 2009 at 10:39 am
No mention yet of the common trigger mistake:
SELECT @Variable = SomeValue
FROM inserted
The becoming mystified why only 1 row was processed in the trigger.
I still see this in a lot...
January 14, 2009 at 10:37 am
If all the data being fetched was in a covering index, would that guarantee the order?
Todd Fifield
January 6, 2009 at 7:34 pm
Gail,
Wow! I never thought about the parallel problem. It gets uglier all the time. I'd have to tweak MAXDOP in order to guarantee that it was done...
January 6, 2009 at 11:12 am
For what it's worth, the only way I've been able to get around the ORDER BY problem in derived tables and functions is to create an index and then use...
January 4, 2009 at 12:03 pm
Matt and Jeff,
The points are well taken.
Todd Fifield
January 4, 2009 at 11:14 am
Jeff,
As I pointed out the sequence table is ugly and only works for a single insert. It should only be done when there are interactive inserts done by users....
January 3, 2009 at 11:06 am
Viewing 15 posts - 406 through 420 (of 508 total)