Comments
Sort by recent activity
No, they should not be in source control, I've excluded them from source control and it still works fine. / comments
No, they should not be in source control, I've excluded them from source control and it still works fine.
What about making your migration scripts environment aware e.g. IF (@@SERVERNAME = 'MyProductionServer')Assuming your database doesn't move servers in the meantime. I wouldn't use this technique for business logic in application code i.e. in a stored procedure, but for a one-off script I think it's Ok? / comments
What about making your migration scripts environment aware e.g. IF (@@SERVERNAME = 'MyProductionServer')Assuming your database doesn't move servers in the meantime. I wouldn't use this technique fo...