dbTalk Databases Forums  

[BUGS] Stored Procedure with more than one OUT Parameter

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] Stored Procedure with more than one OUT Parameter in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
manisha balwadkar
 
Posts: n/a

Default [BUGS] Stored Procedure with more than one OUT Parameter - 11-20-2006 , 07:24 PM






Hello,

I have written a stored procedure which will give me
total count of records plus number of records as per
my conditional criteria, but returns as setof records.

So to access count i have to iterate through
resultset, in java. So is there any way, to access
count once n setof records using resultset. Can I have
two OUT parameter, one as Integer n other as record in
single procedure.


Or at java side, can acces count before iterating
resultset only once. Remaining records as usual by
iterating resuleset.


Thanx,

Manisha



__________________________________________________ ________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

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.