Newbie Question - Concatenating quotes
From: Sue Kudenchak <sarroyo_at_cnj.digex.net>
Date: 9 Jan 1995 09:15:45 -0500
Message-ID: <3ergei$shj_at_cnj.digex.net>
Date: 9 Jan 1995 09:15:45 -0500
Message-ID: <3ergei$shj_at_cnj.digex.net>
Good morning:
I have another newbie question.
The syntax I need to generate looks like this:
alter system kill session 'sid,serial#';
I'm trying to do something like this:
select 'alter system kill session ' || ''' || sid || ',' || serial# || '';' from v$session where username != 'oracle7';
which ( obviously to some gurus ) won't run. Can anybody help?
Thanks in advance - Sue
--
--------------------------------------------------
Sue Kudenchak Currently SKud, Formerly Sue Arroyo
Plan: To grow coconuts in Bora-Bora
Internet: sarroyo_at_cnj.digex.com
Received on Mon Jan 09 1995 - 15:15:45 CET