Forum Replies Created

Viewing 15 posts - 1,291 through 1,305 (of 1,518 total)

  • RE: CLR Code to run Generic Command Prompt Commands

    Jeff Moden (3/31/2008)Proxy account to run reviewed stored procedures is going to be a lot easier on the DBA than trying to review some other source code written in a...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Fatal Error encountered while applying SQL 2005 SP2

    I would suggest that you:

    - Read the sp2-install readme file carefully. Incomplete though it may be, it is still a must.

    - Install in the default installation location

    - Prior to the...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Fatal Error encountered while applying SQL 2005 SP2

    I've run into all sorts of issues when deviating from the default installation location of SQL Server and now splitting the data and log files of a system db into...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Fatal Error encountered while applying SQL 2005 SP2

    No problem! 🙂

    MS really should add this info to their README file for the SP2 install. Having data and log files in the same location is against their best...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Fatal Error encountered while applying SQL 2005 SP2

    I think we have found the problem. The data and log files of the resource db are not in the same location:

    You cannot install SQL Server 2005 Service Pack 2...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: When to use a cursor

    Buxton69 (3/31/2008)


    Could you point me toward a good resource for examples of code without using cursors, I have some examples where you load a select statement into a temp table...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: CLR Code to run Generic Command Prompt Commands

    It's tough.

    I have been trying to enforce this new initiative of leaving xp_cmdshell turned off on all our SQL Server 2005 instances and using SQL CLR instead. But there is...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: CLR Code to run Generic Command Prompt Commands

    All great ideas Todd. I need to read up more on these issues, esp. how to code access security into my SQL CLR code. Lots to learn and you've opened...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: CLR Code to run Generic Command Prompt Commands

    Thanks all for your input.

    Yes, it's true that by trying to replace xp_cmdshell with SQL CLR code that is just as generic opens the door to even more security-related issues.

    I...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Procedure Cache Hit Rate is Low - Need Advice

    From http://support.microsoft.com/kb/263889:

    If an owner-qualified procedure is executed with a different case than what the owner-qualified procedure was created as, the owner-qualified procedure can get a CacheMiss or request a COMPILE...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: When to use a cursor

    I should add that DBAs - myself included 🙂 - probably tend to overuse cursors in our every day work.

    As Jason mentioned, as long as it does not impact server...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: When to use a cursor

    cjudge (3/28/2008)


    In a previous post (http://www.sqlservercentral.com/Forums/Topic475089-338-1.aspx), I asked about preferred syntax for coding a cursor-traversing loop. Most of the replies strongly disparaged the use of cursors.

    So, for the edification...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Running SELECT Query and Sprocs same dataset

    Also, is your parameter an int or string type. If the latter, you will have to take quotes into account, like this:

    ="SELECT * FROM Employees; EXEC dbo.insert_into_table_Sprocs @parameter='" & Parameters!XXX.Value...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Running SELECT Query and Sprocs same dataset

    lalonacademy (3/28/2008)


    I should have this in a command type text or as an expression?? You have a "=". By the way the I have named list in the...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Fatal Error encountered while applying SQL 2005 SP2

    We followed the recommendations on that link and tried re-applying the SP, but no luck.

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

Viewing 15 posts - 1,291 through 1,305 (of 1,518 total)