Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

select qurery with diff tables

$
0
0
Hi;

please find the scenario

if the current region is DER means,we have to get the rows from

MAIN_TABLE_DER

if the current region is RET means,we have to get the rows from

MAIN_TABLE_RET

current region is not the column name( we are passing thru host variables) like :ws-cur-reg


select
inv_no,
inv_nme,
inv_loc

from tablename

Please help me

Viewing all articles
Browse latest Browse all 13329

Trending Articles