Shared Top Border

Enterprise Resource
Planning Portal

 

Advertise | Founder BLOG

ERPGenie.COM ABAP Tips and Tricks Database

THE ultimate
ERP website

 

Forums | Vote for us |

Google    Other Search Options

Login

Login to view more content!!!





Lost Password?
No account yet? Register

Registered Access

Poll

What area of ABAP are you interested in?
 
Home arrow Tips and Tricks arrow Connectors / BAPIs arrow Connecting to external database
Connecting to external database PDF Print E-mail
User Rating: / 0
PoorBest 
Written by Pavan   
Thursday, 26 April 2007
How to connect to external database??

Command is

EXEC SQL CONNECT

         [<user_name> IDENTIFIED BY <password> | <uidpwd>]

         AT <session_name>

         USING <database_server-database_name>

         [<connect_option>...] [KEY <key>];

 

<uidpwd> ::= <user_name>/<password>

 

<connect_option> ::= [ISOLATION LEVEL <unsigned_integer>]

                     [TIMEOUT <unsigned_integer>]

 

·        Choose a name for the database name in <session_name>. The only limit on the possible number of parallel database sessions in the SQL mode ORACLE is the maximum possible number of database sessions of the database instances.

 

·        The user name <user_name> and password <password> can also be specified as a character string in a host variable (character or UNICODE data types).

 

·        In <connect_option> you can specify an isolation level and timeout value.

 

·        You can specify the <key> in a host variable with data type char. You can specify an XUSER user key, DEFAULT or the environment variable SQLOPT. For information on setting the connection options at runtime in these environment variables, see your operating system documentation.

 

·        The <key>values complete or override the explicitly specified user name, password, and CONNECT options.

 


Last Updated ( Thursday, 26 April 2007 )
 
< Prev   Next >

Google Search

Statistics

Contribution Activity
Utilities: 38
Tips and Tricks: 334
Sample Code: 166
Total Contributions: 553

Member Activity
Members: 6310 since 2/1/2007!
New: 1 since yesterday!
Visitors: 1184034
We have 2 guests online

Newest Members

Welcome our newest members:

Google Ads

Shared Bottom Border

Contact Us | Polls | Add URL | Contribute | Privacy | Terms | Feedback

Discussion Forum | BLOG | Consultants: Post your resume | Companies: Advertise on ERPGenie.COM | Post Job
Financials Consultant | Consultant Review | Gallia Consulting | Supply Chain Project | SAP Financials Forum
GenieHoldings.COM, Inc. | Genie Press | WorkflowGenie | ESAGenie | ERPTopSites | ABAP Tips and Tricks | SAP Solutions Database

EDIGenie | Searching Survivor