Dialog box, passing parameter fails
| Newsgroups | gmane.comp.db.postgresql.sql |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--------------AC5B206AAB1FB3BFB0ABB286
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
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
--------------AC5B206AAB1FB3BFB0ABB286
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="js-editable-content">
<p>Hi, I am using Postgresql 9.5 as server and Libreoffice BASE
5.2.4 to connect to the server.</p>
<p>The code SQL must be sent directly and not be interpreted by
Libo Base because there are some complex syntax (functions,
variables, ...).</p>
<p>Also, I need passing parameters to control some ranges. ex:
dates.<br>
</p>
<p>But, postgresql can not understand passing parameters with
either ? or : syntax which open a dialog box.<br>
</p>
<p>eg: select * from agenda where date= ?</p>
<p>The execution of code ode fails in direct mode.</p>
<p>What are solutions ? cant postgresql bypass some parts of the
code where I put parameters request ?</p>
<p>Thank you<br>
</p>
</div>
</body>
</html>
--------------AC5B206AAB1FB3BFB0ABB286--