请大家帮忙指点一下,编译不通过
proc pc filechar lsaCommand[100];
memset(lsaCommand,0,sizeof(lsaCommand));
strcpy(lsaCommand, "Index_name");
方法一:
EXEC SQL EXECUTE
BEGIN
ctx_ddl.sync_index(:lsaCommand);
END;
END-EXEC;
//PLS-S-00201 Please declare identifier CTX_DDL.SYNC_INDEX. 不知道怎么declare 
//PLS-S-00000 Statement ignored semantic error.
//PCC-S-02346 The meaning error was found by PL/SQL.方法二
EXEC SQL exec ctx_ddl.sync_index(:lsaCommand);
//Syntax error: possible missing ';' or ','?
//Undeclared identifier EXEC.
请大家帮看看是程序问题还是需要加什么编译预选项
谢谢