Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

simple sql syntax

Former Member
0 Likes
412

hi.

I'd like to use external server's tables.

and DB connection has made.

but I don't know how to specify external table on sql in 'from' blank.

suppose oracle sid is "oracle1" and target table is "t_table".

how to make simple select SQL query?

if not possible specify target table with that name what other information need to be known?

data :aaa type string.

EXEC SQL select field1 into :aaa from ENDEXEC.

Thank you in advance

park.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
381

SELECT * FROM ZTABLE INTO TABLE ITAB CONNECTION CON_NAME.

2 REPLIES 2
Read only

Former Member
0 Likes
382

SELECT * FROM ZTABLE INTO TABLE ITAB CONNECTION CON_NAME.

Read only

0 Likes
381

thanks

but external server is not SAP server so there is NO ordinary connection name

DB connection is made by unix parameter

anyway I only can use native SQL not open SQL.

I know external server's oracle SID and target table name. in that situation how to specify non-sap server's table to 'from' of native SQL query?