SQL & PL/SQL :: Get File Name XML In Folder

Jul 4, 2011

I have problem follow:

- I hava folder obitan files .xml : C: emp
+ File .xml as: emp.xml, dept-110720.xml, etc...
- Now, i would get file name .xml in folder C: emp. How do i do?

View 39 Replies


ADVERTISEMENT

SQL & PL/SQL :: Fetch File Path From A Folder

Oct 4, 2013

We upload a file on our library on weekly basis. I wanted to fetch the latest uploaded file path/URL from a folder through PL/SQL, but not sure if it's possible.

View 12 Replies View Related

SQL & PL/SQL :: How To Add Oracle Data File To App_Data Folder

Jun 11, 2012

I am using Oracle database with visual studio 2010,how to add all my local database tables to App_Data folder in a .NET project?

View -1 Replies View Related

SQL & PL/SQL :: Writing Data To A Network Shared Folder / ORA-29283 / Invalid File Operation

Jul 13, 2010

I am trying to write data to a network shared folder. When I write to a local file it works perfectly. Below is my procedure.

CREATE OR REPLACE procedure nbpsbp_file as
type r_cursor is ref cursor;
refr r_cursor;
tab_name varchar2(20):= null;
tab_name1 varchar2(20) := null;
tab_name2 varchar2(20) := null;

[code]....

When I execute the above procedure, it gives me the following error

ORA-29283: invalid file operation
ORA-06512: at "SYS.UTL_FILE", line 475
ORA-29283: invalid file operation
ORA-06512: at "NBPSBP_FILE", line 36
ORA-06512: at line 1

I have also set the parameter utl_file_dir = '\10.16.10.225 emp' When I set the utl_file_sir to a local folder, for example, c: emp, and use the same path in UTL_FILE.FOPEN, then it works fine and writes the desired output to text file. But when I give it a network address, it raises the above error.

View 3 Replies View Related

How To Run All Scripts Present In A Folder

Dec 22, 2011

My directory has around 100 sql files to run via sqlplus. For test purpose, I took only 2.I tried following code in the batch file to process those 2 files:

for /f %%a IN ('dir /b *.sql') do ( sqlplus -S sys/ankit@orcl2 as sysdba @%%a )But as the following output shows, only 1 was processed :

C:\Documents and Settings\Administrator\Desktop>cd C:\temp\Copy_WMGIS_DWH\6DBlinks\
C:\temp\Copy_WMGIS_DWH\6DBlinks>for /F %a IN ('dir /b *.sql') do (sqlplus -S sys/ankit@orcl2 as sysdba @%a )
C:\temp\Copy_WMGIS_DWH\6DBlinks>(sqlplus -S sys/ankit@orcl2 as sysdba @PUBLIC.MAXIMO.sql )
Database link dropped.
Database link created.

It stops after this. But when I press ctrl+C , it asks me if to stop (Y/N). I choose 'N', it runs second file as shown below:

Terminate batch job (Y/N)? n
C:\temp\Copy_WMGIS_DWH\6DBlinks>(sqlplus -S sys/ankit@orcl2 as sysdba @PUBLIC.VENTYX.sql )
Database link dropped.
Database link created.

It should run second one itself, not via user interaction.

View 3 Replies View Related

RMAN :: Restore Asm To Same Folder?

Apr 11, 2013

I am in process of restoring database for a standby.When I am restoring datafiles, it says it is restoring to an original location (same as primary database).

restoring datafile 00242 to +MYDB_DATADG/mydb/datafile/data_05.474.805989155 but when I checked with asmcmd utility, it is actually another path/filename. Only same thing is the diskgroup name.

So the file would be
-> +MYDB_DATADG/mydb_stby/datafile/data_05.281.812429111

How do I force rman to restore to the same exact location as my primary database?

View 3 Replies View Related

Backup & Recovery :: Archived Log In Only One Folder

Mar 10, 2011

I have recently installed a oracle 11g r2 standard edition in aix 6.1.database is on archive log but archived log is generated in daily different folder named after date on system.

i want to generate all archive log in only one folder.

View 3 Replies View Related

Installation :: Lib32 Folder In Oracle 11g R2

Nov 16, 2012

I have Oracle 11g R2 64bit installed on Solaris 5.10 machine. I found that in Oracle 11g R2 there is no lib32 folder which contains the 32bit libraries. But application only works with 32bit libraries.

How and where do I get the 32 bit libraries for Oracle 11gR2.

View 8 Replies View Related

Forms :: Fmx Files Into Separate Folder

Apr 29, 2013

I have some .fmb files in 'F: ask" " ' location.and my question is can i store the .Fmx files in other location like 'D:" " '

that is if i create a .fmx file for the 'F: ask**.fmb'. i want That .fmx file will store into other location i.e 'D '

View 3 Replies View Related

Forms :: How To Browse Specific Folder Or Drive In 6i

Feb 9, 2010

I want to open any drive or specific folder in forms 6i in when button press trigger like we open any drive and folder in my computer or folder in windows

