I run this inside my cfquery .
SET @rID = ( SELECT TOP 1 roleid FROM Roles WHERE RoleName = @rName AND appid = @appID ORDER BY Created DESC);
Is it possible to get @rID without restarting the SELECT query? How in:
<cfset varName = queryName.rID>
The above does not work explicitly, but is there any other way to return a variable from a request?
source share