FIX: DATEADD does not accept scientific notation for the NUMBER argument (283844)
The information in this article applies to:
- Microsoft SQL Server 2000 Windows CE Edition 1.1 SP1
- Microsoft SQL Server 2000 Windows CE Edition 1.1
- Microsoft SQL Server 2000 Windows CE Edition
This article was previously published under Q283844 SYMPTOMS The Microsoft SQL Server CE DateAdd function returns a new datetime value based on adding an interval
to a specified date. When you call the DateAdd function and pass a value in scientific notation for the second
argument, this error message occurs: HRESULT:
DB_E_ERRORSINCOMMAND Minor Error: SSCE_M_QP_INVALIDFUNCTIONARGS
(25922) Source: Microsoft SQL Server for Windows CE Description: One
or more errors occurred during processing of command. Interface defining error:
IID_ICommand CAUSE SQL Server CE is not casting the second argument to the
appropriate type. WORKAROUND SQL Server CE supports BIGINT values for the second
parameter of the DateAdd function. Avoid passing a value in scientific notation for this
parameter. RESOLUTIONTo resolve this problem, obtain and install SQL Server 2000
Windows CE 2.0.STATUS This bug was corrected in Microsoft SQL Server 2000 Windows CE
2.0.
REFERENCES For additional information, see the "DATEADD function"
topic in SQL Server CE Books Online.
Modification Type: | Minor | Last Reviewed: | 9/20/2005 |
---|
Keywords: | kbfix kbBug kbpending KB283844 |
---|
|