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

Updating multiple columns

Updating multiple columns

Updating multiple columns

Hi There,

I need some helping building an update query in Pervasive SQL Data Manager V8.6

I have two tables, one called INVENTORY, and another called CDN_UPDATES

The tables have the same field names, and data types.

I need to update the records in INVENTORY with the new more current data from all the fields in CDN_UPDATES where the part numbers (CODE column) in both tables match.

There are about 7 fields in this update, eg: price, quantity, description, etc.

Can you help?

RE: Updating multiple columns

What have you tried?  What error (or behavior) are you seeing?

Certified Pervasive Developer
Certified Pervasive Technician

RE: Updating multiple columns

Well, I'm quite new at this, so I have only made a query that can update one field.  Here is what I have.


The problem with my query is that

1) it updated WHOLESALE in every record of INVENTORY, to a ZERO if it doesn't match up the CODE

2) it only updates WHOLESALE, I need to update several more columns than that

RE: Updating multiple columns

I'm not new to SQL, I am just new to Pervasive, in SQL this would be simple, just do an inner join.  Pervasive is very very picky.

RE: Updating multiple columns

Can anyone help me with this?

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