Red Gate forums :: View topic - SQL Server Trace
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Compare 10
SQL Compare 10 forum

SQL Server Trace

Search in SQL Compare 10 forum
Post new topic   Reply to topic
Jump to:  
Author Message
JohnnyBravo



Joined: 02 Oct 2012
Posts: 2
Location: United States

PostPosted: Tue Oct 02, 2012 9:13 pm    Post subject: SQL Server Trace Reply with quote

Our DBA noticed a SQL Trace was started under my account on the database and asked me about it. Since I didn't manually start one, it appears that SQL Compare 10 might have. Does SQL Compare 10 initiate a trace on the databases before running the compare, and if so, is there a way to turn this off?

Thank you very much for any info on this.

Johnny Bravo
Back to top
View user's profile Send private message AIM Address
Brian Donahue



Joined: 23 Aug 2004
Posts: 6582

PostPosted: Wed Oct 03, 2012 9:26 am    Post subject: Reply with quote

SQL Compare sets a trace flag (I think it's 3604). This is to get information about the database when you first connect to it. I believe it may also set additional trace flags if you need to decrypt encrypted objects.
Back to top
View user's profile Send private message
JohnnyBravo



Joined: 02 Oct 2012
Posts: 2
Location: United States

PostPosted: Wed Oct 03, 2012 5:10 pm    Post subject: Reply with quote

Thank you Brian! So this appears to be necessary part of the compare process. I just prefer to fly under the radar of DBAs. No way to run the compare without setting the trace flag, I gather.

Thank you for the help Brian!

Johnny Bravo
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group