I\'m tryin to use SQL to build a comma separated list of cat_id\'s
the code is:
declare @output varchar(max) set @output = null; select @
On Unix, the sqlminus command lets you merge SQL commands and other formatting:
% sqlminus "select ri || ',' ||name|| ',' || numports || ',' || ascii(OVRONSET) from sdfctigw.ivrgrp where GRP_BEP is not null;" | sort -h 1,COMO INTERNAL 2,700,90 7,LOADIVR,10,80 10,SPEECH_IVR_PROD,600,95