I have a weird problem in mysql query:
I have done a query like this that works in MSSQL but not in MySQL:
SET @perid = ( SELECT permissions FROM tblro