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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Querying data on another db2 server

Status
Not open for further replies.

lawarner

Programmer
May 18, 2007
3
US
We have sort of a OLTP and datawarehouse set up on two different db2 servers. I have written a stored procedure that needs to query data from the other db.

Oracle I do select * from table@servername
SQL Server I select * from servername..table

I know the db2 'servername' from the examples below, but I cannot seem to get the syntax.

Thanks from a very new db2 developer!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top