Quantcast
Channel: SCN: Message List - SAP on Oracle
Viewing all articles
Browse latest Browse all 5847

Re: How to run a select against multiple databases

$
0
0

Hello

 

Database link is a good technique for running a query against multiple database, but you will need to statically define the DB you want to access.

 

Best regards

 

CREATEDATABASELINKdev_linkCONNECTTOsystemIDENTIFIEDBY password

USING'(DESCRIPTION =  (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST =sapdev)(PORT = 1527)) ) (CONNECT_DATA = (SID = DEV) ) )';

select * from sapsr3.REORGJOBS@dev_link;

drop database link  dev_link;

 

 

25383 - Database links, synonyms, remote DB


Viewing all articles
Browse latest Browse all 5847

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>