Viewing 15 posts - 1,096 through 1,110 (of 5,843 total)
onlo (5/10/2016)
Unfortunately, we only use SQL Server 2014 Standard Edition, we can't use the memory optimized table feature.
Can I move just one table (it is a staging table) to a...
May 10, 2016 at 8:34 am
The dreaded "IS NULL OR" construct. DON'T DO THIS AS WRITTEN!!
http://sqlinthewild.co.za/index.php/2009/03/19/catch-all-queries/
May 9, 2016 at 5:08 pm
Given the design you describe cursors are probably the way to go and nothing wrong with that (assuming what is being done per object is actually set-based/efficient). I question the...
May 9, 2016 at 6:38 am
ThomasRushton (5/9/2016)
Wayne West (5/6/2016)
xsevensinzx (5/6/2016)
May 9, 2016 at 6:36 am
developerghana (5/9/2016)
Same hardware.And Inretrospect, it occurred all of a sudden
And you didn't provide the information I asked initially if that was the case: WHAT CHANGED?!?! 🙂
May 9, 2016 at 6:34 am
Your production database presumably has actual production work being done, meaning some locks are probably being taken on the table. So your query could simply be waiting for said locks...
May 9, 2016 at 6:33 am
1) Buy bigger hardware? Or configure a bigger VM? What are the specs now?
2) You did not answer question 2 from my initial response.
May 6, 2016 at 12:38 pm
GilaMonster (5/5/2016)
May 5, 2016 at 7:16 pm
GilaMonster (5/5/2016)
May 5, 2016 at 11:03 am
1) If you need help "ASAP" to get a production server running acceptably the best way BY FAR to accomplish that is with a consultant. There are a number on...
May 5, 2016 at 10:36 am
First thing to do is make sure you have an index on the key field(s) being used to delete from the big table. If not you are totally hosed by...
May 5, 2016 at 9:45 am
1) Cursors (actually almost ANY row-by-agonizing-row or iterative processing) in SQL Server is horribly inefficient.
2) You need to provide us with table definitions and actual data for them (in the...
May 4, 2016 at 1:38 pm
mmcbride 2735 (5/4/2016)
All my application databases are on sql server 2012 but need to move them to the new vm I have created on the...
May 4, 2016 at 12:45 pm
MadAdmin (5/3/2016)
TheSQLGuru (5/3/2016)
I have been consulting on SQL Server since the mid-1990s and I can count on two hands the number of times I have...
May 3, 2016 at 9:24 am
Backup and restore works fine.
Detach and reattach works fine (beware the stats updates though - make sure you tell the script to not do those).
If this is a migration...
May 3, 2016 at 9:22 am
Viewing 15 posts - 1,096 through 1,110 (of 5,843 total)