473,386 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Upload List Of Employee Numbers into ASP page

I have an ASP site that allows the user to submit an
Employee Number to an Oracle procedure. The procedure
does some calculations and the results are displayed in
the browser.

Now, the user would like the ability to submit any number
of employee numbers all at once (though not display the
results).

I think this can be done, but I'm not entirely sure how to
go about it? I think the way to approach this would be to
get a comma separeated list if employee numbers and
convert it into and array using SPLIT, and then churn
through the array and pass each record to the Oracle
procedure.

So my question is, how do I get the comma separated list
into ASP? There could be as many as 6000+ entries in the
list.

TIA,

Colin
Jul 21 '05 #1
1 1294
You could pass a limited number of comma-separated values to a single stored
procedure, which should scale much better. Not sure if you could do 6000 at
once, but maybe they could take two swings at it. See
http://www.aspfaq.com/2248 for an example in SQL Server; should be trivial
to build something similar in Oracle. I can pretty much guarantee that this
will be more efficient than looping through and calling a single stored
procedure 6000+ times.

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Colin Steadman" <an*******@discussions.microsoft.com> wrote in message
news:53****************************@phx.gbl...
I have an ASP site that allows the user to submit an
Employee Number to an Oracle procedure. The procedure
does some calculations and the results are displayed in
the browser.

Now, the user would like the ability to submit any number
of employee numbers all at once (though not display the
results).

I think this can be done, but I'm not entirely sure how to
go about it? I think the way to approach this would be to
get a comma separeated list if employee numbers and
convert it into and array using SPLIT, and then churn
through the array and pass each record to the Oracle
procedure.

So my question is, how do I get the comma separated list
into ASP? There could be as many as 6000+ entries in the
list.

TIA,

Colin

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: dave | last post by:
Hello there, I am at my wit's end ! I have used the following script succesfully to upload an image to my web space. But what I really want to be able to do is to update an existing record in a...
9
by: Bob Bedford | last post by:
I've a page where the user may enter some values and upload some pictures. Unfortunately, some pictures coming from digital camera are very big, and take a lot of time for uploading. I've...
1
by: Tlholo | last post by:
Here are the requirements for the project. I have also included the other project that I am working on and is also giving me some problems. i need code examples. Project 1 This program actually...
21
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Uploading files from a local computer to a remote web server has many useful purposes, the most...
7
by: Aric Green | last post by:
I have a form in a database that I am trying to use a combo box to select an employee and then a listbox to select multiple card numbers to assign to the employee selected. When I push a button I...
2
by: darrel | last post by:
I've written a file-upload application in VB.net. A web form with a FILE field that then uploads the file. Pretty simple. I'm getting a report from the customer that one particular user can't...
2
by: vinodkus | last post by:
dear sir/madam I have to do something like this that a user see list of record if he would find record and want to upload that list then he could upload in a pdf file of that record. please help...
2
by: =?Utf-8?B?anAybXNmdA==?= | last post by:
I'm pulling records from or database by dates, and there are multiple records for each part number. The part numbers are being stored as strings in a List in a custom Employee class: ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.