It turns out SQL Server uses @@fetch_status instead of @@sql_status.
Feh.