sybase odbc driver for windows - sql-server

We need to access SAP ASE (Sybase) data from a SQL Server 2016 hosted on Windows. Could not able to find Sybase ODBC driver download link from an SAP site. All i see is from third party vendors with trial version. How and where can i get that? Thanks.

Not sure what SAP link you're referring to, but if you go to this SAP download link and search the page for Adaptive Server Enterprise you'll find several links for the ASE SDK.
NOTE: The ASE SDK contains several drivers including the SAP ASE ODBC Driver.
Click on the appropriate link, provide the obligatory 'registration' details and you're provided with a copy of the ASE SDK package.
While the page does mention trial downloads, I've never found the ASE SDK to be limited by any licensing requirements.

Related

Where can I download the Sybase ASE 12.5 installer?

I need to test a project working on this version of sybase. I have searched for the installer on the sap website but it seems that it is no longer available for download in the developer version.
Where can I find it?

Compatibility of ODBC driver SQLSRV32.dll with SQL Server versions

Where can I find the information with which SQL Server versions the standard ODBC driver named "SQL Server" (SQLSRV32.dll) is compatible ?
For sure it works with Microsoft SQL Server 2008 R2 because we are using them successfully.
But what about the following?
Microsoft SQL Server 2012
Microsoft SQL Server 2014
Microsoft SQL Server 2016
Microsoft SQL Server 2017
Unfortunately I could not find that information after hours using my favourite web search engine.
On https://learn.microsoft.com/en-us/sql/connect/odbc/windows/microsoft-odbc-driver-for-sql-server-on-windows
are descriptions of newer drivers which can be downloaded, but we don't have admin privileges to install one of them.
We have to use the standard ODBC driver which is installed on Windows out of the box, because the application should run on customers desktop PCs.
Probably this information also depends on the version of the DLL. As an example let's take the version 10.00.15063.00, but it can vary, for the reason mentioned above.
We do not exactly know which Windows versions the customers use. Can be [Win7, Win8, Win10] / [Home/Pro/Enterprise].
The "SQL Server" ODBC driver that ships with Windows is part of Microsoft/Windows Data Access Components (MDAC/WDAC) and is an operating system component nowadays. The specific driver version number shouldn't be a concern given that the interface is the same. This ODBC driver is legacy and has not been enhanced for many years. It is included with Windows only to support legacy applications and is unaware the new SQL data types and features introduced since the release of SQL 2005. It is not intended to be used for new development but nothing prevents you from using so.
Most Java applications use a JDBC driver for relational database access. You could use a modern JDBC driver and include it with your application. That will allow you to use newer SQL features.

DB2 database in Oracle SQL developer

I've heard it's possible to connect to a mainframe DB2 database with a client like Oracle SQL developer. I've looked on-line and can't seem to find the connector files needed to do this in SQL developer. Can anyone direct me to a link to make this work? Or tell me if im just looking for the wrong thing to begin with. I've got the connector working with MySQL databases in Oracle, so I assumed it would be similar for a DB2 database.
To enable DB2 in SQL Developer, you need to pull out the db2jcc.jar
Go to "Oracle SQL Developer" - "Tools" - "Preferences" - > Third Party JDBC Driver
My ORACLE SQL Developer Version is 4.1.1.19 (it mostly works for many versions)
After adding that jar to third party JDBC Drivers. Click on "New Connection".
You should be able to find DB2 Option.
The easiest way to connect to Db2 is through their JDBC Type 4 JCC driver. This driver uses two JARs:
db2jcc4.jar, which is the JDBC 4 driver (The db2jcc.jar JDBC 3 driver has been deprecated.)
db2jcc_license_cisuz.jar, which permits the driver to connect to all Db2 server platforms, including z/OS
Your mainframe DBA should be able to provide you with both of these JARs, and assist you in building a connect string with the proper JDBC driver options.
More information about JDBC drivers for Db2 can be found here: https://www.ibm.com/support/pages/db2-jdbc-driver-versions-and-downloads
SQL Developer supports the following JDBC drivers.
IBM DB2: You need the binary driver jar files db2jcc.jar and db2jcc_license_cu.jar. Search for DB2 Universal JDBC Drivers. https://www.ibm.com/support/pages/location-db2jcclicensecisuzjar-file
Microsoft Access:No additional driver is required. Access uses the JDBC/ODBC bridge
Microsoft SQL Server and Sybase: jTDS driver version 1.2. Download here. The binary driver is located within the jtds-1.2-dist.zip. This jar file is called jtds-1.2.jar.
MySQL: MySQL JDBC Driver, version 5.04. Download here. The binary driver is located within the mysql-connector-java-5.0.4.tar.gz (or .zip). The jar file is called mysql-connector-java-5.0.4-bin.jar.
Teradata: Use Teradata JDBC Driver 12.0 or above. Both the Teradata JDBC Driver 12.0 and 13.0 use the jar files terajdbc4.jar and tdgssconfig.jar. https://www.teradata.com/downloadcenter/

