Forum Replies Created

Viewing 15 posts - 3,571 through 3,585 (of 7,484 total)

  • RE: Triggers 1

    Raghavendra Mudugal (4/19/2013)


    Good one; thank you for posting.

    (the word "attempt" confused me and I executed one after the other insert statement and as I imagined, it must returned 3, and...

  • RE: films database (yeah, yeah, hear me out!)

    autoexcrement (4/18/2013)


    Thanks, I love your replies. 🙂 Few questions, if you have time...

    1) What do you mean by suggesting triggers on the view? I didn't know triggers could have anything...

  • RE: Triggers 1

    Good question, and an excellent explanation apart from the point raised by Christian. I don't think the comments are misleading, it is pretty common for a comment to be...

  • RE: films database (yeah, yeah, hear me out!)

    autoexcrement (4/18/2013)


    Thanks for weighing in. My concern is just that if I create a "master" record in "people" and use their "real name" in that table, what's to prevent that...

  • RE: sql datatype convertion error??

    prathibha_aviator (4/18/2013)


    Seraj Alam-256815 (4/18/2013)


    Yes, only else part will execute as the condition is not true. What is confusion? do you think 0=1 is correct?

    My requirement is to

    -Get the value stored...

  • RE: Are the posted questions getting worse?

    patrickmcginnis59 10839 (4/18/2013)


    dbursey (4/18/2013)


    From the other side of the fence - I've asked questions here and got ripped a new one because I didn't provide actual examples - sometimes it's...

  • RE: Row Constructor

    Looks as if there was a good idea but it was rather poorly executed. The query won't return 3 rows each with 1 column, but 6 rows each with...

  • RE: Create DML trigger for single table in SQL 2008 and send email alert to group

    krishnavenkat16 (4/16/2013)


    Hey Tom,

    Here what i'm getting....

    for insert...new records are logged - with this requester can know what record is inserted

    for update....old records are logged - with this Requester will know...

  • RE: Why doesn’t ISNUMERIC work correctly? (SQL Spackle)

    mark.gilbert (4/16/2013)


    I love this article, but I'm bothered by the following scenario...

    Do you think a zero length string contains a character which isn't in 0 to 9? Or that...

  • RE: Are the posted questions getting worse?

    Lowell (4/16/2013)


    unlike all of you guys who completed all their tax paperwork in January and already got your refunds back, my yesterday was

    non stop juggling of funds so I could...

  • RE: Create DML trigger for single table in SQL 2008 and send email alert to group

    krishnavenkat16 (4/16/2013)


    Thanks Steve,Lowell,L'eomot for your help and patience ....script is working fine now....i'm posting the entire script for people who might need it in future....

    Actually with that code you are...

  • RE: COUNT() Function

    Rose Bud (4/16/2013)


    I thought the original poster's explanation was great: I found it very simple to understand and I liked the way each count statement was addressed individually.

    The problem...

  • RE: Create DML trigger for single table in SQL 2008 and send email alert to group

    krishnavenkat16 (4/16/2013)


    ....but the requester is looking for old item i mean records before the update...

    You commented the code that does that out:

    if @optype = 2 --or @optype = 3

    the...

  • RE: COUNT() Function

    Nice question, but as only one list of values ended with 0 it was easy to get the answer without checking anything else, so much easier than it looked at...

  • RE: Create DML trigger for single table in SQL 2008 and send email alert to group

    As welll as what Lowell says, you need to distinguish between the three possible causes of entering the trigger: Insert, update, and delete. Also, if you are signalling unexpected...

Viewing 15 posts - 3,571 through 3,585 (of 7,484 total)