Sybase ASE using windows authentication - ado.net

In Sybase ASE version 15 or above, and connecting to Sybase using ADO .net.
Is it possible to login to Sybase ASE using Windows authentication?

SAP/Sybase ASE 15.+ support LDAP and Kerberos. 15.5+ supports those, along with LDAPS and PAM. Check out the manual section that covers external authentication for more details on how to configure it.
http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc31654.1550/html/sag1/X36173.htm

Related

Windows 10 - DB2 / ODBC / .NET connection to AS400 / V4R3M0

I am looking for a way to establish a database connection to a AS400 Release V4R3M0 via ODBC or even better with .NET. Under Windows XP I can access the AS400 with the ODBC interface and the driver from the IBM Client Access software. But my release is not working under Windows 10. I have downloaded the IBM Data Server Client Packages - Version 11.5. But I could not establish a connection with it.
I tried it with ODBC Datasource configuration and with the commandline
db2cli execsql -connstring "DATABASE=databasename;HOSTNAME=as400;PORT=8471;UID=user;PWD=password;"
Thank you for your help.
First, you'll need a rather old version of the IBM ODBC driver. Newer versions yield a password error when connecting to very old systems. I'm using the driver from iseriesaccess for linux 7.1.0-2. I guess the same applies to Windows.
Please realise that V4R3 is from 1998 and it will get increasingly hard to find ways to get functioning connections to it from modern Windows systems.

Using sql developer with openedge database

Is it possible to connect sql developer to openedge db, if not is there some alternative GUI that we can use with openedge?
Sorry, no.
We make 3rd party databases and their jdbc drivers (jars) available for customers needing to migrate those databases to the Oracle platform.
If and when customers need help migrating openedge db to Oracle Database, we'll consider it.
For now it's limited to Sybase ASE, SQL Server, DB2 LUW, Teradata, MySQL, and some limited support for PostgreSQL and Redshift.

Is it possible to connect to a PostgreSQL server using FreeTDS driver and tsql?

I've asked this question on serverfault and someone told me to ask here.
Can I make a connection to a PostgreSQL server using FreeTDS, more specifically using the tsql command?
I've been trying for a few days now, using many different configurations. Even though I am able to connect to the DB using isql and PostgreSQL odbc driver, I can't make it work using tsql (it also doesn't seem to use odbc.ini or odbcinst.ini). So, I was wondering if the tsql command only works with SQL Server.
If you want, I can post the files freetds.conf, odbc.ini and odbcinst.ini.
Thanks.
FreeTDS only supports the TDS protocol (hence the name). And this protocol is only implemented by Microsoft SQL Server and the Sybase database.
So, no you can not use FreeTDS to connect to a Postgres database.
You need to use the Postgres ODBC driver, the Postgres .Net driver or the Postgres JDBC driver to do this - depending on the programming language of your application. From a C program you can also connect to Postgres directly using the libpq library.

Can firebird database connect to other databases using like linked server in SQL Server?

I know that SQL Server has linked server that allow it to connect to other database and execute query. Now I am using firebird. I wonder if firebird has its "linked server" to access other databases. Thanks!
Firebird doesn't have a linked server feature. There is a limited method for accessing other Firebird databases (either remote or locally) using EXECUTE STATEMENT, however this only supports Firebird database, and you need to provide the data source information on each invocation.

Query compatibility SQL server 2008/2000

I am developing some stored procedures in SQL Server 2008.
Some of our customers are running SQL Server 2000.
Is there a way to check whether my queries are compatible without having to install SQL Server 2000? Maybe a transact sql tester?
Regards,
Michel
You could set the compatibility mode to 80 but it's not guaranteed
I would also suggest installing MSDE at least to validate your code and performance.$
Or simply install full SQL Server 2000 to develop with.