Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pervasive 9.5 Query Across Servers

Status
Not open for further replies.

mcbeth352001

Technical User
Jul 13, 2006
15
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.
 
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
 
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.

 
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
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top