Caché SQL Reference
POWER


Search: 
POWER(numericexpression,power) {fn POWER(numericexpression,power)}
The base number. Can be a positive or negative integer or fractional number.  
The exponent, which is the power to which to raise 
SET a=1 WHILE a<17 { &sql(SELECT {fn POWER(2,:a)} INTO :b) IF SQLCODE'=0 { WRITE !,"Error code ",SQLCODE QUIT } ELSE { WRITE !,"2 to the ",a," = ",b SET a=a+1 } }
Copyright © 19972017, InterSystems Corporation

Content for this page loaded from RSQL_power.xml on 20170929 10:49:50
