Viewing 15 posts - 31 through 45 (of 155 total)
The insert/calculation trigger/rollback will be more efficient (than insert/calculation trigger/commit/delete/delete trigger/commit), but it's really only going to matter if the server is under a severe load, or the delete trigger...
September 2, 2010 at 11:24 pm
In this scenario, where you don't yet carry enough weight/experience to out-and-out declare that the index rebuilds are absolutely necessary, I suggest you utilise a test/dev environment. Take a...
September 2, 2010 at 10:18 pm
Bhuvnesh (8/22/2010)
Jim McLeod (8/22/2010)
August 22, 2010 at 10:41 pm
Disabling the indexes and then rebuilding them also means you don't need extra space in your data file. For example, a 5 GB non-clustered index normally requires an extra...
August 22, 2010 at 6:01 pm
Yep - you got it. There's a setting in Management Studio - Tools, Options, Query Results, SQL Server, Results To Grid, Maximum Characters Retrieved - Non XML Data, which...
August 15, 2010 at 6:39 pm
TDP (8/13/2010)
Jim, yes, it is the actual setting for the max memory that changed. 🙂 It is also very odd that it was...
August 15, 2010 at 6:22 pm
Ah, Paul raises a point that I missed, as it's not too clear. Is the Max Server Memory setting actually changing, or is the memory usage of the server...
August 13, 2010 at 3:03 am
The Max Server Memory setting is the total size of the buffer pools only - it doesn't include other uses that SQL Server has for memory.
From http://support.microsoft.com/kb/321363 (specific to 2005...
August 13, 2010 at 1:41 am
This sounds like a perfect job for Profiler. There's a couple of ways you could trace this.
For stored procedures, you'll want to capture RPC:Completed and SP:StmtCompleted events with Profiler....
August 12, 2010 at 6:19 pm
You can use sp_procoption to run a stored procedure on startup, but I'd prefer to have a SQL Agent job that frequently checks to see if the trace is running....
August 12, 2010 at 5:39 pm
Jamie Ingram-729524 (8/11/2010)
4. Deliberately blow up you VPC image and then try to recover it.If you can't recover, restore you VPC image.
This is good advice. Use a little...
August 11, 2010 at 11:46 pm
It's worth thinking about what you're counting. In your first (working) example, you are counting all rows that are in the results from SELECT FROM TableA. This will...
August 11, 2010 at 10:26 pm
Assuming 2005 (given the forum), there's a checkbox for "Workstation components, Books Online and development tools". On this screen, there's an "Advanced" button, which brings up a treeview that...
August 11, 2010 at 12:38 am
Thanks for all the answers, both here and privately.
From initial testing, it does appear that SQL Server on Windows 2008 manages the memory pretty well - I fired up SSMS...
August 9, 2010 at 8:29 pm
Hi Dominic,
It's possible that the (x rows affected) message is the problem. According to Books Online for sqlcmd:
When multiple results are returned, sqlcmd prints a blank line between each...
August 3, 2010 at 5:38 pm
Viewing 15 posts - 31 through 45 (of 155 total)