dbTalk Databases Forums  

Re: [BUGS] Execution of stored procedures

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


Discuss Re: [BUGS] Execution of stored procedures in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Richard Huxton
 
Posts: n/a

Default Re: [BUGS] Execution of stored procedures - 01-19-2006 , 10:01 AM






Sundaramoorthy, Annapoorani (Cognizant) wrote:
Quote:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
Error while executing the query; ERROR: SELECT query has no destination
for result data

HINT: If you want to discard the results, use PERFORM instead.

This error is associated with the execution of stored procedure.

Select <functuion_name()>;

Is the way in which I am trying to execute the procedure in pgadmin and
also this is the way in which I am using it in the asp file.
If it gives you the same error from pgadmin then it's clearly not an
ODBC error. The error message suggests to me that the problem is in the
function itself where you may be executing a SELECT without putting its
results into a variable.

You would probably get more answers on the plpgsql-general list. This
mailing list is for bugs in the PostgreSQL server itself. See you there!

--
Richard Huxton
Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster


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.