p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Go Back   p2p.wrox.com Forums > Database > Oracle
I forgot my password Register Now
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 29th, 2009, 08:33 AM
Friend of Wrox
Points: 1,548, Level: 15
Points: 1,548, Level: 15 Points: 1,548, Level: 15 Points: 1,548, Level: 15
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2005
Location: Mumbai, Maharastra, India.
Posts: 318
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rupen
Default 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old September 29th, 2009, 10:16 AM
Friend of Wrox
Points: 1,882, Level: 17
Points: 1,882, Level: 17 Points: 1,882, Level: 17 Points: 1,882, Level: 17
Activity: 7%
Activity: 7% Activity: 7% Activity: 7%
 
Join Date: May 2004
Location: India
Posts: 563
Thanks: 0
Thanked 14 Times in 14 Posts
Default

Please check the following link:

http://www.dotnetspider.com/forum/13...on-oracle.aspx
__________________
Om Prakash Pant
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

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 11:37 AM
multi-column list box values moved to 2nd list box sbmvr Access VBA 1 May 14th, 2007 02:58 PM
list of values from postgresql to combobox zamir4eva Beginning PHP 1 January 3rd, 2007 11:29 PM



All times are GMT -4. The time now is 11:54 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc