I am trying to use a sql query where i'm passing a parameter
 
sql_str = "SELECT mrc_code FROM blocks where mrc_code LIKE '%s'" % (blkfld)
 
where blocks would be 31103a1, 31103e1, 31103a5, 31103e5
_______________________________________________
DB-SIG maillist  -  DB-SIG@python.org
http://mail.python.org/mailman/listinfo/db-sig

Reply via email to