Viewing 14 posts - 1 through 14 (of 14 total)
Hi Derek, I agree with you and Irish Flyer hat this a plain read committed isolation level scenario.
By the way, I like your scripts. Nicely contained, but...
March 6, 2009 at 10:41 am
Thank you, Tim. You get the bonus points and the bonus bonus points.
Here's my quick tsql for wrapping this up. This is still more work than I want...
March 4, 2009 at 8:56 am
Hmmm, that bonus question has made it kind of quiet around here until Tim came through.
Tim Wilson-Brown
The answer to the bonus question is to use DBCC CHECKIDENT without reseeding
This...
March 3, 2009 at 4:34 pm
I am glad to see so many people getting this right. And for 3 points!
It certainly does not operate according to how I expect things to work. I...
March 3, 2009 at 9:32 am
I love using inline comments. Especially when hacking complex sql.
For example:
with something like this, I can switch things up using simple inline comments
select a
,b
-- ,c
...
February 11, 2009 at 11:45 am
Thanks for the comments.
I just installed another instance. No backups this time. I'll monitor and report in this thread.
BTW this is on a Windows 2003 on...
February 11, 2009 at 10:57 am
Interesting and fun. My answer was 1,4,5,7,8 --wrong. I am amazed to see so many smarties out there get it right!
I checked the syntax highlighting in various tools...
February 11, 2009 at 10:18 am
2 ALZDBA
Thank you for your script. I am still disappointed that this is consistently inconsistent with what I expect. Using my visual parsing powers, I can see that...
January 16, 2009 at 9:57 am
Thanks to all. I'm finally back to where I started, which is to delete and reseed. As dmc says, you can't truncate if you have foreign keys and...
January 14, 2009 at 4:54 pm
Thank for the pointers, dmc and Gsquared:
The answer is that's just the way it is. On dmc's reply I went to read the manual:
If no rows have been...
January 14, 2009 at 3:20 pm
Read all about it. Here's the link to 'Common table expressions' aka the 'with...as' construct in MS-T-SQL.
I had trouble googling for 'WITH AS'. Thought I would...
January 6, 2009 at 10:31 am
That's awesome, turkbuku. I've use this construct (rank over blah0 with Oracle's rowid, but rowid is not available in SQL server. But this 'with' contruct works as...
January 6, 2009 at 10:13 am
In Reply to STJ, you're right in that I left out the enclosing block that made the contract SQL ninja-like. I was just suggesting a way to cast off...
December 29, 2008 at 12:06 pm
Good article. I'm not using SSIS currently, but I like the path of exploring and researching in finding a solution.
I'm wondering if this would work in making the contract...
December 29, 2008 at 9:32 am
Viewing 14 posts - 1 through 14 (of 14 total)