The information in this article applies to:
SUMMARY
If you have a table with a key of type SQLDATETIME, after an entry has been
selected by an application and you save the key in a program variable of
type DBDATETIME, the best way to retrieve the customer information (given
that you have the key stored in a variable of type DBDATETIME) is the
following:
When you save your key as type DBDATETIME, it is possible to lose a portion of the unique time information. Converting the key to a string of type 9 or 109 prior to selection is the most reliable method of using a key of type DATETIME for further data retrieval. MORE INFORMATION
There are several things you need to consider when using a stored DATETIME
key for data selection:
The following file is available for download from the Microsoft Software Library: ~ DKEY.EXE For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base: Q119591 : How to Obtain Microsoft Support Files from Online Services Additional query words: dblib DB-Lib Windows NT
Keywords : kbprg SSrvDB_Lib SSrvProg SSrvTrans |
Last Reviewed: March 9, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |