Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Database > Oracle
Oracle General Oracle database discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Oracle section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 29th, 2009, 07:33 AM
Registered User
Join Date: Apr 2005
Posts: 352
Thanks: 14
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rupen
Default Extracting values from list.


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)?"
Old September 29th, 2009, 09:16 AM
Friend of Wrox
Join Date: May 2004
Posts: 642
Thanks: 0
Thanked 43 Times in 42 Posts

Please check the following link:

Om Prakash Pant
Click the "Thanks" button if this post helped you.

Similar Threads
Thread Thread Starter Forum Replies Last Post
List of node values, only once for multiples mphare XSLT 4 February 1st, 2008 03:09 PM
loop through static list of values? mister_mister XSLT 6 January 4th, 2008 11:48 AM
Creating a list but not displaying certain values josephine XSLT 2 October 4th, 2007 10:37 AM
multi-column list box values moved to 2nd list box sbmvr Access VBA 1 May 14th, 2007 01:58 PM
list of values from postgresql to combobox zamir4eva Beginning PHP 1 January 3rd, 2007 11:29 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.