February 6, 2012 at 9:21 am
Great question to start a week with. Thanks, Craig!
February 6, 2012 at 9:29 am
Nice question. Thanks Craig.
February 6, 2012 at 9:55 am
GilaMonster (2/6/2012)
Is it bad form, if you create a QotD, to list your own article as a reference?
Nah - go for it.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
February 6, 2012 at 10:12 am
Stewart "Arturius" Campbell (2/6/2012)
Wonder when this was changed?
Granted I haven't worked in Oracle itself since 7b...
It was always the case in Oracle 7 and before as well (ie when I last worked with it, around 1996). Which is why I once thought that truncate couldn't be rolled back in MSSQL either.
February 6, 2012 at 10:23 am
GilaMonster (2/6/2012)
Is it bad form, if you create a QotD, to list your own article as a reference?
I wouldn't mind :). Still, an msdn reference, if there is any relevant, would be a good addition.
February 6, 2012 at 10:44 am
vk-kirov (2/6/2012)
Hugo Kornelis (2/6/2012)
And 34% of them are for "you can never rollback a truncate table statement"Maybe they are Oracle refugees? :hehe: http://www.sqlservercentral.com/articles/Raw+Materials/71108/
:w00t: AHHH! I've been discovered! Oh well, I've been at least partially in the SQL Server world since 2000 so I guess I should know better by now.
February 6, 2012 at 10:55 am
thanks for the question
February 6, 2012 at 11:06 am
Nice and simple. Thanks.
February 6, 2012 at 11:19 am
My sincere apologies to those of you who have done counter-myth articles of this nature. I meant to say no OFFICIAL documentation on recovery mode associations, but there are blogs out there that discuss Truncate Rollbacks. Apparently I faux pas'd when I gave it to Steve. Apologies to y'alls fine work.
Thanks for all the well-wishes. And yes, the distribution is disturbing.
Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.
For better assistance in answering your questions[/url] | Forum Netiquette
For index/tuning help, follow these directions.[/url] |Tally Tables[/url]
Twitter: @AnyWayDBA
February 6, 2012 at 6:48 pm
GilaMonster (2/6/2012)
Is it bad form, if you create a QotD, to list your own article as a reference?
I hope not, since I have done this a couple of times. That said, I found two other (non-official, but well-regarded) references and listed them before my own.
February 7, 2012 at 7:33 am
Thanks to Craig for the question and Paul for the link to Kalen's article.
It's really good to know that SQL Server will exclusively lock the pages that were truncated until the transaction has ended, so no inconsistent reallocations will occur.
Also about Oracle: why would they create a restriction for the TRUNCATE TABLE in later versions when in version 7 the command could be rolled back?
An excellent QoTD.
Best regards,
Andre Guerreiro Neto
Database Analyst
http://www.softplan.com.br
MCITPx1/MCTSx2/MCSE/MCSA
February 8, 2012 at 6:42 am
GilaMonster (2/6/2012)
Given the distribution of answers, I'm considering a followup question - "does recovery model ever affect the ability to rollback transactions?" because it appears way too many people don't understand what recovery models do.
Or maybe create MotD (Myth of the Day)
Far away is close at hand in the images of elsewhere.
Anon.
February 8, 2012 at 10:15 am
David Burrows (2/8/2012)
GilaMonster (2/6/2012)
Given the distribution of answers, I'm considering a followup question - "does recovery model ever affect the ability to rollback transactions?" because it appears way too many people don't understand what recovery models do.Or maybe create MotD (Myth of the Day)
They seem to pop up on their own, without anyone really trying.
February 9, 2012 at 2:36 am
GilaMonster (2/6/2012)
Is it bad form, if you create a QotD, to list your own article as a reference?
depends who does it. It won't be bad form if you do it.
Tom
February 11, 2012 at 7:15 am
Good question. I missed it but learned something.
http://brittcluff.blogspot.com/
Viewing 15 posts - 31 through 45 (of 56 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy