QueryColumnCount

This function returns the number of columns in a query

Method Signature

QueryColumnCount(query=[query])

Arguments

Argument
Type
Required
Description
Default

query

query

true

The query to get the column count from

Examples

Output number of query columns

Run Example

myQuery = queryNew( "ID,name,age" );
writeOutput( queryColumnCount( myQuery ) );

Result: 3

Additional Examples

Run Example

Last updated

Was this helpful?