Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL Server 2016 Instance STIG - SQL script with GO caused the execution error #471

Open
pursca opened this issue Aug 12, 2019 · 0 comments
Assignees
Labels
bug Something isn't working In Progress

Comments

@pursca
Copy link

pursca commented Aug 12, 2019

Describe the bug
There are several SQL single line statement in the compiled MOF file contains the "GO" ... this caused the sql script failed to execute

To Reproduce
Make a SQL 2016 configuration, compile and check the mof file, copy that sql statement to run in SSMS and it will fail

Expected behavior
"GO" has to be in its own line or "GO" needs to be removed:
reference:
https://docs.microsoft.com/en-us/sql/t-sql/language-elements/sql-server-utilities-statements-go?view=sql-server-2017

Screenshots

Additional context

@stevehose stevehose self-assigned this Nov 7, 2019
@stevehose stevehose added bug Something isn't working In Progress labels Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working In Progress
Projects
None yet
Development

No branches or pull requests

2 participants