Viewing 15 posts - 1 through 15 (of 73 total)
Phil Parkin (5/7/2015)
'Flashback'. What is that?
Sorry, Oracle terminology. In SQL Server this would be Snapshot. Regardless, use technology to allow you to rollback to the point in time before deployment...
May 7, 2015 at 8:00 am
Interesting. Certainly you can track db version in the database. quite a few vendors do this and it works well as long as you can keep control of the db...
May 7, 2015 at 7:28 am
Steve Jones - SSC Editor (5/6/2015)
Bradley Deem (5/6/2015)
May 6, 2015 at 10:43 am
Idempotent scripts are great when possible, but you must be pragmatic. For example, data migrations with table transformations are often not easily made idempotent.
You can reliably check the database/app version...
May 6, 2015 at 8:38 am
I've been writing idempotent scripts for years. However, even that's not the best defense against a script run twice. I've found it's more economical to write a guard at the...
May 6, 2015 at 6:14 am
I assume the dll is unsafe. So for example if we were adding System.Web.dll.
-- Trustworthy is required for unsafe access or use certificates
ALTER DATABASE Utility SET TRUSTWORTHY ON
-- This...
June 23, 2011 at 8:04 am
Great question.
I must say, .NET Framework has one up on SQL here. Considering the following VB.NET code.
System.Console.WriteLine(1234567890.123456789D * 0.1D * 0.1D)
returns 12345678.90123456789 as expected which is simple.
DECLARE @value1 DECIMAL(20,10),...
March 21, 2011 at 8:30 am
Solomon Rutzky (12/29/2010)
Bradley Deem (12/29/2010)
Assuming I've implemented it correctly,...
December 29, 2010 at 4:25 pm
Thanks for sharing David. I agree most CLR aggregates have not had much success beyond academics. I think part of this limitation is due to the lack of...
December 29, 2010 at 8:17 am
Carlo Romagnano (12/20/2010)
ian.grace (12/20/2010)
December 20, 2010 at 8:51 am
brad.welch (3/6/2008)
First - I'm assuming this is 32bit SQL Server as there is no Jet driver for 64 bit sql server...so linked server directly would not work in 64bit.
Interesting, I...
November 2, 2010 at 3:32 pm
Good question. A slight variation on the question helps explain the behavior of @@TRANCOUNT which isn't very clearly stated in the BOL.
A trigger operates as if there were an...
October 1, 2010 at 9:05 am
Great series of questions. Although, I think the correct answer is actually option 1 and option 3. IE
The following error is raised "Cannot roll back InnerTran. No transaction or...
September 23, 2010 at 8:11 am
Viewing 15 posts - 1 through 15 (of 73 total)