SQL & PL/SQL :: Delete OS File In Oracle 8i

May 13, 2010

I am facing a problem while trying to delete an OS file using PL/SQL in Oracle8i v8.1.7.I have tried to use UTL_FILE.fremove but it is not supported in Oracle8i.

how can I delete a file Test.txt from C:Test location?

View 1 Replies


ADVERTISEMENT

How To Delete Table Information In SQL Loader Log File Output In Oracle

Jan 19, 2011

I have a SQL Loader Log File Output. I would like to delete Table Information from the output file.Following is my code.

//PATH OPENED AS TEXT BY STREAM READER
System.IO.StreamReader strm = File.OpenText(batchFileName);
//OUTPUT

[Code]....

View 8 Replies View Related

PL/SQL :: To Delete Child Records Manually Without Using Oracle Delete Cascade

Oct 9, 2012

I have to write a procedure that accepts schema name, table name and column value as parameters....I knew that i need to use metadata to do that deleting manually.

View 9 Replies View Related

How To Delete One Month Old Archive Log File

Sep 16, 2010

I am not able to delete one month old archive log file on production database. it already applied on standby database. While deleting the files, it throwing errors as "Another program is using it".

Version:10.2.0.4
OS: Windows server 2003.

View 5 Replies View Related

Windows :: Unable To Delete SMON Trace File?

Oct 4, 2012

In my database smon tracefile was huge,now we want to delete the same,I also tried with ordebug operation but no use, delete tracfile which Smon generates.

View 5 Replies View Related

Backup & Recovery :: Accidentally Delete Data File - How To Restore

Feb 17, 2011

I have a database "BD001" for example, inside got 90 schemes, each one has two tablespaces, see below script I use to create:

CREATE TABLESPACE TS_F_ORA9_027_DAT NOLOGGING DATAFILE
'E: DataBases ORACLE 92 DAT TS_F_ORA9_027_DAT.ora' SIZE 5M REUSE ON AUTOEXTEND
NEXT 10240K MAXSIZE UNLIMITED EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT
AUTO;
[code]....

I have the dmp this scheme "F_ORA9_027" but have no way to restore it onceI can not connect to the service.

View 4 Replies View Related

How To Delete SID Name (oracle) From Computer

Oct 29, 2010

How to delete SID name (oracle) from my computer ?

View 7 Replies View Related

Delete / Update From XL Sheet To Oracle?

May 7, 2008

have one XL sheet Doc that has 2 tabs. One has the list of keywords for deleting the records from Oracle that has the keywords in it. The second one needs the update query. Read the first column in the XL sheet and replace it with the second column value for the records that has the first column value in it.

I never worked in the combination of XL and Oracle.

View 3 Replies View Related

Oracle 10g - Delete 1000 Table?

Dec 21, 2007

I have 1000+ tables in a DISCOVER tablespace in 10g.

I need to drop ALL tables in this area and leave the tblsp intact so that I can IMP a data update from 9i (prod) into 10g (test).

Is there an easy cmd to drop all the tbls, or am I missing someway to do this in DB Console for 10g.

View 3 Replies View Related

SQL & PL/SQL :: Delete Redundant Table In Oracle?

Apr 23, 2012

Is there a SQL query to find out the redundant or unused table in Oracle.

Some tables shows no dependencies to itself or other schemas,but has got valid data in it, deleting it will affect the functionality of the system.

View 3 Replies View Related

Oracle 9i - Delete Data One By One From Particular Table

Oct 28, 2008

I need to create a stored procedure in Oracle 9i which will automatically delete data one by one from a particular table and then by means of same procedure insert record one by one in same table.

View 6 Replies View Related

Backup & Recovery :: ORACLE Dump File To Text File

Apr 9, 2011

Oracle10g to Sybase12.5 Migration:- How a Oracle dump file can be converted to any text file/xls file which will be loaded in sybase database later through BCP.

