s
sreelu 123

Posted on 27th June 2022|198 views

0
votes

Query Has No Destination For Result Data

When do we get this time kind of error "Query has no result for destination data" in PostgreSQL?

Answers
P
Altaf syed

Posted on 27th June 2022

Well, this happens when we try to create a function that does not return a selected result set as it has to return the set.

Reason for the error you're getting is because there is no return statement in between your BEGIN and END. After all, the return statement sends or displays the output.

 

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo
  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos