What is the appropriate format to use local variables in SQL statements under python GIS?
I came across error messages when I'm running the following:
bas=24
gp.Select(input, Output_Feature_Class, "\"BAS\"= bas")
However, it is ok if I run: gp.Select(input, Output_Feature_Class, "\"BAS\"= 24")
Appreciate any potential help.
Xi