Forum Replies Created

Viewing 15 posts - 1,246 through 1,260 (of 6,486 total)

  • RE: Float user-defined function losing its sign

    Change your function's variable declaration to use NVARCHAR, and not Varchar.

  • RE: Sql query Output in XML format

    Lutz just brought up a good point: if this is your presentation format, do NOT convert it back to the XML data type (it will strip out the XML...

  • RE: Sql query Output in XML format

    lsurapaneni (12/22/2010)


    Thank you so much Wayne.

    I tried your solution, but I am not getting the below 3 lines of code in my output:

    <?xml version = "1.0" encoding="UTF-8" ?>

    <!DOCTYPE empload...

  • RE: DateDiff on Consecutive Rows

    SQLkiwi (12/20/2010)


    Wildcat (12/20/2010)


    How could a NOLOCK hint to the target table on the DELETE or UPDATE statement? Make no sense to me.

    Precisely. It's just an oversight in the parser:

    --...

  • RE: DateDiff on Consecutive Rows

    Wildcat (12/20/2010)


    That is for DELETE or UPDATE statement, not for the SELECT.

    BTW, how could a NOLOCK hint to the target table on the DELETE or UPDATE statement? Make no sense...

  • RE: DateDiff on Consecutive Rows

    bhutchin (12/20/2010)


    What are you slapping hints all over the code? ( Answer: I use comments to help clarify)

    The "hints" he is referring to would be the (nolock) query hints throughout...

  • RE: We Are Not a Meritocracy

    Jeff Moden (12/14/2010)


    I'll take both, please. You've got to know your stuff and be able to work with people to get the job done. Well... unless you're flippin' your...

  • RE: Can SQL Server accept / refuse a connection by IP?

    roger-733473 (12/15/2010)


    so no security issues then

    Malcolm's reference to a man in the middle attack is a huge security issue. Not being able to control or block alternate protocols...

  • RE: Can SQL Server accept / refuse a connection by IP?

    Malcolm Daughtree (12/14/2010)


    roger-733473 (12/14/2010)


    perhaps somebody who knows what they are talking about can explain which specific security failings of SQL Server make it unsuitable for use as a firewall

    Been doin'...

  • RE: Can SQL Server accept / refuse a connection by IP?

    Lowell (12/11/2010)


    Malcolm Daughtree (12/10/2010)


    Uhhh. Because it's a SQL server NOT a firewall. What Idiot would expose a SQL server to the wilds of the internet for it to...

  • RE: Star Wars

    Steve Jones - SSC Editor (12/8/2010)


    Richard.Westhaver (12/7/2010)


    Wait until he hits 12. He'll be wishing he was anakin, I know I do:-D

    Well I still wish I was Ben Kenobi. The...

  • RE: Star Wars

    Richard.Westhaver (12/6/2010)


    Was it playing while you were over the Atlantic?

    🙂

    yep!

    Nothing like going to the beach the following year and asking my parents:

    "Is that the same ocean where the shark is...

  • RE: Star Wars

    Richard.Westhaver (12/6/2010)


    Sorry, have to add my 2 cents in on this. I'm dating myself when i say this, I was about 7 when we went to the...

  • RE: Are the posted questions getting worse?

    Stefan Krzywicki (12/6/2010)


    Kit G (12/6/2010)


    Steve Jones - SSC Editor (12/6/2010)


    ... It's actually impossible to get a real person at google.

    Ah ha! I knew it! Google is run by...

  • RE: Coding With Music

    Jason Marshall (12/3/2010)


    Recently a new group moved across the aisle from us, and they're on calls all day (one with an unbelievably annoying voice), so I started bringing my MP3...

Viewing 15 posts - 1,246 through 1,260 (of 6,486 total)