Caché SQL Reference
SQRT

Search: 
SQRT(numericexpression) {fn SQRT(numericexpression)}
An expression that resolves to a positive number from which the square root is calculated. 
SET a=0 WHILE a<11 { &sql(SELECT SQRT(:a) INTO :b) IF SQLCODE'=0 { WRITE !,"Error code ",SQLCODE QUIT } ELSE { WRITE !,"The square root of ",a," = ",b SET a=a+1 } }
Copyright © 19972019 InterSystems Corporation, Cambridge, MA

Content for this page loaded from RSQL_sqrt.xml on 20190319 02:18:41
