Re: how to connect mysql5 using c++ in redhat-linux
am 14.02.2007 23:45:42 von m6s
What I did, because in C++ you can't be sure what's next morning, is I got
the C functions and created a class.
So using the C functions makes me for up to now after 3 years not having
changed much the code...
Perhaps I can send it to you, allthough, it sucks really.
But I"m working with VBS
am 16.02.2007 07:17:09 von otto
Hi guys ..Sorry - I hope to get soem respons regarding VBS
I got this surgestion from one swedish Guy:
strSQL= "SELECT cast(100.0*SUM(CASE Q1 WHEN 'nej' THEN 1 ELSE 0
END)/COUNT(*) as decimal(5,2)) FROM bruger_evaluering "
But I really dont know what to do with it.
Yopu can se my page at
http://www.gymnasiereform.dk/svar_q12.asp here it works fine - I get the %
of the different answers but this is with an Access DB - now Im trying to
do the same with a MY SQL DB ... but cant make the calculation for %
plaese help ..
Otto