Microsoft KB Archive/105326: Difference between revisions
(importing KB archive) |
m (Text replacement - """ to """) |
||
Line 47: | Line 47: | ||
</span><br /> | </span><br /> | ||
<br /> | <br /> | ||
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED | THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.</blockquote> | ||
|} | |} | ||
Last reviewed: May 5, 1997<br /> | Last reviewed: May 5, 1997<br /> | ||
© 1998 Microsoft Corporation. All rights reserved. [[../cpyright|Terms of Use.]]<br /> | © 1998 Microsoft Corporation. All rights reserved. [[../cpyright|Terms of Use.]]<br /> |
Latest revision as of 08:45, 20 July 2020
BUG: ESQL: Null Indicators May Not Work with Datetime ColumnsLast reviewed: May 5, 1997 |
The information in this article applies to:
BUG# 9445 (4.21) SYMPTOMSIn Embedded SQL (ESQL) for COBOL, a static INSERT statement does not insert NULLs into a datetime column, even if the NULL indicator is set. When inserting into a datetime column, the NULL indicator is simply ignored, and the following default datetime value is inserted: 1/1/1900 12:00AM However, if the INSERT statement is dynamic, NULLs are inserted correctly using null indicators. CAUSESQL Server Embedded SQL for COBOL incorrectly ignores null indicator when inserting NULLs into a datetime column if the insert is static. WORKAROUNDUse dynamic SQL statements, or perform updates on the datetime column to change the default datetime values to NULLs using an insert trigger. STATUSMicrosoft has confirmed this to be a problem in Embedded SQL version 4.21 for COBOL. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. |
Additional query words: |
Last reviewed: May 5, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.