Forum Replies Created

Viewing 15 posts - 316 through 330 (of 584 total)

  • RE: Commenting in Dynamic query

    rVadim (8/7/2012)


    tommyh (8/6/2012)


    So here i was thinking this was a rewrite of the question we had 2 questions ago, since this question had the varchar(50) on str4 which would have...

  • RE: Index types 1

    BrainDonor (8/6/2012)


    The detailed disclaimer made me laugh - trying to pre-empt any complaints?

    I don't blame him. I've decided I'll have to retain an attorney before I do another QotD. 🙂

    Thanks,...

  • RE: Commenting in Dynamic query

    Thomas Abraham (8/3/2012)


    LadyRuna (8/3/2012)


    The only way I could get it to return data was to change from

    Execute @str1

    to

    execute sp_Executesql @str1

    I believe that Execute (@str1) is what you should use....

  • RE: Commenting in Dynamic query

    LadyRuna (8/3/2012)


    The only way I could get it to return data was to change from

    Execute @str1

    to

    execute sp_Executesql @str1

    I believe that Execute (@str1) is what you should use. I note...

  • RE: Commenting in Dynamic query

    Koen Verbeeck (8/3/2012)


    Indeed, the correct answer is 1,0,1,error, because the last query produces a syntax error. Shame, because it was a pretty good question otherwise.

    Points back please 🙂

    Picked my answer,...

  • RE: The Copy Cat Poll

    1 instance of production database, 3 test databases - one full copy for each developer - taken as rotating snapshots of the production database.

  • RE: DATETIME 2

    mtassin (8/2/2012)


    Thanks for making me think... I had to sit there and keep reminding myself how the datetime2 values would round and then tried to keep two mental counts (statement...

  • RE: SQL Server 2008 and XML

    Thanks for submitting the question. But, my general reaction amounted to a yawn. Your focus on case made the question seem even less interesting. Also, if you use a screen...

  • RE: Backup Compression

    (Bob Brown) (7/31/2012)


    Easy question but I have to learn to read. I picked the one that it wouldn't work on not the 5 it would. I...

  • RE: Primary Keys

    Jeff Moden (7/30/2012)


    I was pretty sure of the answer but went to check just to be absolutely sure because I've never gotten close to the limit. It just absolutely...

  • RE: "Question of the Day" is about:

    Andre Ranieri (7/27/2012)


    Is this question relevant to SQL 2012 or also SQL 2008 R2 and SQL 2005 as well? I couldn't find the related version info on BOL.

    Just kidding folks....

  • RE: "Question of the Day" is about:

    ibar, thanks for something different. When I read all the answers, and gave some thought as to why you had posted this question, I selected the correct answer. As of...

  • RE: Rename column

    Thanks for the interesting question. Once again, it's nice to see the newer site members getting involved in the QotD.

  • RE: Order of Execution

    Thanks kranthi1.aprdc for the question. I see you are relatively new to the site. So good to see you jumping in with a QotD contribution. As others have suggested, this...

  • RE: Literal Dates

    Thanks for the question Mark! I got the right answer for the wrong reason, so I benefited doubly from the question - got rid of bad data and replaced it...

Viewing 15 posts - 316 through 330 (of 584 total)