From: | Peter Landis <ntwebdeveloper(at)yahoo(dot)com> |
---|---|
To: | pgsql-general(at)postgreSQL(dot)org |
Subject: | Stored Procedure |
Date: | 2000-05-04 22:40:31 |
Message-ID: | 20000504224031.15492.qmail@web3205.mail.yahoo.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi-
I'm a newbie at this and was wondering how would you
create a simple stored procedure using postgres for a
simple query. I just tried to create a basic
procedure that takes the query string but for some
strange reason it does not work properly.
$query_string = "select * from company;";
&SUB_QUERY;
sub SUB_QUERY
{
$sqh = $dbh->prepare(q{$query_string});
$sqh->execute();
}
thanks,
Mr. Newbie
__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/
From | Date | Subject | |
---|---|---|---|
Next Message | W-A-S-P | 2000-05-05 02:11:14 | ../\...Advice For New Immigrants^^^.. |
Previous Message | Steven Pennie | 2000-05-04 21:28:07 | Naming Rules |