Mombu the Programming Forum

Go Back   Mombu the Programming Forum > Programming > Problems with UNION and Systemtables...
User Name
Password
REGISTER NOW! Mark Forums Read




Reply
1 27th July 06:58
ralf schnickmann
External User
 
Posts: 1
Default Problems with UNION and Systemtables...



Hi!

I created this query:

SELECT TABLE_NAME, OWNER, PRIVILEGE
FROM USER_TAB_PRIVS
UNION
SELECT TABLE_NAME, TABLE_SCHEMA, PRIVILEGE
FROM USER_ROLE_PRIVS, ALL_TAB_PRIVS
WHERE GRANTED_ROLE = GRANTEE

In sql+ or in toad in can start this query correctly and it returns several
rows.

But starting this query in my c# application i got no rows returned.
The intresting thing is that i can start these two SELECT statements
in my c# application seperatly with the correct result.
Only the union of these statements fails... no errors but no rows
returned...

Greetings,
Ralf
  Reply With Quote


 


Reply


Thread Tools
Display Modes




666