FIX: ?? ?? ??? ????? ??????? ??? ??????? ?????? SQLExecute ????? ????? ???? ??????? "?????? ????? SQL ODBC ?????? ??????" ?? SQL Server 2008

?????? ????????? ?????? ?????????
???? ???????: 957387 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???: 50003391 (??????? ?????? SQL)
????? ???? | ?? ????

?? ??? ??????

???????

????? ??????? "?????? ????? SQL ODBC ?????? ??????" ?? Microsoft SQL Server 2008. ???? ??????? ?????? SQLExecute ????? ????? ???? ?? ??? ????? ??? ?????. ??? ???? ??? ??? ?????? "?????? ????? SQL ODBC ?????? ??????" ?? SQL Server 2005 ??? ??????? ???? SQLExecute ??? ????? ???????.

?????

?? ???? ??? ??????? ????? ????? ??? ?? ?????? SQL ?????? ?????? ????? ODBC ?? SQL Server 2008. ?? ???? ?? ???? ??????? ?????? SQLBindParameter ??? ?? ???? SQLExecute ??. ???? ??? "???? ?? ?????????" ?????? ??? ???? ?? ?????????.

????

??????? ??????? ????????

?? ????? ??????? ????? ???? ??????? ????? ?? ??????? ???????? 1. ????? ?? ????????? ??? ????? ?????? ??? ???? ??????? ???????? ??? ?? SQL Server 2008 ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
956717???? ??????? ???????? 1 ?? SQL Server 2008
?????? ??? ????????? ???????? ????? ?? ????? ????? ???? ???? ????????? ??????? ????? ???? ??????? ?????? ???? ?? ??????? ?? SQL Server 2008 ??????? ???????. ???? Microsoft ?????? ????? ???? ????? ??????? ???? ????? ??? ??? ??????? ??????. ????? ?? ?????????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
956909???? SQL Server 2008 ???? ?? ??????? ??? ????? SQL Server 2008

??????? ??????? ??????

????? ????? ???? ????? ?? Microsoft. ???? ????? ??? ?? ?? ??????? ??????? ?? ??? ???????. ????? ??? ??????? ?????? ??? ??? ??????? ???? ????? ??? ??????? ????????. ?? ??? ????? ???????? ?????? ??? ??? ??????? ??????. ?????? ??? ?? ??? ????? ??? ??????? ??????? ???? ????????? ??? ??????? ?????? ?? ????? ???????? ???? ????? ??? ??? ??????? ??????.

?? ???? ????? ??????? ?????? ???? ??? "???? ????? ??????? ????" ???? ????? ????? ??????? ??? ???. ??? ?? ???? ??? ?????? ???? Microsoft ???? ??????? ?????? ?????? ??? ??????? ??????.

?????? ???? ?????? ?????? ?? ?? ?? ???? ?????? ??? ??????? ??????? ???????? ?? ???? ????? ????? ??? ???? ?????. ???? ????? ?????? ????? ???????? ??? ????? ????? ???????? ????????? ???? ?? ???? ??? ???? ??? ??????? ?????? ????????. ?????? ????? ????? ?????? ????? Microsoft ???? ??????? ?????? ?????? ????? ?? ?????? ??? ???? ????? ?? ?????? ???? Microsoft ?????? ??? ?????:
http://support.microsoft.com/contactus/?ws=support
?????? ???? ????? "???? ????? ??????? ??????" ?????? ???? ????? ??????? ??????. ??? ?? ????? ????? ?????? ??? ???? ??? ???? ?? ????? ????? ???? ???? ?????.

??????? ?????

????? ????? ????? ?????????? ?? ??? ??????? ?????? ???? ????? (?? ???? ????) ??????? ?? ?????? ??????. ??? ??? ???????? ???????? ?????? ???? ??????? ?? "??? ??????? ???????" (UTC). ????? ???? ???? ??????? ?????? ??? ??????? ??? ??????? ??????. ?????? ????? ??? ??????? ??????? (UTC) ???????? ??????? ?????? ????? ??????? ??????? ??????? ?? ???? ??????? ?????? ?? "???? ??????".
SQL Server 2008 ????????? 32-bit
?? ??? ??????????? ??? ??????
??? ?????????? ???????? ????????????????????? ???????
Kfsqlncli.dll2007.100.1755.016,920? ?????? ????15: 23x 86
Sqlncli10.dll2007.100.1755.02,459,672? ?????? ????15: 40x 86
SQL Server 2008? ??????? ?? ??
?? ??? ??????????? ??? ??????
??? ?????????? ???????? ????????????????????? ???????
Kfsqlncli.dll2007.100.1755.017,432? ?????? ????20: 57x 64
Sqlncli10.dll2007.100.1755.03,158,552? ?????? ??????: ??x 64

???? ??????

??????? ?????? ??? ??? ??????? ?? ???????? ?????? SQLBindParameter ??? ?????. ??? ??????? ?????? SQLBindParameter ???? ?? ????? ?????? ???????:
  • ???? ??????? ColumnSize ??? ?????.
  • ?? ????? ??????? Strlen_or_IndPtr SQL_NTS.
??? ????? ????????? ????? ??? ?????? SQLExecute ???? ??? ???? ??????? ??????? ??? ??????? ParameterValuePtr.

?????

???? Microsoft ?? ??? ????? ?? ?????? Microsoft ??????? ?? ??? "????? ???".

??????? ????

???? ??? ??????? ?????? ??????? SQLBindParameter. ??? ??? ?????? ?????? ?????? ?? ??? ??? ?????? ???????, ?? ??? ????? re-prepare ???????. ?? ?????? ?????? ?? ???? ODBC ?????? ?????? ??????? ?????? ????? ??? ??????? ??????? ???????.

??????? ??????:
SQLBindParameter ????? ec8 b6c ?? ??? ????? 0 (SQL_SUCCESS)
HSTMT 05a8e260
UWORD 1
SWORD 1 <sql_param_input>
SWORD-8 <sql_c_wchar>
SWORD-9 <sql_wvarchar>
SQLULEN 7
SWORD 0
PTR 0x028c8a98
SQLLEN 65535
SQLLEN * 0x050506f8 (14)
??????? ??????? ???????:
SQLBindParameter ????? ec8 b6c ?? ??? ????? 0 (SQL_SUCCESS)
HSTMT 05a8e260
UWORD 1
SWORD 1 <sql_param_input>
SWORD-8 <sql_c_wchar>
SWORD-9 <sql_wvarchar>
SQLULEN 14
SWORD 0
PTR 0x028c4f80
SQLLEN 65535
SQLLEN * 0x050506f8 (28)

?????

?????? ??? ???? ?? ????????? ??? ???? SQLExecute ?? ?????? ???? ???? ????? Microsoft (MSDN) ?????? ??? ?????:
http://msdn.microsoft.com/en-us/library/ms713584(VS.85).aspx
?????? ??? ???? ?? ????????? ??? ???? SQLBindParameter ?? ?????? ???? MSDN ??????:
http://msdn.microsoft.com/en-us/library/ms710963(VS.85).aspx

???????

???? ???????: 957387 - ????? ??? ??????: 19/?? ??????/1429 - ??????: 2.0
????? ???
  • Microsoft SQL Server 2008 Developer
  • Microsoft SQL Server 2008 Enterprise
  • Microsoft SQL Server 2008 Standard
  • Microsoft SQL Server 2008 Standard Edition for Small Business
????? ??????: 
kbmt kbautohotfix kbexpertiseinter kbfix kbbug kbqfe kbhotfixserver KB957387 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????957387

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com