Does Npgsql support community version of postgres? - postgresql

I read from the enterprise db website that only the Postgres standard server and advanced server support Npgsql.
But am not sure if
1. Npgsql will not work with community version at all ?? or
2. It is just that it is not packaged along with community version,but I can use npgsql to connect and work with postgresql from .Net
Can someone help me understand?

I read from the enterprise db website that only the Postgres standard
server and advanced server support Npgsql.
EnterpriseDB is not the same as PostgreSQL. PostgreSQL is PostgreSQL, it's not a "community version" from EnterpriseDB. EnterpriseDB Server is a fork of PostgreSQL, not the other way around.
And yes, Npgsql does work with PostgreSQL, it was created for PostgreSQL:
Npgsql is a .Net Data Provider for Postgresql. It allows any program
developed for .Net framework to access database server. It is
implemented in 100% C# code. Works with Postgresql 7.x and above.

Related

How to set DB2 SQL ANSI Mode

I have a php project developed up on Ubuntu Intel 64 Bit machine. It uses the DB2 as database. Now client going to deploy it on IBM I Series Server. So I gave him exported Schema (by db2look command).
db2look -d MYDATABASE -a -e -o mydatabase.sql
But he have problem in importing As exported schema have some keyword not supported on DB2 IBM version. He point out on octets keyword. But definitely more could be there. So he want us to convert our schema to some MySQL or ANSI Mode. But I did not found any tutorial to convert DB2 schema or change Mode.
I am very new to DB2, Any all my DB exposure to MySQL database only. If anybody have idea about this ?
IBM has a manual
IBM DB2 for i porting guide DB2 for Linux, UNIX and Windows to the IBM i platform
(Updated June 2014)
http://www-304.ibm.com/partnerworld/wps/servlet/ContentHandler/servers/enable/site/db2_porting_i.html
Are you using Zend for your PHP by chance?
Zend is supported on the IBM i:
http://www.zend.com/en/solutions/modernize-ibm-i
Also Zend picked up the slack when MySQL support for IBM i was dropped by Oracle
http://www.zend.com/en/solutions/modernize-ibm-i/ibm-i-product/dbi
Zend's DBi product includes the IBMDB2I storage engine allowing php/MySQL apps to run on the IBM i and utilize DB2 for i as the database.

Entity Framework 4.2 Code First DBMS support

What DB Management Systems does EF 4.2 Code First support?
I'd like to use Code First with MySQL and Oracle. Do I have to download extra things?
Thanks!!
It supports the most of the popular DBMS's like Oracle, MySQL, PostgreSQL and SQLite other than SQL Server. Yes you have to download database connectors for them. Here is a good tutorial to get you started.

Installing Oracle 10g with Apex 4.0

