Forum Replies Created

Viewing 15 posts - 16 through 30 (of 188 total)

  • RE: Assigning categories to values 2

    Easier question with lot more information.

    --
    Dineshbabu
    Desire to learn new things..

  • RE: INSERT

    Hugo,

    In this scenario, eventhough if we run both insert statements as single batch, first statement will be executed successfully and we will get error only on second one rite?...

    --
    Dineshbabu
    Desire to learn new things..

  • RE: INSERT

    Hugo Kornelis (5/18/2013)


    sea4stars (5/18/2013)


    Interesting: After I decided on my answer of the first insert running ok, and the second insert failing, I fired up my trusty copy of...

    --
    Dineshbabu
    Desire to learn new things..

  • RE: INSERT

    Earlier I'm aware of Index and constraints will not be transferred to destination table..but about Computed columns i came to know only from this QotD. Thanks kapil.

    --
    Dineshbabu
    Desire to learn new things..

  • RE: REPLICATE

    Danny Ocean (5/22/2013)


    Basic and easy one.:-)

    Thanks for question !!!

    +1

    --
    Dineshbabu
    Desire to learn new things..

  • RE: EXCEPT - 1

    Nice and interesting one..

    --
    Dineshbabu
    Desire to learn new things..

  • RE: CHARINDEX()

    Calibear (5/21/2013)


    Thanks for all the tips. This is my first attempt at a Question of the Day, so I will definitely take all your suggestions into account (including pointing to...

    --
    Dineshbabu
    Desire to learn new things..

  • RE: The Subquery

    Great question..

    --
    Dineshbabu
    Desire to learn new things..

  • RE: Create Table

    Good Information..

    --
    Dineshbabu
    Desire to learn new things..

  • RE: FK to IDENTITY

    nenad-zivkovic (4/24/2013)


    kapil_kk (4/23/2013)


    Hi,

    I was not aware of the fact that after making

    SET IDENTITY_INSERT dbo.Test OFF;

    identity value gets incremented. I am confused now as what is the purpose of...

    --
    Dineshbabu
    Desire to learn new things..

  • RE: Handling NULL

    Kapil good going...

    Good chance to recall return types & Data type precedence of ISNULL,CONVERT & CASE...

    --
    Dineshbabu
    Desire to learn new things..

  • RE: Triggers 1

    Thanks for your reply Hugo.

    Hugo Kornelis (4/19/2013)

    By the way, it's very easy to check this kind of questions for yourself. Just copy the code in SSMS, make changes, and see...

    --
    Dineshbabu
    Desire to learn new things..

  • RE: Triggers 1

    Thanks Hugo..

    If insert statement was within Explicit transaction then even first row will not be inserted and the result of final query will be 0. Am I right?

    Whether XACT_ABORT...

    --
    Dineshbabu
    Desire to learn new things..

  • RE: COUNT() Function

    srienstr (4/18/2013) I find it more useful to get count to ignore certain values using count(nullif(ProviderName,''))

    Nice...

    --
    Dineshbabu
    Desire to learn new things..

  • RE: COUNT() Function

    Hugo Kornelis (4/18/2013)


    Dineshbabu (4/18/2013)


    Is there anyway to make COUNT() to consider even NULL values?? I mean any set options or something like that?

    Yes. Just use COUNT(*).

    Thanks man.. You hit me...

    --
    Dineshbabu
    Desire to learn new things..

Viewing 15 posts - 16 through 30 (of 188 total)