# QueryGetRow()

this function is deprecated, use the function [QueryRowData()](queryrowdata.md) instead.

**Status:** deprecated

```
QueryGetRow( query=query, rowNumber=number );
```

**Returns:** any

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| query | query | Yes | query object do get data from |  |
| rowNumber | number | Yes | position of the row to be returned *Alias: rowNum* |  |

# Examples

```cfml
myQry=QueryNew("id,name","Integer,VarChar",[[99,'sm'],[55,'mk']]);
cfloop( query="myQry"){
	writeDump(querygetrow(myQry,2));
}
```







# Categories

[Queries](../../categories/query.md)

# See Also

[QueryRowData()](queryrowdata.md), [query.getRow()](../objects/query/getrow.md)