Can i possible to see Table Details ?
Ex :
Table Name Date Time User
Emp May/18/2010 12:59pm Scott

Answers were Sorted based on User's Feedback



Can i possible to see Table Details ? Ex : Table Name Date Time User Emp ..

Answer / saraswathi muthuraman

SELECT OWNER,OBJECT_NAME,To_char(CREATED,'MON//DD/YYYY'),
to_char(CREATED,'HH:MM PM') from ALL_OBJECTS WHERE
OBJECT_TYPE ='TABLE' AND OBJECT_NAME ='EMP_TEST';

Result:

Saras EMP_TEST
JUN//01/2010 11:06 AM

Is This Answer Correct ?    6 Yes 0 No

Can i possible to see Table Details ? Ex : Table Name Date Time User Emp ..

Answer / kamal

SELECT OWNER,OBJECT_NAME,TRUNC(CREATED),TIMESTAMP FROM
DBA_OBJECTS WHERE OBJECT_TYPE ='TABLE' AND OBJECT_NAME
='EMP'

Is This Answer Correct ?    4 Yes 0 No

Can i possible to see Table Details ? Ex : Table Name Date Time User Emp ..

Answer / prash

yes

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

What is informix sql?

0 Answers  


Hello All, Could any well write a query for the following scenario. Account(table name) No Name Amount 1 ABCD 2000.00 2 DEFG -2000.00 3 GHIJ 3000.50 4 JKLM 4000.00 5 MNOP 6000.00 O/p Should be in this format No Name Credit Debit 1 ABCD 2000.00 0 2 DEFG 0 -2000.00 3 GHIJ 3000.50 4 JKLM 0 -4000.00 5 MNOP 6000.00 o could any one give appropriate query for this Thnks in Advance Suneel Reddy

6 Answers   Target,


What is cold data?

0 Answers  


i have a word ***********hello********world******. I require a o/p **********hello world**********, Need to delete the middle stars.

3 Answers  


what is meant by databases

4 Answers  






How do I delete a trigger?

0 Answers  


Why do we use cursors?

0 Answers  


Which is faster union or join?

0 Answers  


What are pl/sql cursors?

0 Answers  


write a query to display diference between two dates in sql server

2 Answers  


What is the use of & in pl sql?

0 Answers  


How many types of primary keys are there?

0 Answers  


Categories