Any alternative to Sybase Sql Advantage? [closed]

三世轮回 提交于 2019-12-03 17:15:23

There is TOAD and AQUA but neither is free although demos allow you try before you buy. I use ASEISQL which is free and does a lot of what you're after very well. I can't imagine going back to sql advantage.

I like Aqua's Data Studio a lot -- and they aren't expensive for personal use. In addition to Sybase, a whole bunch of other database-servers are supported from within the same interface. Written in Java the app really does run anywhere -- I use it on FreeBSD, for example. In fact, FreeBSD even has the databases/adstudio port already.

Notepad++ has syntax highlighting for SQL and can run a command on the file in the editor. Notepad++ can function as a SQL IDE.

free: http://notepad-plus-plus.org/

I assume that anyone who has Sybase SQL Advantage also has isql.
Mine is under C:/Sybase/BIN/isql.exe.

One can use the notepad++ NppExec plugin for calling isql.

How to install and run:

  1. Launch Notepad++
  2. Main menu -> Plugins -> Plugin Manager -> Show Plugin Manager
  3. Available Tab, Find and check NppExec plugin
  4. Press Install button to download & install plugin – restarts Notepad++
  5. Open a SQL script
  6. Press F6 key (NppExec’s default execute keyboard mapping)
  7. Enter something like:

    c:/Sybase/BIN/isql -U yourUser -P secret -S yourDB -i$(CURRENT_DIRECTORY)\$(FILE_NAME)

Whereby the path C:/Sybase/BIN will need to be your path to your isql executable. If the path to isql is in your PATH variable, then the path can be excluded:

  isql -U yourUser -P secret -S yourDB -i$(CURRENT_DIRECTORY)\$(FILE_NAME)
  1. Either save as a script or press the OK button to run.

If you save the script, then it does save your password in a file; you might not want to do that... One could leave the password field empty when saving the script and then add the password in before running. Just don't save the password in your script file, if that is a issue for you (which it should be).

Upon running an external command (isql in this case), Notepad++ show the output in a console window.

Caveat: Notepad++ may have issues when displaying millions of records.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!