Causes of SQL statement construct failure in VC ++ database programming

zhaozj2021-02-16  54

The database type is MDB, and the database engine uses an OLE-DB connection method.

The aggregation query-sum sum findment is used in the Select query, and the two field values ​​of the summary will be divided. Since the fraction of the fragment value occurs, the division operation error is wrong, and the return record set result is empty. .

Summary: Don't be as possible

SQL

The division operation is made in the statement unless you already know that the divided is not possible!

转载请注明原文地址:https://www.9cbs.com/read-20667.html

New Post(0)