I have access to teradata via the sql assistant. Just curious, can I find details I require for a connection string (e.g. server name to connect to teradata from C#/Power BI) inside the sql assistant.
How can I get data from oracle 9i database in c# from remote desktop in asp.net application?
The asp.net application will be deployed on one server and Oracle Database on another.
How can I communicate both servers to get data from Oracle Database.
I tried this
string oradb = "Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=StaticIPAddressOfOracelServers)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=serviceName)));User Id=Administrator;Password=pass;";
OracleConnection conn = new OracleConnection(oradb);
conn.Open();
and I get this exception:
ORA-03111: Break received on communication channel
ODP.NET, Managed Driver supports connecting to Oracle DB server 10.2 or higher. It does not support 9i as stated in this post.
I am work on Teradata using SQL Assistant. I want to connect to the database using JDBC but I need to get the connection URL.
Where can I find it at
SQL Assistant?
SQL Assistant doesn't support JDBC connections, just ODBC and .NET
For JDBC you might use Teradata Studio Express instead:
http://developer.teradata.com/tools/articles/teradata-studio-express-14-10-01-now-available
I have my MSAccess Database that is running on LAN.
and i have another SQL Server Database running on Web.
my requirement is:
When any data inserted or updated in MSAccess,
the newly entered or updated data should be updated on SQL Server Database as well.
so my question is,
How to Synchronize data between these databases?
How can I create a file dsn for connecting to an AS400 system using the iSeries ODBC driver?
The iSeries ODBC driver allows many settings to be configured. Where can I find a list of all properties that can be set in the file DSN?
Driver={iSeries Access ODBC Driver};System=server;Uid=user;Pwd=password;
Where server is the system to connect (either IP address or hostname), username and password.
You can have a .dsn file like this:
[ODBC]
DRIVER=iSeries Access ODBC Driver
System=server;
Uid=user;
Pwd=password;
Initial Catalog=library;
There is a good internet resource regarding connectionstrings of all flavors:
http://www.connectionstrings.com/
Here is the page for the AS400 ODBC drivers: http://www.connectionstrings.com/as-400
ODBC
IBM Client Access ODBC driver
Driver={Client Access ODBC Driver (32-bit)};System=my_system_name;
Uid=myUsername;Pwd=myPassword;
IBM iSeries Access ODBC driver
This driver is newer than the one above.
Driver={iSeries Access ODBC Driver};System=my_system_name;
Uid=myUsername;Pwd=myPassword;
IBM .Net Data Provider
Using the IBM.Data.DB2.iSeries namespace
DataSource=myServerAddress;UserID=myUsername;
Password=myPassword; DataCompression=True;
OLE DB, OleDbConnection
IBM Client Access OLE DB provider
Provider=IBMDA400;Data Source=MY_SYSTEM_NAME;
User Id=myUsername;Password=myPassword;
Where MY_SYSTEM_NAME is the name given to the system connection in OperationsNavigator
IBM Client Access OLE DB provider
Provider=IBMDA400;Data Source=MY_SYSTEM_NAME;User Id=myUsername;
Password=myPassword;Default Collection=MY_LIBRARY;
Where MY_SYSTEM_NAME is the name given to the System Connection, and MY_LIBRARY is the name given to the library in iSeries Navigator.
I just discovered you can create a file DSN using the ODCB Administration tool, for any type of ODBC driver.
Here is the IBM documentation on ODBC connection string parameters.
Here's a great detailed description of what each keyword is and how you can configure them. The discusion is for DSN-less connections, in applications, but is useful if you want to customize your file DSN. I found it more useful than the IBM documentation.
http://www.sqlthing.com/HowardsODBCiSeriesFAQ.htm