Viewing 15 posts - 2,551 through 2,565 (of 2,643 total)
You can't update two tables in one SQL statement but you can wrap them in an transaction so from the outside it looks like they are.
BEGIN TRANSACTION
UPDATE A
SET Complete =...
May 9, 2010 at 6:04 pm
mike.renwick-894639 (5/7/2010)
I've not come across DDL triggers before- they look quite interesting and a relatively sensible place to capture changes.
I've written this trigger to record when DDL changes...
May 7, 2010 at 10:29 am
Grant Fritchey (5/7/2010)
May 7, 2010 at 8:26 am
bill page-320204 (5/6/2010)
We use SourceSafe. We keep each proc separate. When I need to change one, I check it out, modify it, paste it...
May 6, 2010 at 1:29 pm
CirquedeSQLeil (5/6/2010)
I would have like to see a more in-depth article on the facets of the scripts. I think this would have added more value to the article.
I didn't...
May 6, 2010 at 10:47 am
bphipps-931675 (5/6/2010)
But you lose the benefits of a change log that manual management of your procedures provides.
In the version of the procedure I have adds and additional call to another...
May 6, 2010 at 10:17 am
bphipps-931675 (5/6/2010)
May 6, 2010 at 9:42 am
bphipps-931675 (5/6/2010)
I guess this is where having a plan in place of how you are going to manage your scripts before you create 600 scripts is important.
It is...
May 6, 2010 at 9:21 am
bphipps-931675 (5/6/2010)
May 6, 2010 at 9:14 am
bphipps-931675 (5/6/2010)
May 6, 2010 at 8:51 am
bphipps-931675 (5/6/2010)
May 6, 2010 at 8:35 am
Phil Factor (5/6/2010)
anything that involves a table schema change for example kind of makes the whole approach a bit complex and prone to problems
Right on the nail. If you can...
May 6, 2010 at 7:54 am
mike.renwick-894639 (5/6/2010)
May 6, 2010 at 7:48 am
mike.renwick-894639 (5/6/2010)
Microsoft.SqlServer.Management.Smo.Scripter in Powershell.. this has the advantage that it handles all types of objects...
May 6, 2010 at 7:46 am
jcaradocdavies (5/6/2010)
As far as experience and memory serves, sp_helptext is not a reliable source for recreating SQL server objects. SQL management objects are the preferred source.
Changes to...
May 6, 2010 at 7:44 am
Viewing 15 posts - 2,551 through 2,565 (of 2,643 total)