|
|
 |
| Oracle General Oracle database discussions. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Oracle section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

September 29th, 2009, 08:33 AM
|
|
Friend of Wrox
|
|
Join Date: Apr 2005
Location: Mumbai, Maharastra, India.
Posts: 318
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Extracting values from list.
Hi,
Have a requiremt to extract individual employee ids from a list sent via front-end.
e.g.: a variable in procedure in oracle will have value as '1','2,'3','4','5','6' etc.. (it could go upto thousands..),
[p_var := " '1','2,'3','4','5','6' "; ]
Requt: We have a table where need to check the status of ids (1,2,3..) and if it is active then have to set inactive else show the user that these ids are already inactive.
The id field is in varchar2 data type.
The quetion is "How can I break the sting ('1','2,'3','4','5','6' ) and check-update in table and show the output for individual ids (as this should be done at database level)?"
__________________
Rupen Anjaria.[:)]
------------------
It is not difficult to be on TOP...It is difficult when you carry Truth,Commitment and Transparency with you.
|

September 29th, 2009, 10:16 AM
|
|
Friend of Wrox
|
|
Join Date: May 2004
Location: India
Posts: 563
Thanks: 0
Thanked 14 Times in 14 Posts
|
|
__________________
Om Prakash Pant
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |