GET_VAR behavior different between SQL Server and Oracle