The syntax shown would not run correctly on Sybase Adaptive Server Enterprise (ASE), as opposed to MS-SQL. The difference lies in the way the statments are grouped into a batch: in this form, it's invalid syntax in ASE (though it would be correct syntax in a stored procedure in ASE, but that's just a few bridges too far here)
The syntax shown would not run correctly on Sybase Adaptive Server Enterprise (ASE), as opposed to MS-SQL. The difference lies in the way the statments are grouped into a batch: in this form, it's invalid syntax in ASE (though it would be correct syntax in a stored procedure in ASE, but that's just a few bridges too far here)