×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

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

Pervasive 9.5 Query Across Servers

Pervasive 9.5 Query Across Servers

Pervasive 9.5 Query Across Servers

(OP)
I am running Pervasive version 9.5.  Does Anyone know how to run a query that can select data from two or more servers?

Thanks.

RE: Pervasive 9.5 Query Across Servers

A few questions:
1. Is PSQL running on both servers?   
2. Where are you trying to run the query from (Client or server)?
3. What tool/interface are you using to issue the query?
4. What exactly are you trying to accomplish?  

Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
http://www.mirtheil.com

RE: Pervasive 9.5 Query Across Servers

(OP)
1) Yes PSQL is running on both servers.
2) I'm running it from a client
3) right now I'm using the Pervasive SQL Control Center (not to get off topic but if you could recommend a better interface please do)
4) The goal.  we have a development system where I customized screen designs.  Once the design is complete I want to be able to do a select out of the development table that has my changes and update or append to the production.

The reason we want to be able to do it this way is b/c we have many remote sites on our WAN that I will have to update

I have also tried database compare tools that will look at two tables and create a script to sync them.  But, they error out when using the Pervasive ODBC drive saying "There is no data in the table to compare".  Yet it works just fine on MS SQL2000 server.

I appreciate you help.

RE: Pervasive 9.5 Query Across Servers

If you are accessing remote servers in both cases, you might be able to make it work.  You would need to create Client DSNs pointing to both servers and then from the tool of choice, access those client DSNs.  I haven't tried it as I only have one server right now.  You would need to use syntax something like:
SELECT * FROM DB1.Table1, DB2.Table2
As far as another tool, I personally prefer ODBC Test from the Microsoft SDK.  It's a light weight tool for issuing queries.
I haven't tried any database comparison tools.  Which ones have you tried?
 

Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
http://www.mirtheil.com

RE: Pervasive 9.5 Query Across Servers

(OP)
DB Explorer - which isn't very user friendly
Database Comparer - I like it a lot.  it's intuitive to use if you have any sql and ODBC experience at all.

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