RE: Dialog box, passing parameter fails

Поиск
Список
Период
Сортировка
От Voillequin, Jean-Marc
Тема RE: Dialog box, passing parameter fails
Дата
Msg-id BYAPR20MB2614E42280AA8AF5F10D1E8DBE850@BYAPR20MB2614.namprd20.prod.outlook.com
обсуждение исходный текст
Ответ на Dialog box, passing parameter fails  ("intmail01@gmail.com" <intmail01@gmail.com>)
Список pgsql-sql

Hi,

 

Use $1, $2, … for bind parameters.

 

Regards

 

From: intmail01@gmail.com <intmail01@gmail.com>
Sent: Saturday, September 21, 2019 12:21 AM
To: pgsql-sql@lists.postgresql.org
Subject: Dialog box, passing parameter fails
Importance: High

 

 

CAUTION: This email originated from outside of Moody's. Do not click links or open attachments unless you recognize the sender and know the content is safe.

 

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

-----------------------------------------
Moody's monitors email communications through its networks for regulatory compliance purposes and to protect its customers, employees and business and where allowed to do so by applicable law. The information contained in this e-mail message, and any attachment thereto, is confidential and may not be disclosed without our express permission. If you are not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution or copying of this message, or any attachment thereto, in whole or in part, is strictly prohibited. If you have received this message in error, please immediately notify us by telephone, fax or e-mail and delete the message and all of its attachments. Every effort is made to keep our network free from viruses. You should, however, review this e-mail message, as well as any attachment thereto, for viruses. We take no responsibility and have no liability for any computer virus which may be transferred via this e-mail message.

This email was sent to you by Moody’s Investors Service EMEA Limited
Registered office address:
One Canada Square
Canary Wharf
London, E14 5FA
Registered in England and Wales No: 8922701
-----------------------------------------

В списке pgsql-sql по дате отправления:

Предыдущее
От:
Дата:
Сообщение: AW: German "umlaut insensitive" query
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: AW: German "umlaut insensitive" query