Domanda

In oracle 10g, i want to get data for the username and email columns where the table name is HP.

I used the following code:

 select rawtohex(username||chr(58)||email) from HP

But I get:

ORA-00942: With error table or view does not exist

È stato utile?

Soluzione

Could it be that user and table are in different schemas? What is the output of 2 next statements:

select user from dual;
select owner from all_tables where table_name = 'HP';
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top