Subject | Re: [firebird-support] Re: SQL error code = -303 using MSQuery |
---|---|
Author | bill_lam |
Post date | 2006-07-24T01:29:32Z |
johnbbishop wrote:
'{d ' SQL_TYPE_DATE
'{t ' SQL_TYPE_TIME
'{ts' SQL_TYPE_TIMESTAMP
eg. "update acctfl set invoicedate = {d '2000-01-01'}" for date only field. The
odbc driver should translate to the correct format for you.
regards,
bill
> Thanks for the thought - have already tried all these. Some returnFor odbc, you may use odbc escape sequence, like
> "Syntax Error in Date" (such as yyyymmdd, or dd-Mmm-yyyy) and others
> return the good old Error -303 (such as dd.mm.yyyy).
>
> The problem seems to be in MSQuery as it is MSQuery that returns the
> error, but I don't know if it is just MSQuery or the ODBC driver.
'{d ' SQL_TYPE_DATE
'{t ' SQL_TYPE_TIME
'{ts' SQL_TYPE_TIMESTAMP
eg. "update acctfl set invoicedate = {d '2000-01-01'}" for date only field. The
odbc driver should translate to the correct format for you.
regards,
bill