<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:robert@familiegrosskopf.de" title="Robert Großkopf <robert@familiegrosskopf.de>"> <span class="fn">Robert Großkopf</span></a>
</span> changed
<a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Libre Base SQL Syntax Unrecognized For FireBird DateAdd() Function"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=136475">bug 136475</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>robert@familiegrosskopf.de
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Libre Base SQL Syntax Unrecognized For FireBird DateAdd() Function"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=136475#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Libre Base SQL Syntax Unrecognized For FireBird DateAdd() Function"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=136475">bug 136475</a>
from <span class="vcard"><a class="email" href="mailto:robert@familiegrosskopf.de" title="Robert Großkopf <robert@familiegrosskopf.de>"> <span class="fn">Robert Großkopf</span></a>
</span></b>
<pre>It will work right in direct SQL mode.
It won't run with the query-GUI, because the query-GUI expects a mask like
'day' around the strings. You could use
CAST( CURRENT_DATE AS DATE ) + 90
instead.
Select * From Entitlements
Where EXPIRATIONDATE <= CAST( CURRENT_DATE AS DATE ) + 90
Together with casting the current_date as date it will work in query-GUI, but
will show the value as integer. So you have to format it afterwards.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>