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
myQuery = queryNew( "ID,name,age" );
writeOutput( queryColumnCount( myQuery ) );
Result: 3
Additional Examples
Related
Last updated
Was this helpful?
