Alibabacloud.com offers a wide variety of articles about microsoft odbc for oracle setup, easily find your microsoft odbc for oracle setup information here online.
more than a note that the database connection string is OK,
The following is a database connection string.
Then let's take a look at the Demo Code-Behind.
A simple Demo is to use ODBC to access the EMP data table from the Oracle database,
Then retrieve all the data in the table and bind it to a GridView. The result is OK,
The effect is
At this point, the data in O
[Translated from mos] list of well-known ODBC drivers for accessing Oracle Database
Source:List of Well Known ODBC Drivers For Accessing An Oracle Database (Document ID 1932774.1)
Applicable:Oracle ODBC Driver-Version 8.0.5.1 and laterInformation in this document applies to
= "dsn=155oracle; Uid=zhangwei; Pwd=zhangwei "/> So you can access the database, but, I say, but why do I not set up the data source it! You want to ah, the user to access your database to set up a local ODBC data source, obviously this is not the right way, of course, this is also good, can be used as testing, but not for production purposes. So how do we write the connection string in the production environment, as follows: key= "
Oracle GoldenGate for SQL Server is still relatively easy to connect to the Oracle database, as long as the command line is:ggsci> dblogin Useridalias [alias name]Orggsci> dblogin userid [user name] password [password]Just fine.If you are under MS SQL Server, you can also connect via ODBC using the following command:ggsci> dblgoin sourcedb [DSN]Here SQL Server an
ado.net
Connecting to SQL Server
The SQL Server. NET Framework Data Provider supports a connection string format similar to the OLE DB (ADO) connection string format.
Copy Code code as follows:
using (SqlConnection connection = new SqlConnection (connectionString))
{
Connection. Open ();
Do work here.
}
Connecting to an OLE DB data source
The OLE DB. NET Framework Data Provider provides a connection to a data source exposed by using OLE DB and with
ADO. NET Connect to SQL ServerThe SQL Server. NET Framework Data Provider supports connection string formats similar to OLE DB (ADO) connection string formats.Copy codeThe Code is as follows:Using (SqlConnection connection = new SqlConnection (connectionString )){Connection. Open ();// Do work here.}Connect to the ole db Data SourceOle db. NET Framework data providers provide connections to data sources exposed by ole db through OleDbConnection objects and to
ADO. NET
Connect to SQL ServerThe SQL Server. NET Framework Data Provider supports connection string formats similar to OLE DB (ADO) connection string formats.Copy codeThe Code is as follows: using (SqlConnection connection = new SqlConnection (connectionString )){Connection. Open ();// Do work here.}
Connect to the ole db Data SourceOle db. NET Framework data providers provide connections to data sources exposed by ole db through OleDbConnection objects and to
Label:From:List of well known ODBC Drivers for accessing an Oracle Database (document ID 1932774.1) Suitable for:Oracle ODBC driver-version 8.0.5.1 and laterInformation in this document applies to any platform. Goal:This article lists the well-known ODBC driver list for Oracle
Tags: setup database not Oracle RAC Ros Ted TE baseBefore you begin, check:
Please review the supported platforms page for the version of SQL Server database supported by the confluence system. You need to upgrade your Oracle database before installing confluence.
If you are migrating from another database to using a SQL Server database, including migrat
Ado. net
Connect to SQL ServerThe SQL Server. NET Framework Data Provider supports connection string formats similar to OLE DB (ADO) connection string formats.Using (sqlconnection connection = new sqlconnection (connectionstring )){Connection. open ();// Do work here.}
Connect to the ole db data source (ACCESS)Ole db. NET framework data providers provide connections to data sources exposed by ole db through oledbconnection objects and to Microsoft SQL
Tags: SSH pre oracle website + ora font ref ACK securityInstallation process BriefThe Oracle website has downloadedinstantclient-odbc-nt-12.2. 0.1. 0-2. Zip instantclient-basic-nt-12.2. 0.1. 0. ZipI am a 32-bit version of Win7, download the corresponding version as needed.Extract two compressed packets to the same folder Instantclient_12_2 (right-unzip to current
Tags: confluenceBefore you begin, check:
Please review the supported platforms page for the version of SQL Server database supported by the confluence system. You need to upgrade your Oracle database before installing confluence.
If you are migrating from another database to using a SQL Server database, including migrating from an embedded built-in evaluation database to Oracle, read the content in
Configuring an ODBC data source
1. Select Microsoft ODBC for Oracle
2. Data Source Name: Connection string name/user name: Database name (SID name)/server name: Database server IP Address
Using System.Data.Odbc;
private void Monitorbatch ()
{
string contection = ' dsn=dsn_name; Uid=username; Pwd=password; "
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.