means
1.Exporting objects as dump file from Oracle.
2.Is there any tool/process available that can convert this into csv/txt/xls file.
3.This files can be loaded in sybase.

View 2 Replies View Related

Oracle Triggers - Separate Actions On Insert / Update / Delete?

Jul 26, 2012

For triggers, is it possible to do separate actions on insert , update and delete. For example, if insert is the case, do select; if update is the case, do select from another table and so on?

View 1 Replies View Related

PL/SQL :: Delete Or Empty Single Field Containing BLOB In Oracle Table?

Jul 8, 2012

I have a table in schema with a BLOB field. I store employee's picture in this field. Fields in this table are emp_id (number) emp_name (varchar2) and emp_photo (BLOB). I want to ask if there is a way in pl / sql that i could empty this BLOB field to null or reset this field so that user can change the saved photo graph and save another one.

what i am looking for is something like

alter table employee set emp_photo = empty_blob() or alter table employee set emp_photo = null

View 3 Replies View Related

SQL & PL/SQL :: Execute KSH File From Oracle 8i?

Jul 4, 2011

calling .ksh file from Oracle8i Pl/Sql code.We have Unix and Oracle on same server.

View 39 Replies View Related

SQL & PL/SQL :: How To Run A Batch File In Oracle

Aug 18, 2009

I have a .bat file in my client system,which will open a web page after executing(after double clicking on it).I want to execute the same batch file from my pl/sql block.So,after executing my pl/sql block that .bat file should execute,and it should open the same web page.

View 12 Replies View Related

PL/SQL :: Insert Into From CSV File Oracle

Oct 30, 2013

I need to insert about 15000 rows into a table called STOCK_ADJUST What is needed for the insert it two columns:

STM_AUTO_KEY and COST_ADJ

These two values I have in a CSV-file. Now I want to import these rows into the database... How do I do this in the most easy way? If it was just one row I would do it like this Insert into

STOCK_ADJUST (COST_ADJ, STM_AUTO_KEY) VALUES(-500, 174500)

 But with 15000 rows in a CSV file this isn't going to work...

View 3 Replies View Related

Which Command Use To Set File Storage In Oracle

Oct 26, 2006

I am new to oracle which command do I use to set the file storage in oracle? I learnt the we have the option of specifying the storage pattern as per our queries.

View 2 Replies View Related

SQL & PL/SQL :: Invoking Oracle Bat File From Dbms_scheduler

Oct 21, 2011

I'm trying to call a simple batch file from dbms_scheduler, the job created successfully but I it doesn't invoke the batch file I've created.

This is the contents of my batch file :
EXEC hr.load_employees

And this is the job attempting to invoke it :

begin
dbms_scheduler.create_job
(job_name => 'EMP_HIST',
job_type => 'EXECUTABLE',
job_action => 'C:sql_scriptsemployees_load.sql > nul',
start_date => SYSDATE,
-- repeat_interval => 'FREQ=DAILY;BYHOUR=23', -- Every night at 23:00.
repeat_interval => 'FREQ=SECONDLY; INTERVAL=2', -- Every Minute
enabled => true,
comments => 'Copy the emp table to history');
end;
/

View 7 Replies View Related

SQL & PL/SQL :: Oracle External File And UTF-8 Query

Dec 15, 2010

Encountering an issue with an Oracle external table. We get the following error when we load a particular file in this table:

ORA-12801: error signaled in parallel query server P000
ORA-29913: error in executing ODCIEXTTABLEFETCH callout
ORA-30653: reject limit reached
ORA-06512: at "SYS.ORACLE_LOADER", line 52

We have narrowed this down to a text field in the file that contains the following text (text obfuscated):

XXXXXXXX ł XXXXXXXXXXXXXXXXXXXXXXXXXXXXX

This is nominally 40 characters long, which matches the maximum field size, but it is being rejected because it appears the 'ł' character is causing Oracle to interpret the length as 41 characters instead. If I remove a X then the file loads without issue.

We tried this in a new schema we created where we added the same table and used the same file. There was no problem at all. The oracle database has the following settings:

