Check Transact-SQL's syntax