Comparison of PL/SQL and T-SQL commands