Skip to content
Discussion options

You must be logged in to vote

At present, within HammerDB there isn't the option to parse additional command line arguments aside from the script name:
Parameters are set in your script (or at the command line) using the diset command, for example:

diset('connection','mssqls_tcp','false')
diset('connection','mssqls_port','1433')
diset('connection','mssqls_azure','false')
diset('connection','mssqls_encrypt_connection','true')
diset('connection','mssqls_trust_server_cert','true')
diset('connection','mssqls_authentication','windows')
diset('connection','mssqls_server','{(local)}')

Although I have not looked into it may be possible to use argparse to convert a command line argument such as
--connection:mssqls_tcp false i…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sm-shaw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants