I just tried to run an SQL below with @adhoc procedure, it throws an error said "Trying to read beyond buffer length".
SQL:
select A.*,
B.name as name,
B.avatar as avatar
from PLAYERS as A left join TEAM_PLAYERS as B on A.playerID=B.id
where uID='${game.id}' and A.teamID='${game.homeTeam.id}';
Any advise?