Forum Replies Created

Viewing 15 posts - 511 through 525 (of 551 total)

  • RE: Inserts

    Got it right after a lot thinking, cause I looked the question wrongly. I saw 1000, 8060 and 65365 all of a sudden I took the data type in to...

  • RE: concatenation

    Thanks for the good question. πŸ™‚

    wish to see more like this.

    (I guess this depends on the initial type of the data which in the first position.

    For this "select '130'+'120'+1" it...

  • RE: SELECT INTO SQL2K8 from SQL2K

    SomewhereSomehow (8/7/2012)


    Be sure on what server and db do you execute "select ... into" query. Also specify schema like "select ... into dbo.MyTable...".

    After that, when you want to query created...

  • RE: SQL Jokes & Riddles!!!

    Alex Fekken (7/18/2012)


    "It is so frustrating: every table that I date turns out to be a relation."

    πŸ˜€

    P1: Wanna DATE?

    P2: Which format?

  • RE: Commenting in Dynamic query

    Hello; nice question indeed.:-)

    The below code which I have copied/written from the QotD email which I received today and this gives me the result as "1,error error, error" due to...

  • RE: Combining union and union all

    R.P.Rozema (3/8/2012)


    Raghavendra Mudugal (3/8/2012)


    (from next time rather converting to image, it will be better to paste the exact SQL)

    Actually no. The code was intentionally presented as a picture for 2...

  • RE: Combining union and union all

    Nice.

    (from next time rather converting to image, it will be better to paste the exact SQL)

  • RE: MSDB Tables/Views

    Nils Gustav StrΓ₯bΓΈ (3/6/2012)


    Hugo Kornelis (3/6/2012)


    Nils Gustav StrΓ₯bΓΈ (3/6/2012)


    And here comes the first complaint of the day (sorry) πŸ˜›

    So this view properly implements row-level security, allowing a "normal" user to...

  • RE: MSDB Tables/Views

    thats the whole point.

    not sure why this is an issue? as a end user can't go and query the MSDB on the table you have mentioned.

    And such task are mainly...

  • RE: MSDB Tables/Views

    mine mine mine the one is mine. πŸ™‚

  • RE: Not In

    sknox (3/1/2012)


    hamid_exe2007 (3/1/2012)


    Because the ANSI_NULLS is on, if you set it off , it will show and work

    If you set ANSI_NULLS off, your code will be incompatible with current standards...

  • RE: Not In

    hamid_exe2007 (3/1/2012)


    Because the ANSI_NULLS is on, if you set it off , it will show and work

    Awesome πŸ™‚

  • RE: Not In

    Woooohooooo 1 is mine today. πŸ™‚

    SELECT ID, Name FROM

    (

    SELECT 1 AS ID, 'Active' AS name

    UNION ALL

    SELECT 2, 'Active'

    UNION ALL

    SELECT 3, 'InActive'

    UNION ALL

    SELECT 4, NULL

    UNION ALL

    SELECT 5, 'Idle'

    UNION...

  • RE: Arithmetic 1

    It gives me this error on the 2nd block

    Msg 8117, Level 16, State 1, Line 3

    Operand data type char is invalid for multiply operator.

    I guess E stands for ERROR?

  • RE: Table Value Constructor 1

    (sorry for cheating) but I really don't get it πŸ™

    (by the way the question is really cool, i know remember one requirement which I had on the similar thing where...

Viewing 15 posts - 511 through 525 (of 551 total)