Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)

  • RE: Variables in stored procedures

    Let me see if I understand your problem. You are trying to do a dynamic SELECT statement and you are putting a column name inside of the variable to complete your...

  • RE: Traping SQL returning errors

    You can try to do something like this:

    If exists(select * from table where key = @key)

    insert into table (key,...)

    values (@key,...)

    else

    return -1

    ...

Viewing 2 posts - 1 through 2 (of 2 total)