<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Report Builder displays date field as number when query is executed by "run sql directly""
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=139315#c10">Comment # 10</a>
              on <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Report Builder displays date field as number when query is executed by "run sql directly""
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=139315">bug 139315</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>@ herman
If it is set to 
Analyze SQL → No
it doesn't analyze the type of the field also. The content of the field are
numbers - so it will be shown as numbers. '0' → '1899-12-30'.

If it is set to
Analyze SQL → Yes
it analyzes the code and detects a data. So it will show a date.

But your code works only with Analyze SQL → No.

I won't call it a bug of the Report Builder. You could change the code so it
could work with Analyze SQL → Yes (and in the query with the GUI, not 'run SQL
directly') and it works well.</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>