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

How to create Function for executing query ....

P: 3
Hi michaelb,
Hel me please.
1.I have table "Master" with fields : Id,description,HD8,Hd6,name.
How to create FUNCTION for executing query :
SELECT Id,description FROM Master ( only 2 fields)
2.Can I execute saved query(example : SeleMaster) in C# ?
Thank you very much
Aug 22 '07 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 534
Hi, hlnet,
you need to look at the Postgresql manual. These links will show you how to write functions in SQL and plpgsql.

If you have problems and your code is not working as expected post it here and we'll help you.
Good luck!

SQL Functions
Aug 30 '07 #2

Post your reply

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