Full text search feature not available from installation wizard

I have sql server 2008 R2 Express installed, but it seems the full text search feature hasn't been installed. So after reading up on it in dozens of forums I concluded that it can be added by running the installer again and just adding the feature to the already existing installation. So I downloaded the installation executable called SQL Server 2008 R2 Express 64 bit W/Tools from this link: http://www.microsoft.com/sqlserver/en/us/editions/express.aspx
The file name is SQLEXPRWT_x64_ENU.exe. When I run it, it correctly starts up the installation software. I then click on "New Installation or add features to an existing installation" which starts the wizard. However when I get to the features section it doesn't offer the Full-text-search feature as so many forums are suggesting it should. Could someone please clarify for me how I can get this feature added? It says on the Microsoft website that SQL server express "Offers reporting capabilities, full-text search, and spatial support", so I know it's not a version issue.
Thank you in advance for any help.
You need the version with the so called advanced services for fulltext search with express.
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=25174

Sybase GUI Client

What are the available Sybase GUI clients for Windows.
I have tried DBVisualizer and RazorSQL any other recommendations. Free preferred
u can try "Interactive SQL" which shipped with Sybase 15 Client, it's better than Sql Advantage, and it's free to download via. Sybase website.
One other solution would be sqlDeveloper from oracle (if you are used to it). You can make it work with Sybase databases by downloading the jTDS driver. Then you can go to sqlDeveloper and choose Tools -> Preferences -> Database -> Third Party JDBC driver. It will work like a charm.
I find it very convinient as i was used to sqlDeveloper, so i can add any driver for any DB provider i want.
You can try a non commercial client TOAD for sybase
and a comercial client like dbArtisan that allows you debug of the stored procedures what for me its very usefull.
I like SQL Workbench/J, sort of like DBVisualiser but entirely free. It can connect to a lot of databases (that have JDBC drivers) and has a handy datapump/data replication tool, that can also be used in batch mode.
Aqua Data Studio seems popular with the clients I work with. But I generally use the tools from Sybase : Interactive SQL (SQL Editor) and Sybase Central (Data Schema, Debugger etc)
Other possible tools could be Squirrel and DBeaver. Both are open-source and free.
Here are some links : dbeaver.jkiss.org
squirrel-sql.sourceforge.net .
SQuirreL SQL Client is a graphical SQL client written in Java that will allow you to view the structure of a JDBC compliant database, browse the data in tables, issue SQL commands etc.
DBeaver will let you do all basic DDL and DML functions, DB object script extraction etc. Various plugins exist e.g DBDiff Plugin which lets you compare objects between two different sessions
Workbench/J is a good choice. It can work with Oracle/Sybase/Informix and other databases.
Setup SQL Workbench/J to connect to sybase in Ubuntu 14.0.4
Install SCN SDK "https://store.sap.com/sap/cpa/ui/resources/store/html/SolutionDetails.html?pid=0000013451&catID=&pcntry=US&sap-language=EN&_cp_id=id-1417018812660-0"
unzip the file.
create /opt/sap and chown sap:sap /opt/sap -- sap is the owner for software
run setup.bin after unzip the linux.tgz
In SQL Workbench Setup jdbc connection pointing to "/opt/sap/jConnect-16_0/classes/jconn4.jar"
Setup sybase connection URL to be jdbc:sybase:Tds::
e.g. jdbs:sybase:Tds:sybase1:5000

Resources