SQLSTATE: 22007, SQLCODE: -181
declare @var1 datetime
set @var1 = '2006-09-27 00:00:00.000'
SELECT COL1, COL2, COL3
FROM IBMDB2.TESTDATA.USER1.TABLE1
WHERE COL2 = @var1
Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.
View products that this article applies to.
declare @var1 datetime
set @var1 = '2006-09-27 00:00:00.000'
SELECT COL1, COL2, COL3
FROM IBMDB2.TESTDATA.USER1.TABLE1
WHERE COL2 = @var1
File name | File version | File size | Date | Time | Platform | SP requirement |
---|---|---|---|---|---|---|
Db2oledb.dll | 6.0.2048.0 | 488,960 | 03-Nov-2006 | 17:31 | x86 | SP1 |
Db2oledb.h | Not Applicable | 24,579 | 03-Nov-2006 | 17:36 | Not Applicable | SP1 |
Ddmstr.dll | 6.0.2048.0 | 44,032 | 03-Nov-2006 | 17:31 | x86 | SP1 |
Drdaresync.exe | 6.0.2048.0 | 337,408 | 03-Nov-2006 | 17:32 | x86 | SP1 |
Microsoft.hostintegration.dataaccesslibrary.dll | 6.0.2048.0 | 86,016 | 03-Nov-2006 | 17:31 | x86 | SP1 |
Microsoft.hostintegration.dataaccesstool.exe | 6.0.2048.0 | 2,703,360 | 03-Nov-2006 | 17:32 | x86 | SP1 |
Microsoft.hostintegration.msdb2client.dll | 6.0.2048.0 | 114,688 | 03-Nov-2006 | 17:31 | x86 | SP1 |
Mseidb2c.dll | 6.0.2048.0 | 71,680 | 03-Nov-2006 | 17:31 | x86 | SP1 |
Mseidb2d.dll | 6.0.2048.0 | 435,200 | 03-Nov-2006 | 17:31 | x86 | SP1 |
Mseidrda.dll | 6.0.2048.0 | 695,808 | 03-Nov-2006 | 17:32 | x86 | SP1 |
File name | File version | File size | Date | Time | Platform | SP requirement |
---|---|---|---|---|---|---|
Db2oledb.dll | 6.0.2048.0 | 488,960 | 03-Nov-2006 | 17:31 | x86 | SP1 |
Db2oledb.h | Not Applicable | 24,579 | 03-Nov-2006 | 17:36 | Not Applicable | SP1 |
Ddmstr.dll | 6.0.2048.0 | 44,032 | 03-Nov-2006 | 17:31 | x86 | SP1 |
Drdaresync.exe | 6.0.2048.0 | 337,408 | 03-Nov-2006 | 17:32 | x86 | SP1 |
Microsoft.hostintegration.dataaccesslibrary.dll | 6.0.2048.0 | 86,016 | 03-Nov-2006 | 17:31 | x86 | SP1 |
Microsoft.hostintegration.dataaccesstool.exe | 6.0.2048.0 | 2,703,360 | 03-Nov-2006 | 17:32 | x86 | SP1 |
Microsoft.hostintegration.msdb2client.dll | 6.0.2048.0 | 114,688 | 03-Nov-2006 | 17:31 | x86 | SP1 |
Mseidb2c.dll | 6.0.2048.0 | 71,680 | 03-Nov-2006 | 17:31 | x86 | SP1 |
Mseidb2d.dll | 6.0.2048.0 | 435,200 | 03-Nov-2006 | 17:31 | x86 | SP1 |
Mseidrda.dll | 6.0.2048.0 | 695,808 | 03-Nov-2006 | 17:32 | x86 | SP1 |
File name | File version | File size | Date | Time | Platform | Service branch |
---|---|---|---|---|---|---|
Db2oledb.dll | 7.0.2535.0 | 758,544 | 07-Nov-2006 | 12:34 | x64 | Not Applicable |
Microsoft.hostintegration.dataaccesslibrary.dll | 7.0.2535.0 | 2,550,616 | 07-Nov-2006 | 12:34 | x64 | Not Applicable |
Microsoft.hostintegration.dataaccesstool.exe | 7.0.2535.0 | 613,200 | 07-Nov-2006 | 12:34 | x64 | Not Applicable |
Mseidrda.dll | 7.0.2535.0 | 1,355,536 | 07-Nov-2006 | 12:34 | x64 | Not Applicable |
Snanls.dll | 7.0.2535.0 | 128,776 | 07-Nov-2006 | 12:34 | x64 | Not Applicable |
Db2oledb.dll | 7.0.2535.0 | 516,880 | 07-Nov-2006 | 12:34 | x86 | SYSWOW |
Mseidrda.dll | 7.0.2535.0 | 781,072 | 07-Nov-2006 | 12:34 | x86 | SYSWOW |
Snanls.dll | 7.0.2535.0 | 105,224 | 07-Nov-2006 | 12:34 | x86 | SYSWOW |
; Everything after this line is an OLE DB initialization string.
Provider=DB2OLEDB;Password=<Password>;Persist Security Info=True;User ID=<Username>;Initial Catalog=S105FRDM;Defer Prepare=False;Derive Parameters=False;Network Transport Library=TCP;Host CCSID=37;PC Code Page=1252;Network Address=<Address>;Network Port=446;Package Collection=DB2USER;Default Schema=DB2USER;Default Qualifier=DB2USER;DBMS Platform=DB2/AS400;Process Binary as Character=False;Connection Pooling=True;Units of Work=RUW;DateTime As Date=TRUE
Keywords: kbdb2oledb, kbhis2004, kbfix, kbbug, kbHotfixServer, kbqfe, kbautohotfix, KB924599