Link to home
Start Free TrialLog in
Avatar of MrSmith
MrSmith

asked on

Linking to a Pervasive DB

We have to DBs that I would like to link togther. One is a Timberline DB in Pervasive, and the other is a Goldmine DB in MS SQL. Could any one point me to or post information on how to link the two together. I have looked around a bit, and can not find anything solid.

Is it possible to do this in a stored procedure?

Thanks

MrSmith
Avatar of andrewbleakley
andrewbleakley
Flag of Australia image

Create a Linked Server in SQL Server pointing to the Pervasive database.

Depending on what you mean by "link" you will then be able to query both or pull pertenant data from each into a seperate SQL database

See "Linked Server" in SQL Books on line (or search EE for lots of help with it)
ASKER CERTIFIED SOLUTION
Avatar of TommyTupa
TommyTupa

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MrSmith
MrSmith

ASKER

For the time being, about a year or so, I know there will not be very much intensive flow between the two servers. Just want to use it in one report right now. Dynamic would be the best. I will dig into the Linked Server idea first.

Thanks

Smith
Avatar of MrSmith

ASKER

After looking at the Goldmine database structure and what not, it looks like a stored procedure is going to have to be the solution. Goldmine stores custom field values in a single table, along with other custom field values and gives each value a link to the related custom field.

I will have to create a stored procedure to not only pull the data from Pervasive, but then put it into this custome field value table.

A spin off question would be that can you have a stored procedure run at certain times? Or does it have to be a DTS?
Stored procedures can be run at pre-set times as jobs.  Or they can be called from triggers.
Avatar of MrSmith

ASKER

Thanks for all the help!