Start a new topic

Command Line Execution

I was trying to run some command line code, but keep getting an error.


I cd into the dbviz directory and execute the following:


dbviscmd.bat -connection "ANALYTICS" -sql "select top 10 * from TEST.DBO.EXAMPLE"  -output result


get a "9 was unexpected at this time" error. 


Same error if i just execute dbviscmd.bat


Thanks!




Maciej,


A few questions:

  1. What database and version are you using? 
  2. DbVisualizer version?
  3. Windows, macOS or Linux?

Regards


Roger

SQL Server 2016

Dbvis 10.0.17

Windows

Thanks.


Please upgrade to the latest official 10.0.21 version. Easiest is that you open Help->Check for Update in DbVisualizer to perform the upgrade. An alternative is that you download from our web site: http://www.dbvis.com/download/


Regards


Roger

It's working after the update. Thanks!

Super. Great to hear!


Regards


Roger

Login or Signup to post a comment