 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
gemisigo
Joined: 11 Mar 2010 Posts: 2165
|
|
Parameters for sqleditor.exe |
|
What are the command line input parameters for sqleditor.exe?
|
|
Sun Aug 30, 2015 6:16 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
I believe on the command line it supports file path to the file to edit. That's all documented. If it supports anything else, it's undocumented and I'm unaware of it.
sqleditor.exe path-to-file
|
|
Mon Aug 31, 2015 8:51 am |
|
 |
gemisigo
Joined: 11 Mar 2010 Posts: 2165
|
|
|
|
What connection is going to open for that file? Or does is simply pop up the connection dialog? If so, may I request a feature or improvement where it can get connection properties from command line?
|
|
Mon Aug 31, 2015 10:03 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
If the last used connection had Auto-connect option selected, it will connect automatically, otherwise the connection dialog will popup.
The file parameter allow associating .SQL files with SA SQL Editor, so you can open the say from Windows Explorer with a simple double-click. If you need to execute a script using a particular database connection, you can use sacmd.exe for that purpose.
How do you see using sqleditor with database connection parameters specified in the command line?
|
|
Mon Aug 31, 2015 10:19 am |
|
 |
gemisigo
Joined: 11 Mar 2010 Posts: 2165
|
|
|
|
I'm testing utils for database schema and data comparison. Some of them (like the compare in SA) is able to either execute the diff script on its own or pass it to an editor for further review. That's where fetching connection parameters from the command line would come in handy
|
|
Mon Aug 31, 2015 11:13 am |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|