Tom Studer's Home Page
[ start | index | login ]
start > SQL Stuff

SQL Stuff

Created by tom. Last edited by tom, 4 years and 15 days ago. Viewed 104 times. #1
[edit] [rdf]
labels
attachments

Listing tables with a certain column name (Oracle)

select 
    ut.table_name, ut.tablespace_name
from 
    user_tab_columns utc,
    user_tables ut
where 
    utc.table_name = ut.table_name and
    utc.column_name = upper('&colname') and
    ut.tablespace_name = upper('&tsname')
Please login to post a comment.
mouse_cartoon



< May 2012 >
SunMonTueWedThuFriSat
12345
6789101112
13141516171819
20212223242526
2728293031

snipsnap-help | More Help

Powered by SnipSnap 1.0b2-uttoxeter

Describe here what your SnipSnap is about!

Configure this box!

  1. Login in
  2. Click here: snipsnap-portlet-2
  3. Edit this box
snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt