2010/7/20 Arun Kumar <jakheart001 / gmail.com>: > Hi all, > > For your reference i attached the sample code ruby file please refer it > > Thanks in advance, > Arun.... Hi Arun, You should replace @@db_conn.execute("INSERT INTO #{tableName}(#{string_clm_names}) VALUES(#{testarray1})") by @@db_conn.execute("INSERT INTO #{tableName}(#{string_clm_names}) VALUES(?)", testarray1) Doing so, you'll let DBI do all the magic conversion and I guess that might be related to your first problem. -- Xavier NOELLE