Skip to content

ostress.exe incorrect syntax #25

@aprilcodes

Description

@aprilcodes

I'm working through Module 4 and got stuck writing the syntax to run ostress.exe in SSMS. The file sqlworkload.cmd has the following command:

ostress.exe -Saw-server.database.windows.net -itopcustomersales.sql -Ucloudadmin -dAdventureWorks -P -n10 -r2 -q

I have edited it to read:

ostress.exe -Saw-server552557.database.windows.net -itopcustomersales.sql -Ucloudadmin -dAdventureWorks552557 -PmyPassWord -n10 -r2 -q

I get the following error:
Msg 102, Level 15, State 1, Line 2
Incorrect syntax near 'Saw'.

I have researched possibilities and find some examples using quotes like -S "servername.domain.net" and other examples using just a space after -S and no quotes. I have edited various ways but do not see the solution. Any help will be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions