Featured post
oracle - Showing only actual column data in SQL*Plus -
i'm spooling out delimited text files sql*plus, every column printed full size per definition, rather data in row.
for instance, column defined 10 characters, row value of "test", printing out "test " instead of "test". can confirm selecting column along value of length function. prints "test |4".
it kind of defeats purpose of delimiter if forces me fixed-width. there set option fix this, or other way make print actual column data.
i don't want add trim every column, because if value stored spaces want able keep them.
thanks
i have seen many sql*plus script, create text files this:
select || ';' || b || ';' || c || ';' || d t ...
it's strong indication me can't switch variable length output set command.
instead of ';' can of course use other delimiter. , it's query escape characters confused delimiter or line feed.
- Get link
- X
- Other Apps
Comments
Post a Comment