Forum Replies Created

Viewing 15 posts - 5,491 through 5,505 (of 5,590 total)

  • RE: Trouble with a Select and Group By

    Bob Hovious (2/22/2009)


    When dealing with CTE's, keep in mind that you aren't really specifying a sequence of steps, it just reads that way. The optimizer treats it...

  • RE: Database Roles

    I also fell into the typo trap. So I post to get my point anyway...

  • RE: Trouble converting cursor to CTE

    noeld (2/3/2009)


    Why are you using CTE at all ?

    I had mentioned:

    The @tmpTbl variable has data that I'm using to get the results. In the proc, it's actually a select statement...

  • RE: Image is Everything

    Aaron N. Cutshall (1/9/2009)


    In short, there is no correct answer other than "it depends."

    How often do we hear that in our profession?

  • RE: Transaction log growth with no db activity

    PaulB (1/2/2009)


    WayneS (1/1/2009)The differential backups are taking about 1-2 seconds, even at the end of the day. This way, I would only need to restore, at most, from 2 backup...

  • RE: Transaction log growth with no db activity

    Michael Valentine Jones (1/1/2009)


    A better backup strategy would be to eliminate the differential backups and run transaction log backups every 15 minutes 24x7.

    My thought process is that if I did...

  • RE: Transaction log growth with no db activity

    MANU (1/1/2009)


    Are you sure there is nothing else happening in database over that time? Run profiler for tht time and track what's causing the growth.

    MJ

    The office was closed over the...

  • RE: How do you specify Excel columns with spaces when using OpenRowSet?

    Thanks. I had tried this, and it didn't work. But it's working now for me.

  • RE: Automating Excel from SQL Server

    DiverKas (12/9/2008)


    A better solution would be to use Crystal, ActiveReports or any other tool that does not require Excel, to export and format the data in an Excel format. ...

  • RE: Automating Excel from SQL Server

    sammesel (12/8/2008)


    I saw it, and I actuallly ran the code (had to do minor adjustments due case-sensitivity of my SQL installation here). But the code does not retrieve data from...

  • RE: Automating Excel from SQL Server

    sammesel (12/8/2008)


    Nice article, but I'd like to see how to actually work with data, i.e. retrieving data from a table or set of tables - or calling a SP to...

  • RE: Automating Excel from SQL Server

    Jeff Moden (12/6/2008)


    Nice article... I love it when things like this are well laid out and to the point. They key here is not whether some of the "religion"...

  • RE: Automating Excel from SQL Server

    The third block of code has a typo:

    change the last word to OUTPUT (not OUTUT)

  • RE: Automating Excel from SQL Server

    Hey all, don't forget to check out the references in the article. I included a sql script that makes a bunch of stored procedures for handling different aspects of Excel...

  • RE: Automating Excel from SQL Server

    Ed (12/5/2008)


    If I wanted to do this kind of thing server-side I too would look at a server grade component like SA Excelwriter.

    With MS Excel, I think if you...

Viewing 15 posts - 5,491 through 5,505 (of 5,590 total)