I have a stored procedure
exec dbo.update_candidate "ur", 0
where "ur",0 -is paramtrs
But if it is called in the program, it does not work:
params = list()
name1 = "ur"
voises1 = "1"
params1=(name1,voises1)
cursor.execute("{CALL update_candidate (?,?)}",params1)
it does not work? Do you get an error? It just doesn't execute? Do you have an open connection to the SQL Server?