Reputation: 1121
We just acquired a company that has some apps running on Progress. We're a Microsoft shop and need to query the data from SQL Server (in the short term). We have the following ODBC drivers installed on SQL Server, but they don't show up when I try to add a link server, or as a provider under linked servers:
32-bit
64-bit
When I go to Linked Servers, I see this. I've never done anything with providers, so not sure if I need to add something.
The IT Guy there connects in VB.net using a connection string like this, but never got SQL to connect:
Driver={Progress OpenEdge 10.2B Driver};uid=USERNAME;host=HOSTNAME;db=DBNAME;port=2701;pwd=!PASSWORD
I tried using this as a connection string, but no luck.
Anyone know how to do this?
Thanks
Mark
Upvotes: 0
Views: 4021
Reputation: 19235
It's an ODBC driver, so focus on Microsoft OLE DB for ODBC Drivers
Here's an example for a DSN (Data Source Name) called 'Service Now'. That could be any database, probably not Progress, but a DSN is DSN.
http://wiki.servicenow.com/index.php?title=Using_ODBC_Driver_in_SQL_Server_2008_and_2012
Create a DSN (in the system DSN tab of ODBCAD32) for your Progress database and reference it as in these examples.
Of course the bitness of your DSN needs to match the bitness of your SQL Server.
WARNING:
Using linked servers over unreliable ODBC drivers will give you headaches. You should test this thoroughly and be aware that in many cases if you, for example, join two tables over a linked sever, all of the data from the two tables will be dragged over and joined on the SQL Server. You can use OpenRowset
to alleviate this as it lets you write pass through queries over a linked server.
You need to ensure that this really is a temporary measure!
Upvotes: 1
Reputation: 3251
Try this entry from the Progress Knowledgebase - http://knowledgebase.progress.com/articles/Article/P97292
If this doesn't suit, then you can search the KB for other options.
Upvotes: 1