ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Postgres (https://www.excelbanter.com/excel-programming/431640-postgres.html)

Richard Douglass

Postgres
 
I am trying to make a procedure call to a Postgres database and it keeps
giving me an invalid comment.

if I pass "SELECT * FROM TheTable" it works just fine

if I pass "EXEC GetTheRecords" which just does that same select...it bombs

any ideas?



Patrick Molloy

Postgres
 
is the security level of the stored procedure correct?


"Richard Douglass" wrote in message
...
I am trying to make a procedure call to a Postgres database and it keeps
giving me an invalid comment.

if I pass "SELECT * FROM TheTable" it works just fine

if I pass "EXEC GetTheRecords" which just does that same select...it
bombs

any ideas?


Richard Douglass

Postgres
 
It was compiled using the DBA account.

I am not entirely sure though.

"Patrick Molloy" wrote in message
...
is the security level of the stored procedure correct?


"Richard Douglass" wrote in message
...
I am trying to make a procedure call to a Postgres database and it keeps
giving me an invalid comment.

if I pass "SELECT * FROM TheTable" it works just fine

if I pass "EXEC GetTheRecords" which just does that same select...it
bombs

any ideas?





All times are GMT +1. The time now is 09:41 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com