SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Parameters for sqleditor.exe

 
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant View previous topic
View next topic
Parameters for sqleditor.exe
Author Message
gemisigo



Joined: 11 Mar 2010
Posts: 2165

Post Parameters for sqleditor.exe Reply with quote
What are the command line input parameters for sqleditor.exe?
Sun Aug 30, 2015 6:16 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Reply with quote
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 View user's profile Send private message
gemisigo



Joined: 11 Mar 2010
Posts: 2165

Post Reply with quote
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 View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Reply with quote
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 View user's profile Send private message
gemisigo



Joined: 11 Mar 2010
Posts: 2165

Post Reply with quote
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 View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
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


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.