By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,805 Members | 1,202 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,805 IT Pros & Developers. It's quick & easy.

postgresql function

P: 38
i am writing a function. my function gives multiple redords as result.
when i add a check (bool) constraint and call this function in check, error mess comes that sql query gives multiple records.Yes logically it should extrract one record for boolean check. Any hint ... or i have to add a loop in function so that my sql query must return single record.

thnx....
Jan 4 '07 #1
Share this Question
Share on Google+
1 Reply


P: 7
i am writing a function. my function gives multiple redords as result.
when i add a check (bool) constraint and call this function in check, error mess comes that sql query gives multiple records.Yes logically it should extrract one record for boolean check. Any hint ... or i have to add a loop in function so that my sql query must return single record.

thnx....
Your question is incoherent. If you actually want to solve your problem, you might try posting the code, along with a description of what it's supposed to do, and what it's doing that's wrong.
Jan 29 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.