Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Oracle only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
Oracle
how i select columns names from any table
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
aatish19
New Member
Join Date:
Jan 2008
Posts:
2
#1
how i select columns names from any table
Nov 13 '08, 04:17 PM
Hi all,
i want to fetch columns names from my table using pl/sql
what view i can use??
debasisdas
Recognized Expert
Expert
Join Date:
Dec 2006
Posts:
8119
#2
Nov 13 '08, 05:25 PM
1.You need to use the dictionary object USER_TAB_COLS.
2.Pass the table name.
3.Use cursor to fetch the coumn name.
Comment
Post
Cancel
Pilgrim333
New Member
Join Date:
Oct 2008
Posts:
127
#3
Nov 13 '08, 05:25 PM
Hi,
You can use a sql qeury in your pl/sql procedure
Pilgrim.
[edit] my bad, didn't read that well :D what the post above said
Comment
Post
Cancel
aatish19
New Member
Join Date:
Jan 2008
Posts:
2
#4
Nov 15 '08, 02:43 PM
Originally posted by
debasisdas
1.You need to use the dictionary object USER_TAB_COLS.
2.Pass the table name.
3.Use cursor to fetch the coumn name.
Thanks dear...
Kashif Arain
Comment
Post
Cancel
debasisdas
Recognized Expert
Expert
Join Date:
Dec 2006
Posts:
8119
#5
Nov 15 '08, 06:46 PM
you are always welcome buddy.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment