furthermore to clarify these two statements:
curs.execute(sqlToRun, [ 'first', 'second', 'third' ])
curs.execute(sqlToRun, [ 'forth', 'fifth', 'sixth' ])
Does that mean that the server doesn't need to translate sqlToRun to internal format twice?
thanks only just read these replies, but came to the same conclusion earlier. But I thought it was down to our implementation - not the documentation being wrong!!
This for me is not much better than using
sqlToRun = 'Select %s %s %s' % ('first', 'second', 'third')
Although documentation said...
sqlToRun was in first instance
SELECT TOP 1 * FROM ADDRESS WHERE ad_city = @city
In the second it was
SELECT TOP 1 * FROM ADDRESS WHERE ad_city = 'NEW YORK'
So in the first I thought @city would have been replaced with 'NEW YORK' by the excute method...
Maybe I can turn on logging in...
Yes it the cursor object. I couldn't figure out how to tell which version we were using (I thought of that also). There were were a few version properties on the module but most of them returned much higher numbers than 0.39. I thought that maybe 0.39 was the package version and that what I...
Hi,
I have a Dell laptop with N wireless card in. I have a belkin draft n wifi router (belkin). I have qnap raid nas wired into the router via cat 5 cable.
My laptop says it has got a 144Mps connection but when I try to copy a file from the laptop to the nas it does it at about 12Mbps (~1.5...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.