NLS_CHARACTERSETUTF8
NLS_NCHAR_CHARACTERSETUTF8
NLS_LENGTH_SEMANTICSBYTE
NLS_LANGUAGEAMERICAN

The table is defined as follows:

CREATE TABLE XXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXX_INTERFACE
(
XXXXXXXXXXXXXXXXXXXX VARCHAR2(40 CHAR),
XXXXXXXXXX VARCHAR2(40 CHAR),
XXXXXXXXXXXXXXXXX VARCHAR2(40 CHAR),
XXXXXXXXXXXXX VARCHAR2(40 CHAR),
[code]........

We tried adding the following attributes but they did not seem to make any difference:

CHARACTERSET UTF8
STRING SIZES ARE IN CHARACTERS

View 6 Replies View Related

How To Import Dmp File Through Oracle SQL Developer (3.2.20.09)

Nov 12, 2012

How to import *.dmp file Through Oracle SQL Developer (3.2.20.09) ? How to do it ?

View 3 Replies View Related

SQL & PL/SQL :: Creating Extract File From Oracle DB?

Jun 22, 2010

I have data in multiple oracle tables. I have to create a extract flat file after applying some validation and business logic on it and store it in unix server with naming convention FF_RMS_SC_<<YYYYMMDDhhmm>>.txt.This job will be scheduled to run daily to create the flat file.

View 1 Replies View Related

Forms :: How To Open PDF File In Oracle 10g

Nov 25, 2010

i am trying to open a .pdf file in oracle forms 10g which had stored in oracle 9i.10g database.

so which method shall i use to do this?

View 1 Replies View Related

Forms :: Open FMX File In Oracle 10g?

Apr 4, 2013

how can i open the .fmx file in oracle 10g?

View 12 Replies View Related

Forms :: How To Call Bat File From Oracle

Nov 1, 2007

how to call batch file from Oracle froms 10g

View 18 Replies View Related

Import A Dump File (oracle 10g)

Mar 14, 2012

my problem is that whenever i want to import a dump file(oracle 10g) oracle just import 4 tables and then goes into hang state(not responding) i'm using old import method (not datapump).

View 1 Replies View Related

Forms :: Upload File Using Oracle 11g

Nov 6, 2013

Do you have sample codes to upload file from client to server using 11g forms?

View 2 Replies View Related

Forms :: Burning A File To CD From Oracle 9i

Aug 23, 2010

I am working in Oracle Forms 9i, and I have a requirement to copy or burn a file from hard-disk to CD. This should be automatically done at the press of a button in Oracle Forms.

I have already tried using the following statement:

out_Item := TEXT_IO.FOPEN('F:file3.csv', 'w');

where F: drive represents the CD drive. It threw an ORA-302000 error. How we can achieve burning a file from hard-disk to CD through Oracle Forms.

View 6 Replies View Related

PL/SQL :: How To Write To Text File Using Oracle

Feb 23, 2013

How to write to text file using oracle? And how do I handle spaces/next line? (i was trying to use spaces(ch(32)), however it is just converted into squares in the text file.)

View 5 Replies View Related

Unable To Load Data In Oracle 11g From XLS File?

Sep 6, 2011

CASE 1:

when i tried to load the data i got the below error,

Error starting at line 2 in command:
INSERT INTO RECON_MATCHED_DETAILS (RECON_MATCHED_DETAIL_OID, RECON_ID, STATEMENT_DATE, EXECUTION_DATE, TRANSACTION_NUMBER, TRANSACTION_DATE, TRADE_ID, TRANSACTION_TYPE, LINK_ID, ITEM_TYPE, ASSET_CODE, ISIN, BUYSELL_INDICATOR, SETTLEMENT_DATE, CURRENCY, QUANTITY, VALUE,

[code]...

CASE 2:

i tried to load the data in oracle 11g but i'm unable to load the data,and for testing i tried with a single row of data.but surprisingly the table filled with (null)s

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved