Re: syntax error during function call
От | Aycock, Jeff R. |
---|---|
Тема | Re: syntax error during function call |
Дата | |
Msg-id | 65151B9A7C8C9C4284ABC85F0336DE5003972DB4@0015-its-exmb11.us.saic.com обсуждение исходный текст |
Ответ на | Re: syntax error during function call (Pavel Stehule <pavel.stehule@gmail.com>) |
Ответы |
Re: syntax error during function call
Re: syntax error during function call |
Список | pgsql-general |
Pavel, Per your suggestion I modified one line below BEGIN to look like this: EXECUTE 'SELECT *, $1, now() INTO "schema_1".'||"whoami"||' FROM "schema_2".'||"whoami"||' where created_dt between $2 and $3;' However, it is still giving me the same syntax error as before. I must be missing something here though. Thanks for the suggestion, however. Regards, Jeff Aycock -----Original Message----- From: Pavel Stehule [mailto:pavel.stehule@gmail.com] Sent: Wednesday, January 27, 2010 11:13 AM To: Aycock, Jeff R. Cc: pgsql-general@postgresql.org Subject: Re: [GENERAL] syntax error during function call > > ERROR: syntax error at or near "(" > > LINE 1: SELECT *, $1, now() INTO schema_1.(table_A) FROM schema_2.(table_A) > where created_dt between $2 and $3; > > schema_1.(table_A) is nonsense. have to be "schema_1"."table_A" regards Pavel Stehule
В списке pgsql-general по дате отправления: