| | |
Powerbuilder + MySQL
Please support our MySQL advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
Can you please specify what problem? You just start sentence and cut it in middle :cheesy:
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
•
•
Join Date: Feb 2007
Posts: 2
Reputation:
Solved Threads: 0
I found most of aggricate functions like sum, min and max are not working in powerbuilder script. it works fine in database administrator. but in power script if we tried to stored result in a variable it bangs wait i will note down the error message
Error Messagee :
SQLSTATE = S1T00
[MySQL][ODBC 3.51 Driver][mysqld-5.0.27-community-nt]FUNCTION veg.sum
does not exist
Code :
int it
select sum(item_id) into :It from item ;
if SQLCA.SQLCode = -1 then MessageBox("SQL
error",SQLCA.SQLErrText,Information!)
messagebox("count",String(it))
How to repeat:
I tried this command in powerbuilder database administrator option
without using into plane statement it works i tried max, min and sum
all aggricated funciton fail when i try to stored result in variable.
Error Messagee :
SQLSTATE = S1T00
[MySQL][ODBC 3.51 Driver][mysqld-5.0.27-community-nt]FUNCTION veg.sum
does not exist
Code :
int it
select sum(item_id) into :It from item ;
if SQLCA.SQLCode = -1 then MessageBox("SQL
error",SQLCA.SQLErrText,Information!)
messagebox("count",String(it))
How to repeat:
I tried this command in powerbuilder database administrator option
without using into plane statement it works i tried max, min and sum
all aggricated funciton fail when i try to stored result in variable.
![]() |
Similar Threads
- powerbuilder+mysql (MySQL)
- SQL Server vs MYSQL vs MSQL (i'm stopping now) (MS SQL)
Other Threads in the MySQL Forum
- Previous Thread: Customizing phpMyAdmin
- Next Thread: Database Storage Capacity
| Thread Tools | Search this Thread |
agplv3 alfresco amazon api aws bizspark breathalyzer changingprices cmg communityjournalism contentmanagement contractors copyright count court crm database design developer development distinct drupal dui ec2 email enterprise eudora facebook form foss gartner gnu government gpl greenit groklaw groupware hiring hyperic images innerjoins insert ip joebrockmeier join journalism keyword keywords kickfire laptop law legal license licensing linux maintenance managing mariadb matchingcolumns metron micromanage microsoft microsoftexchange mindtouch montywidenius mozilla multiple mysql mysqlcolumnupdating mysqldatetimeordermax() mysqlindex mysqlinternalqueries mysqlquery mysqlsearch news open-xchange opendatabasealliance opengovernment opensource oracle penelope php priceupdating query referencedesign reorderingcolumns resultset saas select sharepoint simpledb sourcecode spotify sql sugarcrm syntax techsupport thunderbird transparency virtualization






