Viewing 15 posts - 16 through 30 (of 43 total)
Good grief. Yeah, I didn't even think about the capability of something coming before the INSERT/UPDATE/DELETE in the string. <facepalm>
And your modification works great! Many, many thanks!
My...
August 13, 2012 at 3:18 pm
Lowell,
Alright...I tinkered with the code you sent us & came up with this "alpha" code I will pick at tomorrow. Do you see anything initially wrong with going this...
August 13, 2012 at 2:53 pm
Lowell,
Will this code work on DELETES as well? I'm picking this apart as we speak but thought I'd ask before I spend a lot of time on this...
August 13, 2012 at 11:58 am
Lowell,
This piece of code has been gold for me in a couple of other triggers. Thank you again.
The instance I am having issues with at this time is using...
August 13, 2012 at 9:46 am
Lowell,
Thank you! This is just what we're looking for! Testing so far is working great!
Now I'll pick it apart to see how you did this.
Thanks again!...
August 9, 2012 at 8:57 am
Finally approached our server email admin & explained my dilemma to him. He unchecked the requires authentication box, and once the server was propagated with the information it worked...
May 29, 2012 at 3:03 pm
Using your code came up with blanks...even immediately after sending a group email.
May 29, 2012 at 11:04 am
anthony.green (3/30/2012)
March 30, 2012 at 9:08 am
Lowell (6/10/2010)
yes it is; as a matter of fact, here's something at codeproject that has a screenshot-by-screenshot, step by step example:http://www.codeproject.com/KB/database/MergeReplication.aspx
I found out for this particular server, we're using SQL...
June 10, 2010 at 2:38 pm
Lowell (6/10/2010)
changes would get shipped out on a regular basis, and once set up, you do not have to...
June 10, 2010 at 11:11 am
Lowell (6/10/2010)
I think there are few ways to go about this;
1. have the trigger directly update the other server. this assumes a linked server exists to the other server. downside:...
June 10, 2010 at 9:46 am
Okay....I'm about 95% of the way there. Here's what I've come up with so far.
If I run this....
Select @DBName = EVENTDATA().value('(/EVENT_INSTANCE/TSQLCommand/CommandText)[1]','nvarchar(max)')
I get this if I print @DBName....
"ALTER DATABASE [JW_Ref_Tools]...
June 4, 2010 at 10:40 am
PaulB-TheOneAndOnly (6/3/2010)
John Waclawski (6/3/2010)
PRINT 'If you need to Add/Delete/Modify a database on this server,'
...
June 3, 2010 at 12:48 pm
This following code executes with no problems. I get the print statements & the email (when it's not commented out) but the ROLLBACK doesn't work. After sleeping on...
June 3, 2010 at 11:15 am
Bru Medishetty (5/18/2010)
These should help you..http://www.sql-server-performance.com/articles/audit/ddl_triggers_p1.aspx
Coincidentally I've been using that one all day working on my issue. 😀
Bru Medishetty (5/18/2010)
http://www.developer.com/db/article.php/3552096/Using-DDL-Triggers-to-Manage-SQL-Server-2005.htm
Found this one as well. Still reading it.
May 18, 2010 at 2:23 pm
Viewing 15 posts - 16 through 30 (of 43 total)