Viewing 15 posts - 1,201 through 1,215 (of 5,843 total)
You didn't give us anything at all to go on to advise you. In particular what edition of SQL Server are you on now and are you (or could you)...
April 5, 2016 at 12:22 pm
I would say your Azure database is under powered (as is almost ALWAYS the case). But as someone else said, fastest will be to make a new table (with NO...
April 5, 2016 at 6:47 am
First and by FAR the most important let me say that this should be done OUTSIDE of SQL Server (unless you are going to be using the set in another...
April 4, 2016 at 10:57 am
Ross McMicken (4/1/2016)
Hugo Kornelis (3/31/2016)
Chitown (3/31/2016)
Hugo Kornelis (3/31/2016)
I recommend using this opportunity as a test case to check how long the restore will take....
April 1, 2016 at 8:10 am
See SET DEADLOCK_PRIORITY (https://msdn.microsoft.com/en-us/library/ms186736.aspx) and use that for your batch processes. Set them HIGH and you should be good. This could be easier than setting LOW for all of your...
April 1, 2016 at 6:08 am
If all columns are "important" for updating your who/when columns then you don't need to check for them. You simply update the fields joining to INSERTED without a WHERE clause....
April 1, 2016 at 6:04 am
Chitown (3/31/2016)
That's a good start.
Now what if someone accidentally forgets to add a WHERE clause to "DELETE FROM OrderData"?
I will personally kick his/her butt :-). Since it's prod, no one...
March 31, 2016 at 11:35 am
CLR is by far the best way to do this, at least until SQL 2016 is released. You can use Delimited8KSplit found here on SSC.com to do this, although the...
March 31, 2016 at 9:21 am
Since bcp is a command-line tool and I'm old school, I would use DOS scripting for this. Works fine, lasts a long time. 🙂 If you have xp_cmdshell enabled on...
March 31, 2016 at 9:18 am
Just write a SELECT TOP 1 ... query and use that to drive bcp:
March 31, 2016 at 9:00 am
This is the third time I have mentioned this this week, but you must make sure your non-production environments have Instant File Initialization enabled. Otherwise your restore will zero out...
March 31, 2016 at 8:43 am
Your post doesn't make sense as written. Nothing you have explains any need to iterate. So, what, EXACTLY, are you doing with this output:
SELECT @user-id = UID, @RefID = RefID...
March 31, 2016 at 7:54 am
I would also check if you have enabled Instant File Initialization on the restore machine. Without it, your server will zero out every bit of every byte of the entire...
March 30, 2016 at 10:25 am
But as far as I know WSFC required a shared storage.
That is a false statement, as Grant has already said. A Failover Cluster requires shared storage.
I REALLY caution you...
March 30, 2016 at 10:23 am
Personally in such situations (and others, such as too many databases on the same server) I simply construct my own processes for backup file migration and processing.
March 29, 2016 at 6:57 am
Viewing 15 posts - 1,201 through 1,215 (of 5,843 total)