problems with mySQL "floor/ceiling" function 
Author Message
 problems with mySQL "floor/ceiling" function

Hi there,

I'm running into problems with functions "floor/ceiling" when I use
Visual Basic to talk to mySQL through myODBC.

My code looks like this:
sSQL = "select floor(3.2)"
Set rs = MySQL_conn.Execute(sSQL)

I got rs.eof = true after execution of the query. However the following
codes works fine.
sSQL = "select round(3.2)"
Set rs = MySQL_conn.Execute(sSQL)
rs.fields(0)=3

Can anyone tell if this is a bug of myODBC or VB's problem?



Wed, 21 Jan 2004 05:57:21 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. CEILING/FLOOR Function

2. Floor and Ceiling functions

3. BETWEEN, FLOOR, CEILING

4. BETWEEN, FLOOR, CEILING

5. Problem With "window.showmodaldialog("")"

6. DatePart Function "yy" problem

7. "Function address" problem

8. Problems regarding "Round" function

9. I have problem using function "Shell"

10. Problems with the "Now" function

11. Problems with "DIR" function

12. Problem with "Open" function

 

 
Powered by phpBB® Forum Software