Hi @dilii,
Take a look at this thread both suggested solutions will work.
Your output will be off course be a datatable type.
Since you will have only one row output, you can then use
Assign activity
SQL output (string type) = YourResultDatatable.Rows(0).Item("YourColumnName").ToString