cepb (cepb) wrote,
cepb
cepb

Найдите два отличия

Цинк#1
https://docs.microsoft.com/en-us/sql/odbc/reference/develop-app/sql-no-data?view=sql-server-2017
When an ODBC 3.x application calls SQLExecDirect, SQLExecute, or SQLParamData in an ODBC 2.x driver to execute a searched update or delete statement that does not affect any rows at the data source, the driver should return SQL_SUCCESS, not SQL_NO_DATA. When an ODBC 2.x or ODBC 3.x application working with an ODBC 3.x driver calls SQLExecDirect, SQLExecute, or SQLParamData with the same result, the ODBC 3.x driver should return SQL_NO_DATA.

Цинк#2
https://docs.microsoft.com/en-us/sql/odbc/reference/appendixes/returning-sql-no-data?view=sql-server-ver15
When an ODBC 2.x application workingwith an ODBC 3.x driver calls SQLExecDirect, SQLExecute, or SQLParamData, and a searched update or delete statement was executed but did not affect any rows at the data source, the ODBC 3.x driver should return SQL_SUCCESS. When an ODBC 3.x application working with an ODBC 3.x driver calls SQLExecDirect, SQLExecute, or SQLParamData with the same result, the ODBC 3.x driver should return SQL_NO_DATA.

p.s. Выделил специально для тех, кто не читает!
С 2017ого вам пишут программы по стандартам от МелкоМягких, которые не обеспечивают обратную совместимость
с предыдущими версиям. Новый тренд маркетинговый. Привыкайте.
Tags: феерично
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments