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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

formatting

Status
Not open for further replies.

cptkirkh

MIS
Feb 20, 2001
95
US
I have a SQL query with a select statement like this..

lpad(cli_rid,7,'0')||
RPAD(nvl(CLI_PREFIX||' '||CLI_FIRST_NAME||' '||CLI_LAST_NAME||' '||CLI_SUFFIX,' '),40)||
RPAD(nvl(CLI_DESIGNATIONS,' '),27)||
RPAD(nvl(MAD_AGENCY_NAME,' '),45)||
RPAD(nvl(MAD_ADDRESS,' '),80)||
RPAD(nvl(MAD_CITY,' '),20)||
RPAD(nvl(MAD_STATE,' '),2)||
RPAD(nvl(MAD_ZIP||decode(MAD_ZIP_PLUS,NULL,'','-')||MAD_ZIP_PLUS,' '),10) text

how do I format the output to give me all of the select statement? It stops right after the agency name?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top