- 论坛徽章:
- 0
|
我在win2000中用prc C预编译下面pc程序:
EXEC SQL INCLUDE sqlca;
EXEC SQL BEGIN DECLARE SECTION;
struct A gs_A;
struct B gs_B;
EXEC SQL END DECLARE SECTION;
EXEC SQL WHENEVER SQLERROR CONTINUE;
EXEC SQL WHENEVER NOT FOUND CONTINUE;
/*****************************************************************************
* 主函数处理
*****************************************************************************/
void main(int argc, char *argv[])
{
EXEC SQL UPDATE ssbb
SET sscc= :gs_A.ha
WHERE sscc = :gs_B.hb;
}
出错!!!请问怎样解决!!!谢谢~~~ |
|