SQLInstallTool-Duplicate go statement error
- Last UpdatedApr 24, 2025
- 1 minute read
The SQLInstallTool will sometimes recognize duplicate go statements as an error when it executes a script. The error message will look like the following:
ExecuteNonQuery: CommandText property has not been initialized. Error:Starting the Partial Installation of the Datapump product to server edcHistorical_EDCRTS2...
Processing file: XIS_TIMESERIES_TBL_datapump.sql
ExecuteNonQuery: CommandText property has not been initialized
Processing file: XIS_TIMESERIES_PRC_datapump.sql
Processing file: XIS_TIMESERIES_DAT_datapump.sql
Offending code
Empty "go batch"
...
[rowsPerMinute] int
)
go
go
grant SELECT on collectStats to [DNA HDBData Viewers]
To solve this problem
Delete the duplicate go statement.