View 3 Replies View Related

Forms :: How To Copy Image From One Folder To Another Using Oracle 6i

Oct 12, 2013

I want to copy image/pdf/doc file from one folder to another folder. For that I use following code but its not working.

DECLARE
v_path VARCHAR2 := 'C:ESMIMAGE';
BEGIN
HOST ('COPY '||v_path||'admin.jpg '||v_path||'BE2013', NO_SCREEN);
END;

I want to copy admin image from 'C:ESMIMAGE' to 'C:ESMIMAGEBE2013'.

View 17 Replies View Related

Forms :: How To Create Folder Dynamically Using Oracle 6i

Oct 12, 2013

How to create folder using oracle form. I used HOST command but its not working.

HOST ('md C:Emp_Photo2013');

View 5 Replies View Related

Client Tools :: Create Sub Folder Using SPOOL

Mar 5, 2010

I want to ask if we could create a sub folder using the SPOOL command. I tried the following but it gave "Cannot create Spool file" error.

SPOOL C:TESTABCABC.sql

where TEST is already present in the C drive whereas I want SPOOL command to create a sub-directory named 'ABC' and then create the spool file 'ABC.sql' isnside it.

Is this possible ? My OS version is MS XP.

View 4 Replies View Related

Forms :: Read Image From Folder To Tables?

Jun 12, 2012

I want read 500 GPG image files from a folder ( by A Button in Form ) and move images into a table with a image column (create new records with images) .

View 3 Replies View Related

Forms :: Picture In Database Or System Folder

Oct 5, 2010

Where should one store pictures in database or read it straight from a folder stored in hard disk and why (performance talking)?

View 4 Replies View Related

Windows :: Check Datafiles Not Generated In Folder

Jan 20, 2011

when i install oraclexe on my system..when i want to connect the oraclexe then it give error

D:oraclexeapporacleproduct10.2.0serverBIN>net start OracleXETNSListener 'net' is not recognized as an internal or external command, operable program or batch file.

D:oraclexeapporacleproduct10.2.0serverBIN>net start OracleServiceXE 'net' is not recognized as an internal or external command, operable program or batch file.

D:oraclexeapporacleproduct10.2.0serverBIN>c

when i check this path D:oraclexeoradataXE then i check datafiles not generated in this folder

View 2 Replies View Related

Backup & Recovery :: Restore Using Copied Oracle Folder

Jan 24, 2012

Opening the database with manually copied oracle data folders and files. Due to my server crashed we were forced to format the system. In that my friend by mistake copied the oracle folder (All data files, redo log files) manually instead of taking a backup in a procedural manner. Now we need to restore all the data. Would it be possible to restore the data with copied data file. If so how?

View 10 Replies View Related

Server Administration :: How To Delete Files In Incident Folder

Aug 3, 2010

I have got oracle 11g release 1, I need recomendation, how can I delete safely content from the folder C:oraclediag dbmsinstancenameinstancenameincident?

can i delete files manually which are not useful?

View 4 Replies View Related

Server Administration :: How To Find The Size Of Individual Folder In ASM 10g

Mar 16, 2012

Would like to know, how to find the size of individual folder in ASM 10g !

Also I am not able to find the PATH/name of the raw devices in ASM 10g !

View 3 Replies View Related

Server Utilities :: Inserting Targz Files Into Table From Specified Folder?

Sep 20, 2012

