SQL Query Question

Shengquan Liang liang at cad.gatech.edu
Wed Jun 7 15:55:08 EDT 2000


if i need a variable to be used as the creteria
for selection, how do i construct the query?

say i have a variable pp=1000 
in the program
and i'd like to 
use the following query:
	SELECT AAA FROM BBB
	where cc = 1000

if i want to replace that 1000 with the variable 'pp'
in the Python program, how do i modify the query statement?

thanks.



More information about the Python-list mailing list