Any alternative to Sybase Sql Advantage? [closed]

不羁岁月 提交于 2019-12-21 05:41:32

问题


Sybase Sql Advantage is the default editor for the Sybase database. But it has lots of shortcomings, because it basically is what Notepad is for Windows users:

  • Can't do multiple undo's
  • Monochrome, text is black and background is white
  • Can't see what character did you exactly paste from clipboard, and sometimes this lead to weirdness behaviour
  • Don't see what line or column you are in the moment
  • Lack of funcionality like exports to different formats, integration with source control, plugins, etc.

I have to deal with this editor in my daily work, so I was wondering if there are any other tool. Do you know any replacement?


回答1:


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.




回答2:


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.




回答3:


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.



来源:https://stackoverflow.com/questions/2481071/any-alternative-to-sybase-sql-advantage

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