I used search option but i didn`t find answer to my question. My problem is with importing files into table( 2 columns > 1 number, 2 clob ). I can`t use SQL Loader becouse i need to load 30.000 tar.gz files from 1 folder, IMPORT option in SQL developer didn`t work too.

View 1 Replies View Related

Data Guard :: Changing Redo Log Folder On Primary Database

Mar 3, 2012

I want to replace one redo log on the primary database. actually this redo log is on G:oracleoradata; I want to move it on F:oracleoradata. How to do that cause the same redo log is also on standby database?

View 3 Replies View Related

JDeveloper, Java & XML :: Filling Folder Oracle Jar Cache With Some Files

May 16, 2011

what is the reason for filling the folder "Oracle Jar Cache" with some files? Why should we clear the cache ? My clients are also facing same issue. When they use the application continuously(in forms9i) after some time, application getting hanged. When we follow these steps its working fine:

- close all IE
- and clear the cache ,
- then re-start machine

View 1 Replies View Related

Forms :: Error - 7033 In Total Folder Form Fields

Jun 24, 2013

In my Folder Form i have 6 Total Fields(SUM) , when i press anyone of these Total Filed, to move Right Or Left i got an error like this "frm-40733 pl/sql built-in set_group_char_cell failed."

View 6 Replies View Related

Application Express Listener :: Removal Of Cache Folder Causes Hang With GlassFish

Aug 7, 2012

We had several unexplained lock-ups of APEX in our environment in the last months. This all happened after we moved to GlassFish with the APEX Listener. The symptoms were always that all connections in the JDBC connection pool were in use and we had to restart the GlassFish server instance to free them up.

The culprit is the caching folder that the APEX Listener uses for file caching. We use this to cache image downloads from the database through a procedure, and the caching folder was set to /tmp/apex/cache. I believe this is the default setting. All went well, when the procedure was called the images were downloaded from the database and cached under /tmp/apex/cache. However, for some (as yet unexplained) reason, Linux sometimes removes this folder from the /tmp file system. This seems to happen from time to time after an unknown period of inactivity. We didn't reboot the server. After the folder is gone, the APEX Listener is unable to recreate it, keeps on creating new database connections until the maximum configured is reached, and we need to restart the GlassFish instance to free them up. This also recreates the caching folder.

Our environment: GlassFish 3.1.1+3.1.2, APEX Listener 1.1.3, Oracle Linux 6.2. I didn't try out the new APEX Listener 1.1.4 yet so I'm not sure if this has been fixed in the last version.(kind of reminds me of the problem where the APEX config file is by default placed under /tmp and also disappears from time to time)

View 2 Replies View Related

Reports & Discoverer :: Discoverer Admin - How To Copy Folder From One Instance To Another

Nov 9, 2011

I need to copy my discoverer report from dev to prod. How should I do this? Are the items created using calculation in the report can also be copied? These items are not present in the folder in discoverer admin.

View 1 Replies View Related

Forms :: Export Text File With Same File As Imported Text File?

May 30, 2011

Is it possible to get the same name of file name from imported text file?

What i've is, I import the text file then I exported it.

can I get the same name of the imported text file?

View 2 Replies View Related

Server Administration :: ORA-01111 / Name For Data File 636 Is Unknown - Rename To Correct File

Nov 3, 2012

i have two tablespaces dictionary managed (SYSTEM,APPLSYSX) i tried to change to locally cause it will cause problem in future when trying to run OATM migration.i did it successfully on APPLSYSX,when i did it on system upon oracle procedure.i have to change all tablespaces to read only when i did that with tablespace APPLSYSD(alter tablespace APPLSYSD read only) i received errors

SQL> alter tablespace APPLSYSD READ ONLY;
alter tablespace APPLSYSD READ ONLY
*
ERROR at line 1:
ORA-01230: cannot make read only - file 636 is offline
ORA-01111: name for data file 636 is unknown - rename to correct file
ORA-01110: data file 636: '/vol5u/oracle/prddb/9.2.0/dbs/MISSING00636'
i have not this file on the OS

View 1 Replies View Related

Precompilers, OCI & OCCI :: Compile PC File With Created Make File - No Explicit Type Given

Jan 22, 2008

I am trying to compile a .pc file with the make file which I created. But when I try to give make command I am getting following error

>make testfile
cc -o testfile testfile.c
"testfile.c", line 117: warning: no explicit type given
"testfile.c", line 119: warning: no explicit type given
"testfile.c", line 121: warning: no explicit type given
"testfile.c", line 122: warning: no explicit type given
"testfile.c", line 123: warning: no explicit type given
Undefined first referenced
symbol in file
sqlcxt testfile.o
ld: fatal: Symbol referencing errors. No output written to testfile

*** Error code 1
make: Fatal error: Command failed for target `testfile'

View 16 Replies View Related

Forms :: Getting Error When Cancel File Selection In File Open Dialogue

Mar 18, 2010

I have created the below stored procedure and calling the procedure in when-button-pressed trigger. Problem here is that when I cancel the file selection in file open dialogue box its raising exception.

PROCEDURE TEST
IS
buffer_lines client_text_io.file_type;
v_outputstr VARCHAR2 (32767);
p_delimiter VARCHAR2 (10) := '","';
v_transaction_no VARCHAR2 (10);
BEGIN
[code].......

View 3 Replies View Related

Backup & Recovery :: How To Link ASM File Alias And Database File Names

Nov 12, 2012

During a duplicate process to a new database name, rman crashed after the restore but before the switch datafile all.So now, we have under ASM the data files under the correct (new) diskgroup but v$datafile contains the previous names (and so diskgroup) and v$datafile_header is empty. RMAN is completly lost, our solution is to manually rename each file under SQL*Plus using ALTER DATABASE RENAME FILE. Unfortunately, we are using or migrating to OMF, so file names are meaningless and we are unable to associate ASM files with database files.

Any way (query or anything else) to associate the ASM files to the database files. Here's an abstract of what we have for one (small) tablespace:

ASMCMD [+ORAXQG1_L136_DG1/ORAXPG1/DATAFILE] > ls -l N47CAW*
Type Redund Striped Time Sys Name
DATAFILE UNPROT COARSE NOV. 12 10:00:00 Y N47CAW1.276.799152039
DATAFILE UNPROT COARSE NOV. 12 10:00:00 Y N47CAW1.318.799151641
SQL> select file#, name from v$datafile where ts#=17
2 /
[code]...

View 11 Replies View Related







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