Quantcast
Channel: Question and Answer » oracle
Browsing all 717 articles
Browse latest View live

How to migrate a database from SQL server to Oracle? [closed]

I have been assigned a task to migrate a database from SQL server to Oracle. But I have no idea about how to do it. Also, is there any need to change the existing data model?

View Article


Load file based on line number in sqlldr

I am trying to load header and detail records from a file. The only way I know the difference between the header and the detail records is the line number. The first line is always the header and the...

View Article


Set Oracle Home (install Oracle Home) for Toad 12.6

I had Toad 11.5 and I’m trying to install Toad 12.6, to connect to Oracle 11g on a 64-bit Windows 7 machine. No matter what I try, when I start Toad 12.6, I get the error: “No valid Oracle clients...

View Article

ORA-01461 in a msaccess linked table

In an Oracle 11 database I have a table that all fields are varchar2. This table is linked in an access database, and when I try to do an insert from a data aggregate query, it throws the error ‘can...

View Article

Connect to Oracle remote Database by only installing a client on my laptop?

Is it possible to connect to remote oracle database from my laptop if I only install instant client, without installing oracle database? I have the tnsnames.ora and listener.ora files in...

View Article


Image may be NSFW.
Clik here to view.

Arithmetic operations on a table

can anyone give me some advice on the following situation: I have two basic tables: Then a view created by the two: select product.IDPRODUCT, sum(quantity) as totalOut, PRODUCTSTORAGE.DATAINPUT,...

View Article

SQL actually executed as planned in ORACLE?

I wonder if SQL is definitely executed as execution plan. I mean.. is the actual SQL execution process always consistent with execution plan, i.e. does the same SQL always give the same plan?

View Article

How to block external connections for an Oracle database?

I have an oracle database (11g-r2) on my (windows) computer for development, and I am trying to forbid any outside connections. Is there a way to do this?

View Article


What is the query to get the process limit on Oracle 11g?

I’m getting the error: Maximum Number Of Process Exceeded I want to see (using a query) what the setting is in my database for the process limit. My question is: What is the query to get the process...

View Article


SQL Loader Pass Dynamic Value

I’m newer to Oracle so I hope what I am trying to explain makes sense. I am required to used SQL Loader to batch load CSV files. There are about 20 organizations uploading around 15 CSV files each....

View Article

ORA-01722 Error when running stored procedure

I am trying to run a stored procedure however when I run it with an a valid Number it gives me an ORA-01722 error. I checked to make sure that the columns in the where clause where the parameter is...

View Article

trigger or check constraint insert values based upon existence of others

For simplicity (and since it captures the essence of my problem), suppose I have a table with data. CREATE TABLE my_practice_table ( my_id NUMBER(12), field_2 VARCHAR2(20), field_3 VARCHAR2(20) ); I...

View Article

Can we Audit Synonym Usage in Oracle?

When Auditing is enabled in Oracle, is there a way to differentiate Private Synonyms access from actual object access? For example If I have Table: S1.My_TABLE Private Synonym: S2.My_TABLE (pointing to...

View Article


String to timestamp in datastage 9.1.2

Apologies for asking a question that I suppose is very basic. I’m just starting out with Streams. I’m trying to read a sequential files containing a timestamp field and a value field, like this:...

View Article

Faulty oracle11g regexp_replace on removing duplicates

I have a comma separated list of values (as one single string), which contains duplicates, and I want to remove them. I tried with REGEXP_REPLACE but for certain values it gives me a wrong result: /*...

View Article


How do I link Oracle ERP data to a list in SharePoint?

I need to pull data from an Oracle ERP database into a list in SharePoint 2013. This list needs to be updated periodically. Can anyone point me in the right direction? I don’t know where to start.

View Article

In Oracle, when you update an SDO_GEOMETRY column with the same value is the...

Because generating and updating a spatial field is relatively expensive we want to avoid it when possible. Here is the relevant bit of our schema: +---------+---------------+ |LATITUDE |NUMBER(16,10) |...

View Article


Switching from Oracle database to Ubuntu [closed]

I need support please. I am the CEO of a Life Assurance company. We are currently building our own core application under the leadership of my Head of ISD. We are using Oracle for our database and also...

View Article

Oracle DB license for only non-production environments [closed]

My company is a software vendor. We develop software that is later deployed on the customer’s environment, on their own machines. Our software uses various DBMS, depending on what the customer has. We...

View Article

Error with my trigger. What should I do?

This trigger fails when it’s called: create or replace TRIGGER UNIQUE_PHYSICIAN_TRG BEFORE INSERT ON UNIQUE_PHYSICIAN FOR EACH ROW BEGIN <<COLUMN_SEQUENCES>> BEGIN IF INSERTING AND...

View Article
Browsing all 717 articles
Browse latest View live