Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Column seperator question

Status
Not open for further replies.

pjb

Programmer
May 1, 2001
148
US
When using the column separator option -s on the isql command line, is there a way to force the first separator character to either precede the first column, or to follow the the first column? In other words, if I use -s'|', the output would look like:
|column1|column2|column3

Is there a way to have it like this:
column1|column2|column3|
 
You could always do something along the lines of

SELECT
'|',
Column1,
'|',
Column2
'|',
FROM
TEST_TABLE

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top