Viewing 15 posts - 46 through 60 (of 72 total)
Yes, you can be confident that your inserts, updates and deletes will be reversed assuming your using a script something like:
BEGIN TRAN
EXEC your_proc
ROLLBACK
June 20, 2008 at 5:22 am
Join onto the system table trace_events:
SELECT TE.name, T.*
FROM trace T -- table that contains the trace results
...
June 20, 2008 at 2:13 am
sp_dropserver 'oldname'
go
sp_addserver 'newname', 'local'
go
June 19, 2008 at 6:52 am
You don't need to change the -d option unless you are moving the master database.
There is no need to stop the SQL Server service before using DBCC TRACEON. If...
June 19, 2008 at 12:23 am
Using DBCC TRACEON then restarting the SQL Server service will immediately disable the trace flag.
If you only want the trace flag enabled until the SQL Server service is restarted...
June 18, 2008 at 4:08 am
Open SQL Configuration Manager, click on SQL Server 2005 Services, then right-click on the SQL Server service and select Properties. Click on the Advanced tab and in the Startup...
June 18, 2008 at 1:07 am
Are you using a linked server?
June 17, 2008 at 3:38 am
For text data types it's a bit more complicated. There's a good article on how to do it here: http://www.sqlteam.com/article/search-and-replace-in-a-text-column
June 17, 2008 at 3:37 am
This script will remove single quotes, if that was what you were asking?
UPDATE tablename
SET col1 = REPLACE(col1, '''', '')
June 17, 2008 at 2:08 am
I've replaced the CTE with a set-based method instead as suggested earlier. That has sped up the stored procedure a bit so thanks for that suggestion. It was...
June 13, 2008 at 12:36 pm
The execution time is different on the server, which I saw in the trace. There were no recompiles.
June 13, 2008 at 10:34 am
No, as I mentioned in my first post, the same plan is being reused. That's why I can't understand the difference in the execution time.
I'll look into...
June 13, 2008 at 1:14 am
Yes, it does. There are several instances on the same machine all with different IP addresses.
June 12, 2008 at 8:00 am
Yes, I was trying via the "database engine query" button. I don't have time to try everything in that DTC article at the moment but thanks for the link....
June 12, 2008 at 7:13 am
I read the BOL article. It says that you can connect via a client on the server which is exactly what I'm doing. It only works if I...
June 12, 2008 at 5:49 am
Viewing 15 posts - 46 through 60 (of 72 total)