problem reading data from oracle through sql builder

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
sekr
Participant
Posts: 14
Joined: Tue Dec 13, 2005 3:50 am

problem reading data from oracle through sql builder

Post by sekr »

problem in read data from orcale stage !
exp:- after selecting tabel from sql builder .. view data is not showing any data (all connections are prefect).
when i try with customized sql statment i can able to read the data from oracle .
In Adv Thanks
---------s
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

If you take a copy of the generated SQL from the SQL builder and execute it in your tool of choice (sqlplus, Toad, etc.) does it execute correctly?
sekr
Participant
Posts: 14
Joined: Tue Dec 13, 2005 3:50 am

Post by sekr »

its not working ! i had tried ..
In Adv Thanks
---------s
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

What is wrong with the generated code?
loveojha2
Participant
Posts: 362
Joined: Thu May 26, 2005 12:59 am

Post by loveojha2 »

sekr wrote:its not working ! i had tried ..
Can you paste the what error message you are getting when you are doing it from sqlplus.
Success consists of getting up just one more time than you fall.
srinagesh
Participant
Posts: 125
Joined: Mon Jul 25, 2005 7:03 am

Post by srinagesh »

I guess it has something to do with "fully qualified table name".
The SQL query generated using SQL Builder might be
Select <columns>
From <schemaname>.<tablename>
where <condition>

and the table in that schema might not be having any data.

I know that I am just speculating the cause of the problem. But believe me something this simple is bound to be source of "what seems to be a big problem".

-Nagesh
Post Reply