[DB-SIG] RE: Re: [DB-SIG] oracledb and LONG

Jekabs Andrusaitis j.andrusaitis@konts.lv
Fri, 18 Sep 1998 14:49:44 +0300


> sql = 'INSERT INTO TABLE_1 (COL_1) VALUES (:1)'
> cursor.execute(sql, (longVal, ))

I believe it is always a good idea to use bind variables. That way you dont
have to worry about contents of string you want to insert.

            Jeekabs