How do I know The merge function for which version it suports in sybase ? I have sybase 15 but there are developers using sybase 12. In this link they didnt mention for which versions the function works, I am afraid I use it and some old sybase version dont support it .
Related
I wanted to ask if I understand correctly the upgrade of Postgres. Currently version 9.6 is installed on the server. I plan to raise version 12. Is the easiest solution to do a dumpall (because there are several databases on this server and I do not want to do only the whole separately) then remove the old version of postgres and install a newer one? I wanted to make sure because I found some examples. Should I still do something about this flow? I am asking for guidance.
Best is to install the old and the new version of PostgreSQL side by side.
Then you can either use pg_dumpall (from the newer version!) and psql to dump and restore, or you can use pg_upgrade.
The documentation covers that in detail.
I work with Sybase Central 4.3.0.2428 and the server is Sybase ASE 16.0 SP01 PL03/EBF 24830.
I would like to debug stored procedures.
How do I do that?
There is a command line tool called sqldbgr. Look for the manual to check the parameters and commands.
Years ago Sybase has released a Eclipse based suite called Sybase Workspace. It had included an interface for the SQL debugger. But the product is no longer maintained and is no longer available. You will have trouble to find the binaries.
I would like to migrate a instance of SQL Server/11.0.3.2 to Sybase 11.9.2 (i want use SSMA after that). There is no documentation on this subject on the web because it's too old (1997).
I only want migrate 3 databases of my instance. I try to dump a db to Sybase 12.5.4, not work, ddlgen not work on 11.0.3.2. With the system table, i can recreate the SQL script for table, view, procedure... and then i bcp the data. But i think it's not a good way, it's too long and not safe...
An other solution: upgrade the server to 11.9.2 (or more), but as i say, i only want migrate 3 databases.
If sombody have an other way to do that, it's will be a great help.
Thank in advance.
You should be able to take a database dump from 11.0.3 and load it into a later ASE version. It is not formally supported, but I have done this successfully for ASE 12.5.
I'm hoping this question is appropriate for here, but, I'm running out of options.
I have come across a Sybase 8 database from c. 2000. I'm being asked to get it up and running; however, even using Sybase Anywhere 16 won't allow me to connect to the .db file.
My experience with Sybase is from a long time ago. Can anyone suggest or know of a way to get it up and running or even get it upgraded? Ideally I'd like to export the database and get it out of Sybase and into another DBMS.
Thanks in advance.
Databases from version 9 or older of SQL Anywhere must be reloaded in order to be use with SQL Anywhere 10 or higher. You will need to use the dbunload utility to reload the database into a new database and then you can use it with SQL Anywhere 16.
You can do something like: dbunload -c uid=myuser;pwd=mypassword;dbf=old.db -an new.db to create a new database from the old one. There are other dbunload switches for dealing with page size, encryption, and other options.
Disclaimer: I work for SAP in SQL Anywhere engineering.
I am using SQL Anywhere 17, but I believe you can do the same in Sybase Central 16.
We have seen flyway framework for database migration. We are very keen to implement same in one of our project. We use Sybase database in our project however we did not find Sybase as a supported database in flyway documentation.
Could you please let us know if it does work for Sybase or will Sybase support will come in future.
Quoting the documentation :
If your database is not on this list, please raise an issue and we'll see what we can do to support it.
On one hand Flyway only executes SQL statements. On the other hand it needs to be database dialect-aware (statement delimiters, comments) to split SQL statements correctly. I guess it is not a big issue to support Sybase, but looks like it is not supported yet.
If you raise an issue, make sure to post a link to it here.
I know that this question was asked long time ago, however, i could say that right know Flyway support's Sybase, as you could see on documentation
Right now most common Sybase version is 15.70 which is supported by Flyway 5.X community edition and Flyway 6.X enterprise edition.