Viewing 15 posts - 10,351 through 10,365 (of 14,953 total)
I like the proc. I made a modified version that works in SQL 2005 (since that's what I'm using right now). If anyone else wants to check that...
March 23, 2009 at 7:34 am
There are a couple of ways to check if anything has changed. You could run a checksum on each row, and compare the checksum from the staging table with...
March 23, 2009 at 7:12 am
Jeff Moden (3/20/2009)
So, how did you manage to prepend the '0x' to the character data to get it to work correctly?
Not sure how Grady did it. I would just...
March 23, 2009 at 7:07 am
I prefer to let them evolve organically. But I also like really rambling conversations that wander all over the place. I just think that's fun.
March 23, 2009 at 7:04 am
Large XML strings can take a while to parse. What I've sometimes found faster is to insert them into a table (temp or real) that can have an XML...
March 20, 2009 at 2:35 pm
Because SQL Server devs assumed that we'd know what we're doing and would feed the commands only meaningful procs. In my case, boy were they mistaken!
There are lots of...
March 20, 2009 at 2:31 pm
What permissions are you trying to grant?
March 20, 2009 at 2:26 pm
Jack Corbett (3/20/2009)I also log who made the change.
Pretty standard. Gotta agree with you.
March 20, 2009 at 2:25 pm
It's a common enough practice. I try to avoid it by having that kind of logic in the insert proc, instead of in a trigger, but that's mainly for...
March 20, 2009 at 2:23 pm
That's pretty much the most efficient way to do that.
Cross apply will do the same thing as inner join will, in this case, because you aren't passing any values from...
March 20, 2009 at 2:20 pm
Since the forums don't display XML well, please attach a copy of your query and such, stored as a txt file.
March 20, 2009 at 2:14 pm
I may be missing something, but your proc doesn't appear to actually use the @id parameter anywhere. It should probably be in the Where clause of the proc, and...
March 20, 2009 at 2:13 pm
Jack Corbett (3/20/2009)
March 20, 2009 at 2:08 pm
David Kranes (3/20/2009)
March 20, 2009 at 2:05 pm
David Kranes (3/20/2009)
How are rows inserted when a table has no indexes? Is the effect the same? Thank you.
It should just have the clustered index.
If you want more...
March 20, 2009 at 2:03 pm
Viewing 15 posts - 10,351 through 10,365 (of 14,953 total)