Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Percentage in sql
Message
From
05/10/2006 07:55:13
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Percentage in sql
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01159615
Message ID:
01159615
Views:
54
I am trying to percentage but i error
SELECT scode,descr,lcode,sec,;
TRANSFORM(round(CAST(sum(obt05)) AS I) ;
                  /;
               COUNT(code) *100;
             ,2),"###%") AS sPER;
 WHERE examcode=thisform.code.value .and.scode="H";
 FROM Examtran;
 GROUP BY lcode,sec;
 into cursor hsper
Next
Reply
Map
View

Click here to load this message in the networking platform