Viewing 15 posts - 181 through 195 (of 371 total)
What if you use a TRY/CATCH block?
BEGIN TRY
BEGIN TRANSACTION;
<DO STUFF >
COMMIT TRANSACTION;
END TRY
BEGIN CATCH
ROLLBACK TRANSACTION;
<...
November 30, 2011 at 1:56 pm
Damn, I knew that the output params were not being used and returned by the procedure.
Still I was too fast to click the wrong answer. :blush:
But TOP(1) with no ORDER...
November 29, 2011 at 8:10 pm
Thanks for the comments, Hugo.
I will keep that in mind. π
We have a lot denormalized tables with 100+ columns and it's a major pain to maintain their DML.
Best regards,
November 29, 2011 at 8:16 am
Hugo Kornelis (11/29/2011)
INSERT INTO #ATable(col1, col2, ...
November 29, 2011 at 7:50 am
Thank you for the question but I guess that's straightforward.
The "AS colX" parts of the SELECT statement are aliases to the columns returned by the SELECT statement and they don't...
November 28, 2011 at 8:24 pm
Just one small correction: ALLOW_SNAPSHOT_ISOLATION is not needed for Change Tracking but it's the probably the safer way to use it with.
Best regards,
November 28, 2011 at 4:08 pm
Excelent article, Roy.
I'm thinking that one of the ideal business solutions to use CT is for database synchronization from mobile devices or off-site databases.
To help CT become more "auditable", maybe...
November 28, 2011 at 2:54 pm
Thank you for the additional info, Paul and Tom.
Best regards,
November 28, 2011 at 8:37 am
You can't do it while creating a view.
You could use the select inside a stored procedure and it would work at the creation time.
The call to the procedure will still...
November 27, 2011 at 9:05 pm
michael.kaufmann (11/23/2011)
November 23, 2011 at 5:59 pm
Dev @ +91 973 913 6683 (11/9/2011)
November 10, 2011 at 3:14 am
Every vice is only an exaggeration of a necessary and virtuous function. ~Ralph Waldo Emerson
While I agree that foul language don't belong in technical articles (which is what the...
November 9, 2011 at 2:30 pm
GilaMonster (11/9/2011)
Imagine, if a transaction roll back did mark a VLF inactive, what...
November 9, 2011 at 12:04 pm
Hi, Gail.
That's an excellent article. Surely a result of years of experience.
Can I add a little related question to this topic?
Article (11/9/2011)
November 9, 2011 at 9:40 am
Thomas Abraham (11/9/2011)
Reminds me of my college days, when students would beg for...
November 9, 2011 at 6:53 am
Viewing 15 posts - 181 through 195 (of 371 total)