Forum Replies Created

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

  • RE: Replace a Cursor

    Eugene Elutin (7/3/2014)


    Since @CompanyName is also part of the table name it would be easy to leverage sys.objects to see if that table exists.

    ...

    or use OBJECTPROPERTY function.

    ...

    Sean and Eugene...

  • RE: Replace a Cursor

    ksrikanth77 (7/2/2014)


    Hi James

    I am not getting any result or any error when I execute the second query

    It produces what I expect on my database. Try replacing the EXEC with PRINT...

  • RE: Replace a Cursor

    First, you might ask if you really need to replace the cursor. Are there so many company records that it makes a significant difference in comparison to the time it...

  • RE: Combine data into one row

    I'm new to the forum as well, but I've been SQLing a while. I hope that I can be of some help.

    Looking at your desired result, I don't see the...

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