Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Sybase 12.5 and Dynamic SQL

Sybase 12.5 and Dynamic SQL

Sybase 12.5 and Dynamic SQL

Hi all, this is the fist time to post here.
I have a problem and want to ask about and if there is a solution.

I built a stored procedure to do the following:
1- I have a physical indexed table A, and another physical table B
2- a built a dynamic SQL inside the stored procedure to read from table A some information and insert it to table B and do some update actions on table B, then get the result from table and delete the inserted records of table B.

the problem is, all actions go on the right way except for deleting from table B, in spite of deleting from table B without where condition. all rows of table B still exist.

RE: Sybase 12.5 and Dynamic SQL

can you please post the code snippet you wrote ?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close