I installed Oracle 10g Express Client. I have Apex 2.1 right now. I tried to follow the instructions in this video (http://www.youtube.com/watch?v=xf2HEtNmHmU) to upgrade to Apex 4.0, but when I enter my password in cmd, it says TNS protocol adapter error, so I could not proceed. Please help me.
Also, can I create an application in apex 2.1 with charts implementation?
You need to install the full Oracle Express Database (not just the client).
You could try the 11g Express Edition beta which has 4.0 already installed
http://www.oracle.com/technetwork/database/express-edition/11gxe-beta-download-302519.html

Sybase ASE ADO.net 2.0 provider?

I'm looking for an ADO.net 2.0 or later provider for Sybase database which seems to be known as Sybase ASE. To clarify, I'm interested in ASE, and not SQL Anywhere. Hopefully the provider will be included with the database, or free.
I can find mention of an ADO.net 1.1 provider; that's not what I want.
I can find mention of ODBC drivers and OLEDB providers; that's not what I want.
I've found the DataDirect ADO.net providers which are paid for; I guess that's the fallback position.
Thanks for your help
Having recently been down this road myself, I can only suggest that you wont find the answer through searching the net. If you are connecting to an ASE server, then you have a customer technical contact. Use that person, asking them to download the earlier mentioned Sybase 15 #ESD10.
From my experience (which I freely admit, was a bad one);
Sybase makes this sort of developer resource available to paying customers only.
The download, once you have it, will include a whole bunch of extras that you wont need. I still think that PowerDesigner is a great utility, but I think that what is included is a trial version, of limited long term value. I believe that what you want from the set is the OpenClient install, selecting the ADO.NET features.
I found the whole experience, from acquiring the developer resources (just identifying the right download was a struggle), to isolating out the two files necessary from the hundreds of installed files, to the fact that the install broke my existing RapidSql and DbArtisan installs, and finally that the current version goes no further than ADO.NET 2 provider support (you wont get EF wiring for example), to be truly frustrating.
No surprise then that I have not been able to find much support for ASE using nHibernate or subsonic either.
This question is fairly old but it seems to have gotten easier to get the ADO Connector.
Download the "Get a Free "Developer" Edition" from
http://scn.sap.com/community/developer-center/oltp-db
Choose Custom Install when given the option.
Only install the .Net ADO package from the custom install.
Reference the Sybase.AdoNet4.AseClient.dll in your solution from where the install put the files.
You should then be able perform queries, updates etc. in .NET by following the directions from here:
http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.help.sdk_12.5.1.adonet/html/adonet/DAFJEFIF.htm
As an alternative to the SAP/Sybase driver, we developed our own ADO.NET Core driver for ASE:
https://github.com/DataAction/AdoNetCore.AseClient
.NET Core was a key technology for us - in particular for AWS Lambda - and there is still no ADO.NET Core driver available from SAP/Sybase.
Our driver supports most of the SAP/Sybase ADO.NET features, aims to be a drop in replacement to the SAP/Sybase one for easy transition, and supports all of the .NET Frameworks you would care about.
You can get it on Nuget:
https://www.nuget.org/packages/AdoNetCore.AseClient
Sybase 15 #ESD10 has support for ADO.NET 2.0, according to this link at Sybase:
http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc20155.1500/html/newfesd/CBHJAABF.htm
New Features Open Server 15.0 and SDK 15.0 for Microsoft Windows, Linux, UNIX, and Mac OS X
ADO.NET 2.0 support
ASE ADO.NET Data Provider 2.0 is shipped with this SDK release. The ADO.NET 2.0 features supported in this version are:
* Provider factories
* Provider statistics
* Bulk update
* Bulk copy
* Asynchronous commands
* Extended pooling support to clear pools
* Common base classes
* Database metadata
For more information on the supported ADO.NET 2.0 features, see What’s New in ADO.NET 2.0.
From the sybase website:
Sybase support for ADO.NET, OLE DB, and ODBC
Adaptive Server version 15.0 contains new ODBC and OLE DB drivers developed by Sybase. The third-party rebranded ODBC and OLE DB Driver Kits included with previous versions are no longer shipped.
The retired ODBC Driver Kit was installed in %SYBASE%\ODBC, and registered with the ODBC Driver Manager as “Sybase ASE ODBC Driver”. The new ASE ODBC Driver by Sybase is installed in %SYBASE%\DataAccess\ODBC, and registered as “Adaptive Server Enterprise”. The version shipping with Adaptive Server and SDK 15.0 is version 15.0.0.50.
The retired OLE DB Driver Kit was installed in %SYBASE%\OLEDB, and used the provider short name of “Sybase.ASEOLEDBProvider” and the long name of “Sybase ASE OLE DB Provider”. The new ASE OLE DB Provider by Sybase is installed in %SYBASE%\DataAccess\OLEDB, and uses provider short name “ASEOLEDB”. The version shipping with SDK 15.0 is version 15.0.0.51.
Sybase recommends that you start your migration process the new ODBC and OLE DB drivers as soon as possible. New features introduced in Adaptive Server 15.0 are supported only by the new drivers.
See “New Features for OpenServer 15.0 and SDK 15.0 for Windows, Linux and UNIX”, for instructions on migrating to the new drivers.

Good OleDB/ODBC provider for PostgreSQL

I'm in need of a functional OleDB data provider for PostgreSQL. It should be similar to the ODBC provider for MySQL. See http://dev.mysql.com/downloads/connector/odbc/5.1.html
The postgres software catalog has some providers on there.
dotConnect for PostgreSQL (from Devart) offers a pretty good one. It is fast and works. The free version will give you your basic ADO.net support, the pay offers everything else. ODBC doesn't have a free version.
http://www.devart.com/dotconnect/postgresql/
edit
Adding the direct link to the ODBC connector as it is on a separate page.
https://www.devart.com/odbc/postgresql/
If you want to check the last version of ODBC for PosgreSQL :
http://www.postgresql.org/ftp/odbc/versions/
Enter in the "msi" folder for the installer.
But be careful, when you are using ODBC, there is a 32bits and a 64bits version. So choose the right one.