Trying to parse a query from a fil

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • destiny1
    New Member
    • Apr 2008
    • 2

    #1

    Trying to parse a query from a fil

    Hi,

    I am to parse all the queries from a code file and insert all the queries into database. I am using the following query to insert into DB:

    cursor.execute( "insert into tab_query_analy ser (Query_no, res_qry) values ('?','?")+\
    (query_list[index_2],query_list[index_2+1]);

    Please let me know if the query i am using is right! if not what is the solution.
Working...