Sql with result and process step parameter types

Hello

I hope someone could help me understand how data types are handled in process step parameters.

My first question is about the SQL with result component. I seem to be able to get only a single field as a string from this component, i.e. I am unable to use it for queries that produce more results. I am unsure if this is working as intended or caused by the way I handle the output. I assume I am doing it wrong, but is this component intended to return more than a single field?

Secondly, I am using 'Value = "&OUT(<parameter name>)&"' to pass output values from previous steps as arguments into my receiver scripts. The data types I can pass seem to be limited by string conversion. Am I getting this wrong? If not, is there a way to pass data as any type?

Thanks!