Search Results

Search: Posts Made By: patk625
5,028
Posted By RudiC
My SQL is way beyond rusty, so to say corroded...
My SQL is way beyond rusty, so to say corroded away, but couldn't you



select '"' & Person, Favorite & '"' from FavoriteThings;
5,028
Posted By apmcd47
Please use the code tags for code, like it tells...
Please use the code tags for code, like it tells you in the message window. You either need to use the in-place option to sed, or use an intermediate file, like this
sed 's/^.*$/"&"/' ${OUTFILE}...
5,028
Posted By Scrutinizer
Or perhaps: set colsep '","' And then run the...
Or perhaps:
set colsep '","'
And then run the output through sed to add the outer two double quotes:
sqlplus -s myuser/mypassword@mydb | sed 's/.*/"&"/' <<EOF
5,028
Posted By joeyg
I think in sqlplus there is a colsep setting. ...
I think in sqlplus there is a colsep setting.
set colsep |
to set to a | pipe character

you can then do a manual export into Excel, specifying the | as delimiter or
edit(replace) the , to ; and...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 09:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy