Forum Replies Created

Viewing 15 posts - 31 through 45 (of 155 total)

  • RE: Rollback or Delete? Which is nore efficient?

    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...

  • RE: Index maintenance

    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...

  • RE: INDEX DISABLE/REBUILD ???

    Bhuvnesh (8/22/2010)


    Jim McLeod (8/22/2010)


    a 5 GB non-clustered index normally requires an extra 5 GB of space in the data file to rebuild it because it doesn't drop the index until...

  • RE: INDEX DISABLE/REBUILD ???

    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...

  • RE: Is command length limited by SQLCommand?

    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...

  • RE: SQL Server 2008 max memory allocation

    TDP (8/13/2010)


    Thanks Paul. I will look into your suggestions.

    Jim, yes, it is the actual setting for the max memory that changed. 🙂 It is also very odd that it was...

  • RE: SQL Server 2008 max memory allocation

    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...

  • RE: SQL Server 2008 max memory allocation

    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...

  • RE: Recording steps when executing a stored procedure

    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....

  • RE: Trace vs Profile

    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....

  • RE: 70-432 exam dump

    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...

  • RE: Issue of COUNT(*)

    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...

  • RE: Installing Management Tools w/o BIDs ?

    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...

  • RE: Windows Server 2008 and Max Server Memory

    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...

  • RE: sqlcmd script on remote server takes 15x longer!?

    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...

Viewing 15 posts - 31 through 45 (of 155 total)