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...
Yeah PG001 thats what I was thinking I need to paint stuff in a different place when a new person gets added. I'm not sure how I'll do that yet, maybe I'll put draw coordinates in the constructor of the person...
Thanks I may try that. What I did in the end was have a file with this in it:
public static Graphics FORMGRAPHICS;
Then when the form loaded in the constructor I put
FORMGRAPHICS = this.CreateGraphics();
It worked in a test. What do you think to that approach versus yours?
cheers,
Chris
Ok thanks. I already can draw to the form by overriding the OnPaint method using System.Drawing assembly.
What I want to know is that if I have lets say a Person object say Person chris = new Person()
and I want to have an image associated with chris, which would be drawn onto the form, what...
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.