Hi,

I am building the insert string for inserting into particular table t1
using C program. The below string is stored in a variable.

say sqlstmt = 'INSERT INTo T1 values(:id,:ename);'

The values for the field's id, name will come from the front end. The
sql string will be executed using Pro *C in Oracle.

Can we get the MySQL Equivalent so that we can use the same in our C
program? Do we have bind variable or host variable concepts in MySQL?

            In MySQL tried with @, i.e set the values of id, ename as
@id = 10, @ename = 'Sample' after that used

                     Insert into t1 values(@id,@ename). This worked
fine.  Can we use the same "@" for the binding values in "C' Program for
mysql?.

Thanks for help in advance.

Regards,

Narasimha









Confidentiality Notice

The information contained in this electronic message and any attachments to 
this message are intended
for the exclusive use of the addressee(s) and may contain confidential or 
privileged information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.

Reply via email to