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

open sql - multiple tables in FROM

Former Member
0 Likes
607

Hello,

Is it possible to do the following in open SQL:

select a~somefield from tableA as a, tableB as B

where akeyfield = bkeyfield.

Or is it a must to use joins when selecting date from multiple tables?

Kind regards,

J.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
537

Hi Joren,

1. This kind of syntax is fine in oracle.

2. But when we use Open Sql,

it will give error.

We necessarily have to use the INNER JOIN wordings in the syntax.

regards,

amit m.

4 REPLIES 4
Read only

Former Member
0 Likes
537

it is must to use inner join with the above statement as far as i know.

Read only

Former Member
0 Likes
537

Hi,

Otherwise u can used select for all entries instate of join .

Regards,

Nihar Swain .

Read only

Former Member
0 Likes
537

Hello,

U need to use JOIN for multiple table selection. INNER JOIN.

Regards,

LIJO

Read only

Former Member
0 Likes
538

Hi Joren,

1. This kind of syntax is fine in oracle.

2. But when we use Open Sql,

it will give error.

We necessarily have to use the INNER JOIN wordings in the syntax.

regards,

amit m.