How do I get columns displacement for a table or tables in Oracle? Is there a command for it?
I am thinking about to write a COBOL program to do this by read in the output of SQL/PLUS DESC TABLE-NAME and format its column length to get the displacement. But, I think some of you must have a better way to this. Please advise!
but since you want for number of tables better write a procedure for that.
Thank you debasisdas!
Do you know the way to set the sql/plus to display the whole line without wrap around or trunkcated?
select * from user_tab_cols will display a long line and it warped around so it hard to read. I set wrap off then it truncated. I set linesize 132 but it still wrap around.