I need to enable change tracking on every table in a database. There is a question here that shows the process
Enable change tracking on all tables in database
The problem, however, is that it puts GO at the end of the statement not on its own line. I thought the char(13) and char (10) should do it. But no luck. It creates it like this
PRINT 'Enable CHANGE_TRACKING on [dbo].[ReviewHistory]';ALTER TABLE [dbo].[ReviewHistory] ENABLE CHANGE_TRACKING GO
Instead it SHOULD be like this
PRINT 'Enable CHANGE_TRACKING on [dbo].[ReviewHistory]';ALTER TABLE [dbo].[ReviewHistory] ENABLE CHANGE_TRACKING
GO