SQLVALUES()

From Lianjapedia
Revision as of 11:32, 10 December 2012 by Yvonne.milne (Talk | contribs)

Jump to: navigation, search

Purpose

Function to return the single row result of an SQL statement

Syntax

SQLVALUES(<SQL statement>)

See Also

SELECT

Description

The SQLVALUES() function executes the <SQL statement> and returns the result as a string. The required <SQL statement> cannot return multiple rows. If a SELECT statement is specified it must be a singleton select.

Example

open database southwind
cTotal = sqlvalues("select count(*) from orders")