Viewing 15 posts - 526 through 540 (of 5,394 total)
Any triggers on the table?
Are you sure the "1 row(s) affected" message is from this statement and not from other statements in the procedure?
May 6, 2015 at 3:28 am
Can you please post table scripts, sample data and expected output in a readable format? See this post for guidance: http://spaghettidba.com/2015/04/24/how-to-post-a-t-sql-question-on-a-public-forum/
May 6, 2015 at 3:04 am
You don't need to test for existing rows: the UPDATE will take care of everything with its WHERE clause.
If you want to find out which rows has been updated, use...
May 6, 2015 at 3:02 am
I think that T-SQL is a horrible tool for this job. Did you consider any alternative, such as a powershell step in a SQL Agent job?
May 6, 2015 at 2:54 am
I thought that this was the Stig:
May 6, 2015 at 2:45 am
The purpose of partitioning is manageability. Some examples:
You want to archive old data, then you switch out the partition containing the old data with a metadata only operation, without executing...
May 6, 2015 at 2:42 am
If you set it up as bidirectional you have to deny writes at the subscriber, not at the publisher. If nobody (except the merge agent and sysadmin logins) can write...
May 6, 2015 at 2:34 am
The real upgrade happens when you fail over the instance: installing the service pack binaries doesn't affect the availability of your instances, so I don't think there's any need to...
May 5, 2015 at 7:36 am
Yes, just uninstall the 2012 instances. The (un)installer is designed to handle this situation.
May 5, 2015 at 7:20 am
So, 2 nodes, multiple instances, all running on one node.
Run the service pack on the passive node (the one with no instances running), move all intances to it when done,...
May 5, 2015 at 7:05 am
If I understand correctly, both nodes are currently active for some instance.
In this case, upgrade the first node selecting just the instances that are not running on the node. Do...
May 5, 2015 at 6:18 am
Really, I can't understand why you feel that fiddling with the data is better than using a simple add-in that does all the work for you.
May 5, 2015 at 5:37 am
You can rely on database size recorded by backup information on msdb.dbo.backupset.
Otherwise, you can set up the data collector and enable the disk usage collection set.
May 5, 2015 at 2:13 am
This thread discusses the topic in depth: http://www.sqlservercentral.com/Forums/Topic1188295-392-1.aspx
Don't use osql: it's old. The replacement is sqlcmd.
May 4, 2015 at 7:06 am
Viewing 15 posts - 526 through 540 (of 5,394 total)