dbTalk Databases Forums  

RESULTSET LIMITED TO 1048

comp.database.oracle comp.database.oracle


Discuss RESULTSET LIMITED TO 1048 in the comp.database.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Theresa Casagrandi
 
Posts: n/a

Default RESULTSET LIMITED TO 1048 - 08-26-2004 , 05:09 PM






I've setup Stored Procedures in an Oracle 9i DB and am calling them from ASP
into an ADO Recordset.
The calling parameters specify a Resultset of 1048 to be returned. The OUT
paramaters have been set up and a cursor is used to loop through and
populate the each result set record. Everything works fine provided that
result set does not return more than 1048 records.

If I attempt to set Resultset paramater to any more than 1048 a cryptic
error occurs.
What this of course means is that I can't retrieve any more than 1048
records without a fatal error.

Anybody know what's going on here? Were using an ODBC Oracle drive under
IIS5, with ASP and ADO.

Thanks



Reply With Quote
  #2  
Old   
Theresa Casagrandi
 
Posts: n/a

Default Re: RESULTSET LIMITED TO 1048 - 08-26-2004 , 07:59 PM






The fatal error occurs within the stored procedure as a result set is being
populated. Everything is ok up to 1048 and then on the next
record........., a fatal error occurs.

Thanks for responding and offering some thought to the problem.

...


"Jim Kennedy" <kennedy-downwithspammersfamily (AT) attbi (DOT) net> wrote

Quote:
"Theresa Casagrandi" <hr (AT) webzooks (DOT) ca> wrote in message
news:LCtXc.120$is1.2994 (AT) news20 (DOT) bellglobal.com...
I've setup Stored Procedures in an Oracle 9i DB and am calling them from
ASP
into an ADO Recordset.
The calling parameters specify a Resultset of 1048 to be returned. The
OUT
paramaters have been set up and a cursor is used to loop through and
populate the each result set record. Everything works fine provided
that
result set does not return more than 1048 records.

If I attempt to set Resultset paramater to any more than 1048 a cryptic
error occurs.
What this of course means is that I can't retrieve any more than 1048
records without a fatal error.

Anybody know what's going on here? Were using an ODBC Oracle drive
under
IIS5, with ASP and ADO.

Thanks


Why not just pass the result set directly via the out parameter and let
the
application determine how many rows it wants to fetch? The application
gets
the out parameter and does a fetch on the cursor.
Jim





Reply With Quote
  #3  
Old   
Jim Kennedy
 
Posts: n/a

Default Re: RESULTSET LIMITED TO 1048 - 08-26-2004 , 08:07 PM




"Theresa Casagrandi" <hr (AT) webzooks (DOT) ca> wrote

Quote:
I've setup Stored Procedures in an Oracle 9i DB and am calling them from
ASP
into an ADO Recordset.
The calling parameters specify a Resultset of 1048 to be returned. The
OUT
paramaters have been set up and a cursor is used to loop through and
populate the each result set record. Everything works fine provided that
result set does not return more than 1048 records.

If I attempt to set Resultset paramater to any more than 1048 a cryptic
error occurs.
What this of course means is that I can't retrieve any more than 1048
records without a fatal error.

Anybody know what's going on here? Were using an ODBC Oracle drive
under
IIS5, with ASP and ADO.

Thanks


Why not just pass the result set directly via the out parameter and let the
application determine how many rows it wants to fetch? The application gets
the out parameter and does a fetch on the cursor.
Jim




Reply With Quote
  #4  
Old   
Jim Kennedy
 
Posts: n/a

Default Re: RESULTSET LIMITED TO 1048 - 08-26-2004 , 08:47 PM




"Theresa Casagrandi" <hr (AT) webzooks (DOT) ca> wrote

Quote:
The fatal error occurs within the stored procedure as a result set is
being
populated. Everything is ok up to 1048 and then on the next
record........., a fatal error occurs.

Thanks for responding and offering some thought to the problem.

..


"Jim Kennedy" <kennedy-downwithspammersfamily (AT) attbi (DOT) net> wrote in message
news:gPvXc.188607$8_6.102059 (AT) attbi_s04 (DOT) ..

"Theresa Casagrandi" <hr (AT) webzooks (DOT) ca> wrote in message
news:LCtXc.120$is1.2994 (AT) news20 (DOT) bellglobal.com...
I've setup Stored Procedures in an Oracle 9i DB and am calling them
from
ASP
into an ADO Recordset.
The calling parameters specify a Resultset of 1048 to be returned.
The
OUT
paramaters have been set up and a cursor is used to loop through and
populate the each result set record. Everything works fine provided
that
result set does not return more than 1048 records.

If I attempt to set Resultset paramater to any more than 1048 a
cryptic
error occurs.
What this of course means is that I can't retrieve any more than 1048
records without a fatal error.

Anybody know what's going on here? Were using an ODBC Oracle drive
under
IIS5, with ASP and ADO.

Thanks


Why not just pass the result set directly via the out parameter and let
the
application determine how many rows it wants to fetch? The application
gets
the out parameter and does a fetch on the cursor.
Jim




Not seeing the code it is rather difficult to comment on the error in the
code. How about in sqlplus, do you get an error running the stored procedure
there?
Jim




Reply With Quote
  #5  
Old   
Theresa Casagrandi
 
Posts: n/a

Default Re: RESULTSET LIMITED TO 1048 - 08-27-2004 , 08:43 AM



I'll try that and let you know the results. Much appreciated.
"Jim Kennedy" <kennedy-downwithspammersfamily (AT) attbi (DOT) net> wrote

Quote:
"Theresa Casagrandi" <hr (AT) webzooks (DOT) ca> wrote in message
news:L5wXc.30407$DG.1428992 (AT) news20 (DOT) bellglobal.com...
The fatal error occurs within the stored procedure as a result set is
being
populated. Everything is ok up to 1048 and then on the next
record........., a fatal error occurs.

Thanks for responding and offering some thought to the problem.

..


"Jim Kennedy" <kennedy-downwithspammersfamily (AT) attbi (DOT) net> wrote in
message
news:gPvXc.188607$8_6.102059 (AT) attbi_s04 (DOT) ..

"Theresa Casagrandi" <hr (AT) webzooks (DOT) ca> wrote in message
news:LCtXc.120$is1.2994 (AT) news20 (DOT) bellglobal.com...
I've setup Stored Procedures in an Oracle 9i DB and am calling them
from
ASP
into an ADO Recordset.
The calling parameters specify a Resultset of 1048 to be returned.
The
OUT
paramaters have been set up and a cursor is used to loop through and
populate the each result set record. Everything works fine provided
that
result set does not return more than 1048 records.

If I attempt to set Resultset paramater to any more than 1048 a
cryptic
error occurs.
What this of course means is that I can't retrieve any more than
1048
records without a fatal error.

Anybody know what's going on here? Were using an ODBC Oracle
drive
under
IIS5, with ASP and ADO.

Thanks


Why not just pass the result set directly via the out parameter and
let
the
application determine how many rows it wants to fetch? The
application
gets
the out parameter and does a fetch on the cursor.
Jim




Not seeing the code it is rather difficult to comment on the error in the
code. How about in sqlplus, do you get an error running the stored
procedure
there?
Jim





Reply With Quote
Reply




Thread Tools
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 On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.