Forum Replies Created

Viewing 15 posts - 166 through 180 (of 191 total)

  • RE: How long is a NULL?

    Wow, that is just bizarre. I wouldn't have called that in a million years, and I don't feel the least bit bad about getting it wrong. Great question!

  • RE: Counting spaces

    Steve Jones - Editor (12/7/2009)


    nice question, got me as well.

    You just made my day, Mr. Jones. 😀

  • RE: Counting spaces

    rcavill (12/7/2009)


    You need the option

    Must declare the scalar variable "@Dec".

    When running on a Case Sensitive collation.

    Once that select statement on line 2 is adjusted then it would work.

    ------

    Robert

    I didn't even...

  • RE: ISNUMERIC() and REPLICATE()

    I would be happy to correct the explanation but I can find no means of doing so. I assume this ability is restricted to administrators, or else it is...

  • RE: ^ : T-SQL

    daniel.gardiner (11/20/2009)


    I answered correctly but didn't get the point, the answer page tells me that the correct selection is '1' because 'Joe' is the only match (which is the fourth...

  • RE: ^ : T-SQL

    I got tripped up on the fact that the string didn't end with %. So I answered the question for 'Jo[^n]%' instead of 'Jo[^n]'. Oops.

  • RE: Cast as datetime question

    chrisn-585491 (11/18/2009)


    This doesn't work in SQL Server 2005 TSQL , end up with an a Msg 1305...

    Works perfectly for me in 2005.

  • RE: Cast as datetime question

    A neat question, but since I didn't see a reason for any of the implicit conversions not to work, I assumed the one datetime value on the list had to...

  • RE: Latitude, Longitude and the nautical Mile

    Sure, spatial data is useful... so are duct tape, lawn mowers, and pinking shears -- none of which have anything to do with SQL Server. Parshv's question stands.

  • RE: replicate

    Bob Bobbity (10/8/2009)


    If you'd given me the 18003 option, I'd have taken it

    Me too, I wouldn't have given it a second's thought. Good question!

    Ron Moses

  • RE: DDL or DML

    It was such a simple question I psyched myself out and assumed it must be a trick. I figured if the answer was DML, the question was too basic...

  • RE: cast, convert and float!

    I also missed the assignment back to the int variable. Oops. It would have been an obvious answer if only I'd paid better attention.

    SELECTing into a variable is...

  • RE: Twenty tips to write a good stored procedure

    ta.bu.shi.da.yu (8/10/2009)


    vetri (8/10/2009)


    Hi,

    I tried with these two statements but the second one is not get executing and it says "Incorrect syntax near the keyword 'exists'." What wrong...

  • RE: Twenty tips to write a good stored procedure

    10. WHERE clauses - In a WHERE clause, the various operators used directly affect how fast a query can run. Here are the conditional operators used in the WHERE clause,...

  • RE: Conversion Fun

    Dang it, I knew that was the answer and didn't pick it. That seemed like the obvious "otherwise, why would I ask the question?" answer. But no, I...

Viewing 15 posts - 166 through 180 (of 191 total)