Search found 1 match
- 26.08.2014, 14:42
- Forum: ZeosLib 7.1 stable Forum
- Topic: Error when executing parametrized SET statement in postgresq
- Replies: 1
- Views: 1020
Error when executing parametrized SET statement in postgresq
Hello I found problem ZEOSDBO-7.1.3a-stable when trying to run such code: v_query.SQL.Text:= 'SET application_name = :app_name; '; v_query.ParamByName('app_name').AsString:= 'some_app_name'; v_query.ExecSQL; I got exception ERROR: syntax error at or near "$1" LINE 1: SET application_name =...