Forum Replies Created

Viewing 15 posts - 7,381 through 7,395 (of 8,753 total)

  • RE: TSQL to create Excel 2013 file

    vinu512 (8/24/2014)


    LutzM (8/24/2014)


    What permission does the user have who's running that code?

    Based on MS Technet

    Only members of the sysadmin fixed server role can execute sp_OASetProperty.

    If you're not a member of...

  • RE: PIVOT

    Since you wrote such a long post Tom, I guess you really got it wrong:-P

    😎

    BTW thanks for the question Steve.

  • RE: TSQL to create Excel 2013 file

    vinu512 (8/24/2014)


    Eirikur Eiriksson (8/24/2014)


    vinu512 (8/24/2014)


    Eirikur Eiriksson (8/24/2014)


    Further on Lutz's question, what is the output of the code in your initial post? Note that all the sp_OA* procedure return 0 if...

  • RE: comlex query (order time record changes)

    Here is a quick code demonstrating the grouping of the set, not a solution but should get you started. BTW, Itzik Ben-Gan and Dwain Camps have written excellent articles on...

  • RE: Query Help

    JackTimber (8/24/2014)


    Hi Eirikur ,

    Actually i was trying at my end and due to slow internet connectivity downtown, i was not able reply to you.

    Thanks for the solution :-).

    I got a...

  • RE: TSQL to create Excel 2013 file

    vinu512 (8/24/2014)


    Eirikur Eiriksson (8/24/2014)


    Further on Lutz's question, what is the output of the code in your initial post? Note that all the sp_OA* procedure return 0 if successful, otherwise a...

  • RE: TSQL to create Excel 2013 file

    Further on Lutz's question, what is the output of the code in your initial post? Note that all the sp_OA* procedure return 0 if successful, otherwise a non-zero value.

    😎

  • RE: TSQL to create Excel 2013 file

    Quick thought, looks to me that the only thing missing is to enable Ole Automation Procedures

    😎

    Enable Ole Automation Procedures in T-SQL

    sp_configure 'show advanced options', 1;

    GO

    RECONFIGURE;

    GO

    sp_configure 'Ole Automation Procedures', 1;

    GO

    RECONFIGURE;

    GO

  • RE: Help Needed in Group by

    Good job with the data sample. I wouldn't be too concerned about the size of the SP code, the main concern is to get it working;-)

    The following code toggles between...

  • RE: could use some help doing a simple update and/or delete

    jkurzner (8/23/2014)


    It's used for a sports league website. The table that keeps track of email communication was the one that had an issue.

    So the heavy handed single user mode...

  • RE: Rebuild Index Job fails after running for 10 hours and after completing 80%.

    SQLisAwE5OmE (8/23/2014)


    It's 2008r2, enterprise edition on Windows 2008.

    Are you using the ONLINE option? If you are, the additional resources required might be part of the problem. If not, in might...

  • RE: HOW TO VERIFY MY SQLSERVER IS ONLINE OR NOT

    Lynn Pettis (8/23/2014)


    Eirikur Eiriksson (8/23/2014)


    rajeshjaiswalraj (8/23/2014)


    I HAVE TO WRITE ONE STORE PROCEDURE THAT EVERY MIN IT HAS TO CHECK MY SQL INSTANCE IS UP AND RUNNING IF NOT IT HAS...

  • RE: Query Help

    Jeff Moden (8/23/2014)


    That's some very nice modularized code.

    I am striving to maintain the readability of my code;-)

    My concern at this point would be the 4 table scans rather than...

  • RE: Question regarding the difference between two different ways to populate a new table in TSQL

    Jeff Moden (8/23/2014)


    DAs don't actually need to know how to write a lick of code, never mind high performance code, to do their jobs correctly.

    Hmm???

    😎

    BTW +100 for the soapbox...

  • RE: could use some help doing a simple update and/or delete

    Out of plain curiosity, what is this database used for?

    😎

Viewing 15 posts - 7,381 through 7,395 (of 8,753 total)