How to import "loader" format data using SQLDeveloper? - import

How do I import data in "loader" format using SQL Developer?
SQLDeveloper can export data in "loader" format, so I would like to re-import it.
Note: I'm not able to login to the server on which the Oracle DB is running, and I don't have sysdba privileges.

Install OracleClient_11gR2_W64.zip package
Oracle home e.g. C:\oracle\product\11.2.0\client_1
Oracle Database Utilities
SQL*Plus
Oracle Call Interface (OCI)
Oracle Net (don't know if necessary)
Edit the C:\oracle\product\11.2.0\client_1\network\admin\tnsnames.ora, add a configuration for your remote DB, e.g. named ACME.
sqlldr scott/tiger#ACME control=BATCH_REPORTS_DATA_TABLE.ctl log=BATCH_REPORTS_DATA_TABLE.ctl.log
Also read this: How to install Oracle 11gR2 64-bit client on Windows 7
Download Oracle client 11gR2
64-bit: http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-win64soft-094461.html
win64_11gR2_client.zip Oracle Database 11g Release 2 Client (11.2.0.1.0) for Microsoft Windows (x64) 615MB
32-bit:
http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-win32soft-098987.html
win32_11gR2_client.zip Oracle Database 11g Release 2 Client (11.2.0.1.0) for Microsoft Windows (32-bit) 684MB

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.

SQL Server 2008 R2 linkedServer to Oracle 12c

We have integrated system , what we are doing in the integration process is our invoices data is going to insert in the oracle ebs R12 (oracle database 12c) through SQL Server linked Server using ODBC driver but when this process starts on the sql server with the help of sql server agent service, then process shows preemptive_com_getdata wait type and the sql server consume all the available RAM on the server and then OS start hanging even task manager takes time to open and then finally sql server services restart automatically
This issue occurring after upgraded on the Oracle 12c but there is no any complaint from the Oracle database side
Second thing is that we observed that ping from sql server to oracle 12c database is giving sometime request time out
SQL Server 2008 R2 with SP3 on Windows Server 2008 R2,Oracle Database 12c (12.1.0.1) on IBM AIX 6.1 TL9,Oracle Driver version (12.2) ,
What was the reason behind this ?

How to connect Adempiere (or any PostGreSQL) to SSRS 2012 Express?

Has anyone connected Adempiere (ERP) (or any PostGreSQL db) to SQL Server 2012 Express?
There used to be an IT manager to help me out with this, but now i'm left alone with this.
I downloaded the free Sql Server 2012 Express and wanted to use the SSRS for Adempiere. It seems its running on the SQL Server 2010 for SSRS.
I have already added the ODBC Data Sources for 32 Bit. My computer is using 64bit, is there any incompatibility? I'm not sure if my server is 32 or 64bit.
I've tried following the instructions on http://postgresblog.blogspot.com/ but to no avail.
I already have Crystal Report running, so i'm sure its possible to run 3rd party software for Adempiere.
Anyone knows how i can use SSRS for Adempiere? Thanks!
Since you're using Express edition, if you're trying to connect to any Data Source other than an database on the same SQL Server instance it won't work.
See Features Supported by Reporting Services in SQL Server Express.
From that article:
Report data sources must be SQL Server relational databases that run
locally in SQL Server Express.
Also:
Analysis Services, Oracle, XML, SAP, SQL Server Integration Services
(SSIS), OLE DB, and ODBC data sources are not supported.
You're going to need a different edition to connect to an ODBC Data Source.

How to restore SQL SERVER MANAGEMENT STUDIO DATABASE to PC Server to SQLEXPRESS Server?

I am using SQL SERVER MANAGEMENT STUDIO 2008 R2. I have used my pc's name(For example, MY-PC) as a server name to make databases. Now how can I get the database I created in my pc's named server, when I select .\sqlexpress as a server.
The error it shows when I tried to restore in .\sqlexpress from .bak file:
Restore failed for Server 'MY-PC\SQLEXPRESS'. (Microsoft.SqlServer.SmoExtended)
Additional Information:
System.Data.SqlClient.SqlError: The database was backed up on a server running version 10.50.1600. That version is incompatible with this server, which is running version 10.00.2531. Either restore the database on a server that supports the backup, or use a backup that is compatible with this server. (Microsoft.SqlServer.Smo)
You can't restore the database in the above scenario - as per the error, the backup was taken on a SQL Server 2008R2 instance, and you are trying to restore it on a SQL Server 2008 instance - backup files are not backwards compatible.
You can see this from the error message:
10.50.1600 is SQL Server 2008 R2 RTM
10.00.2531 is SQL Server 2008 Service Pack 1
See the following Microsoft article for details on SQL Server version numbers:
http://support.microsoft.com/kb/321185

Backup Oracle 10g Database from Windows Server 2003 R2 on which command line is disabled

I need to backup Oracle 10g Database from Windows Server 2003 R2 where command line is disabled by some virus problem. RMAN and other graphical utilities are also not working. Only possible thing is that I could take OS file backup of the running database (it can't be stopped also). I do have a trace control file of the database. Please provide some solution so that I could restore the database to a new server.
You can create a backup using Oracle DataPump through SQL:
http://docs.oracle.com/cd/B19306_01/appdev.102/b14258/d_datpmp.htm
Here are some examples how to use it:
http://psoug.org/reference/dbms_datapump.html
http://jhdba.wordpress.com/2009/05/06/237/