Re: select count(*) Problem in PowerBuilder Thru MySQL ODBC 3.51

2003-08-14 Thread Hans van Harten
Fatt Shin wrote: > Yes, found the problem, you are right. Thanks. > But this is something caused by powerbuilder, in my code I never put > any space between count(*), but when it goes to odbc, an space is > added. Any idea how to solve this? Wouldn't sum(1) return the same count -theoratically fast

RE: select count(*) Problem in PowerBuilder Thru MySQL ODBC 3.51

2003-08-09 Thread Fatt Shin
: Friday, August 08, 2003 12:17 AM To: Fatt Shin Cc: [EMAIL PROTECTED] Subject: Re: select count(*) Problem in PowerBuilder Thru MySQL ODBC 3.51 You are not doing "select count(*)" You are doing "select count ( *)" Get rid of the spaces before the "(" Fatt Shin w

Re: select count(*) Problem in PowerBuilder Thru MySQL ODBC 3.51

2003-08-07 Thread gerald_clark
You are not doing "select count(*)" You are doing "select count ( *)" Get rid of the spaces before the "(" Fatt Shin wrote: Hi, I'm running MySQL 4.0.13, connecting from PowerBuilder 9 using ODCB Connector 3.51. I'm facing a problem where whenever I issue a SELECT COUNT(*) statement from PowerBui