In MS SQL examples I’ve seen many examples where USE <Database_name> is followed by GO.
USE YourDatabaseName;
GO
DROP TABLE Shippers;
GO
Batching would mean that when the first GO fails, it’ll continue to the second. That would mean if it fails to switch database the second command would potentially run on the wrong database. So my question is why is it so common to follow USE database with GO, batching it?