By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,908 Members | 1,892 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,908 IT Pros & Developers. It's quick & easy.

Trying to parse a query from a fil

P: 2
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_analyser (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.
Apr 3 '08 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.