If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > Oracle

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-13-03, 00:54
sreepadasharma sreepadasharma is offline
Registered User
 
Join Date: Nov 2003
Location: hyderabad
Posts: 12
Oracle

HAI,
i am working with a new database which is already designed.it is very large and difficult to understand. my problem is...
can i find a perticular column in the table where it exists?
Ex.
to find emp_id column in the database which contains all the tables.
thanks..
Reply With Quote
  #2 (permalink)  
Old 12-13-03, 03:28
Bart71 Bart71 is offline
Registered User
 
Join Date: Oct 2003
Location: Germany - Stuttgart
Posts: 14
select * from all_tab_columns where column_name = 'EMP_ID';
Reply With Quote
  #3 (permalink)  
Old 12-13-03, 04:15
sreepadasharma sreepadasharma is offline
Registered User
 
Join Date: Nov 2003
Location: hyderabad
Posts: 12
Quote:
Originally posted by Bart71
select * from all_tab_columns where column_name = 'EMP_ID';
THANK YOU SIR.BYE..
Reply With Quote
  #4 (permalink)  
Old 12-15-03, 07:19
sreepadasharma sreepadasharma is offline
Registered User
 
Join Date: Nov 2003
Location: hyderabad
Posts: 12
ORACLE

Quote:
Originally posted by Bart71
select * from all_tab_columns where column_name = 'EMP_ID';
HELLO SIR,
i need to contact you once again. the following query runs under ORACLE. but now i need the same resulted query which runs on SQLServer. will you please help me. once again thanks for sending the ORACLE query. waiting for your reply.
bye..
Reply With Quote
  #5 (permalink)  
Old 12-15-03, 13:37
Bart71 Bart71 is offline
Registered User
 
Join Date: Oct 2003
Location: Germany - Stuttgart
Posts: 14
I'm sorry, i never worked with ms-sql server

Best regards
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On