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

Parsing input string in SP

Status
Not open for further replies.

sudhakard

Programmer
Apr 13, 2003
2
GB
Hi,
I want to delete a multiple records from stored procedure in a single execution using INPUT parameter.
For example, i want to delete multiple records from EMP tables. The input parameter for this is Empnos(7348,7399,7468). Here i want to delete Employee numbers 7348,7399,7468 in a single execution
Can any one give me suggestion for this. Thanks in advance

Regards,
Sudhakar
 
Does anyone know how to delete your own post in Tek-Tips when you realise you've been stupid?
 
execute immediate 'delete from emp where id in ('||emp_list||')'

Regards, Dima
 
"Does anyone know how to delete your own post in Tek-Tips when you realise you've been stupid?"

Wouldn't that be nice? I suppose you could red flag your post and hope they delete it quickly.


Code:
select * from Life where Brain is not null
Consultant/Custom Forms & PL/SQL - Oracle 8.1.7 - Windows 2000
When posting code, please use TGML for readability. Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top