Forum Replies Created

Viewing 15 posts - 76 through 90 (of 145 total)

  • RE: Distinct

    Lokesh Vij (5/6/2013)


    Thanks for the easy one Vinay, after tricky Qotd yesterday 🙂

    +1 nice question....

    Manik
    You cannot get to the top by sitting on your bottom.

  • RE: Identity Insert

    Raghavendra Mudugal (5/3/2013)


    Toreador (5/3/2013)


    Danny Ocean (5/2/2013)


    Most of people don't know about it because it's not in use in any real scenario.

    Sure it is, if the table contains other columns, all...

    Manik
    You cannot get to the top by sitting on your bottom.

  • RE: Table Variable

    nice question...

    Manik
    You cannot get to the top by sitting on your bottom.

  • RE: Sum and Count

    WWDMark (4/18/2013)


    Danny Ocean (4/17/2013)


    kapil_kk (4/17/2013)


    Nice question... learn something new today.. 🙂

    But can anyone plz explain me about the SUM part which is returning 12, I am not clear with this...

    Manik
    You cannot get to the top by sitting on your bottom.

  • RE: Row Constructor

    nice question...

    Manik
    You cannot get to the top by sitting on your bottom.

  • RE: COUNT() Function

    kapil_kk (4/15/2013)


    For the last query:

    select COUNT(convert(int,NULL)) from #temp

    It will return 0 because when you execute the query:

    SELECT CONVERT(int,NULL) it will return NULL and as the return type of COUNT is...

    Manik
    You cannot get to the top by sitting on your bottom.

  • RE: SQL JOINS

    nice question... very simple....

    Manik
    You cannot get to the top by sitting on your bottom.

  • RE: DateTime data types

    Primo Dang (4/11/2013)


    Got it right by elimination. There is no way a NULL value would be converted to an actual date (as far as I know, at least), so that...

    Manik
    You cannot get to the top by sitting on your bottom.

  • RE: TRIGGERS

    Danny Ocean (4/9/2013)


    Hugo Kornelis (4/9/2013)


    Danny Ocean (4/9/2013)


    BUT statement 6 (ID 4 & 5) execute successfully and inserted two rows in table. In this we are using UNION ALL.

    How it's possible...

    Manik
    You cannot get to the top by sitting on your bottom.

  • RE: Identity Columns

    SQLRNNR (4/9/2013)


    good question

    +1

    Manik
    You cannot get to the top by sitting on your bottom.

  • RE: ISNUMERIC

    kapil_kk (4/8/2013)


    Hugo Kornelis (4/8/2013)


    kapil_kk (4/8/2013)


    For the first part I understand the behavior but am still confused with the SELECT ISNUMERIC('.+') -- Returns 0 behavior 🙁

    The . actually represents 0.0, with...

    Manik
    You cannot get to the top by sitting on your bottom.

  • RE: Passing Tables as Parameters

    Dineshbabu (4/1/2013)


    Nice question.

    +1

    Manik

    Go Fast As Possible...

    Manik
    You cannot get to the top by sitting on your bottom.

  • RE: LEFT JOIN

    nice question....

    manik

    Go Fast As Possible

    Manik
    You cannot get to the top by sitting on your bottom.

  • RE: LEN()

    Hugo Kornelis (4/2/2013)


    Dineshbabu (4/1/2013)


    Thanks Hugo,

    I have one more doubt, will ANSI_PADDING set option affects the datastorage?

    No and yes.

    No, because the working of LEN and DATA_LENGTH are not affected by this...

    Manik
    You cannot get to the top by sitting on your bottom.

  • RE: LEN()

    Hugo Kornelis (4/1/2013)


    Dineshbabu (4/1/2013)


    If somebody explains the difference b/w Datalength() & Len() in this thread will be useful.

    Datalength returns the amount of bytes that would be used on disk for...

    Manik
    You cannot get to the top by sitting on your bottom.

Viewing 15 posts - 76 through 90 (of 145 total)