Re: Dialog box, passing parameter fails
От | Steve Midgley |
---|---|
Тема | Re: Dialog box, passing parameter fails |
Дата | |
Msg-id | CAJexoS+n+kjwdZbuv4-CxYB5DWX7YLnNLHGNmB=xfJsyKdqaaw@mail.gmail.com обсуждение исходный текст |
Ответ на | Dialog box, passing parameter fails ("intmail01@gmail.com" <intmail01@gmail.com>) |
Список | pgsql-sql |
Hi, I am using Postgresql 9.5 as server and Libreoffice BASE 5.2.4 to connect to the server.
The code SQL must be sent directly and not be interpreted by Libo Base because there are some complex syntax (functions, variables, ...).
Also, I need passing parameters to control some ranges. ex: dates.
But, postgresql can not understand passing parameters with either ? or : syntax which open a dialog box.
eg: select * from agenda where date= ?
The execution of code ode fails in direct mode.
What are solutions ? cant postgresql bypass some parts of the code where I put parameters request ?
Thank you
Can you get your sql code to work from psql command line? Seems like maybe it's just syntax? Send a complete sql statement including parameters that is failing..
Steve
В списке pgsql-sql по дате отправления: