HOW CALL PROCEDURE DEFINED IN INFORMIX DATABASE?
Posted in 1999
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
Hi, everybody. I want to ask you a question. Informix can define procedure in database. But I don't know whether the procedure defined in database can be called in esql/c program, can you tell me? If so, can you tell me how call it? Thank you.
You can excute the procedure via the execute statement or as part of a select. Liu Jiachuan wrote: > Hi, everybody. > I want to ask you a question. > > Informix can define procedure in database. But I don't know whether the > procedure defined in database can be called in esql/c program, can you tell > me? If so, can you tell me how call it? > > Thank you.
Liu Jiachuan wrote: > Hi, everybody. > I want to ask you a question. > > Informix can define procedure in database. But I don't know whether the > procedure defined in database can be called in esql/c program, can you tell > me? If so, can you tell me how call it? > > Thank you. In esql/c program: EXEC SQL execute procedure prc() into :some_var; See also http://www.informix.com/answers/oldsite/answers/english/esqlc.htm for ESQL/C doc. Dalius Masalas -- Sidabrinis tinklas J.Jasinskio 16, 2600 Vilnius, Lithuania Tel.: 370-2-235926 Fax.: 370-2-235917 E-mail: stinklas@post.omnitel.net