CHANGE OF NAME OF DATA FILE

Hi all
We use the database to Oracle 10 g Enterprise Edition Release 10.2.0.3.0 - 64 bit on Solaris 10.
I ran out of space in one of the mounting points of the and when I checked al the files were of oracle data files.
then I thought moving datafile and rename it.
Here are the steps that I followed and the thrown error...

(1) stop of the database
(2) cp /u02/oradata/DWH/temp01.dbf /u01/oradata/DWH/temp01.dbf
(3) startup nomount
(4) modify the database editing
(5) change the database file rename ' / u02/oradata/DWH/users01.dbf' to ' / u01/oradata/DWH/temp01.dbf';

Database altered.

(6) alter database open;
change the database open
*
ERROR on line 1:
ORA-01122: database file 4 failed verification check
ORA-01110: data file 4: ' / u01/oradata/DWH/temp01.dbf'
ORA-01251: unknown file header Version from the record 4


When I make the mistake...


Thanks in advance
Jazz

You have renamed the wrong file, you copied temporary users then renamed:

alter database rename file '/u02/oradata/DWH/users01.dbf' to '/u01/oradata/DWH/temp01.dbf';

Besides, with TEMP you could have just recreated instead of having to stop the database and to have a failure.

Published by: Stellios on May 20, 2009 16:19

Tags: Database

Similar Questions

  • Change the name of the file of "Import.xls" selection in Applescript

    Hi, I'm a tiger, but I try to change the name of a file in a folder (which can be any name that is) a name known.  In the end, just trying to import a file known to filemaker and need the name to be a known name.  That's what I have so far, but I have simply not success.  This goes to the folder 2 window and selects the first file... no problem, but, I can't seem to change the name of 'import.xls '.  Only excel files will be present in this folder, so I'm not worried about it.

    The other thing I would do is if there is no file in this folder to jump above everything and do nothing.

    Thanks for your help!

    Tell application "Finder".

    activate

    the value target of Finder window 2 to folder "Orders_to_Enter" of folder "Documents" of the file 'MINIJOHN'from folder 'Users' of startup disk

    Select the first file of the window of Finder 2

    Try

    the value the name of the selection of "IMPORT.xls".

    end try

    end say


    say

    Hello

    No need to manipulate the selection. You can just write something like this:

    set d to (path to documents folder as string) & "Orders_to_Enter:" as alias
    tell application "Finder"
        --open item d -- optional
        tell (item d's file 1 whose name extension = "xls")
            try
                set name to "IMPORT.xls"
            end try
        end tell
    end tell
    

    Tested under OS X 10.6.8.

    Good luck

    H

  • Changed the name of data

    SUMIFS (data: $C, data: $B, $A2, given: $A, "> =" & B$ 1, data: $A, "<" & (EOMONTH(A1,0) will GET ($1.0 B) + 1))

    It's the formula that I used until I changed the names of "data Plan". The original names were:

    A1

    A6

    A12

    B1

    B6

    etc...

    I changed the plan of names...  I want to start all over again... The original formula still works?

    The original formula should still work as long as the new plan names are spelled the same in both tables.

    SG

  • Skype is changing my names of sent files

    Hello

    Since I updated Skype 7.0, everytime I have send a picture to someone, Skype changes the name of the file to something like "i01 ^ cimgpsh_orig '. its really annoying! is there a way to fix this?

    Thank you!

    Right click on this preview of the image and select Save as.

    http://community.Skype.com/T5/Windows-desktop-client/quot-sending-files-quot-process-downgrading-IMA...

  • Name of data file in the file results correlate

    Hello

    My vi carried out statistics on multiple data files, and I was wondering if it is possible to correlate the new file names (of the results) of their original datasets. For example: names of data files: data1 & data2 will display results files: data1_result & data2_result.

    Is this possible to do?

    Thank you?

    Just for future use, if someone will have a similar question, see attachment.

  • How can I change the name of the file from the homepage?

    How can I change the name of the file from the homepage?

    CATIA de GR

    Hi CATIA

    You cannot change the 'filename' from the homepage of Muse. It is set to default "Index.html". You can change the name of the file from all other pages well.

    Kind regards

    Aish

  • [js] Change the name of the file?

    How can I change the name of a file in a script so that when I want to save it, I don't have to use a dialog box? I tried document.name =, but it said it was unalterable. Thank you!

    Try using save () - order of the DOCUMENT:

    Save ([to: file] [, stationery: boolean = false] [, versionComments:string] [, forceSave:bool = false])

    for example

    var myFile = new File('~/Desktop/test.indd'); // new file object
    app.documents.firstItem().save(myFile); // save to ...
    

    Martin

  • How to change the name of the file in the AS2 protocol

    Hi gurus B2B

    We send a purchase order (850) to our supplier, he received successfully by them, but for all transactions (files) that they receive the same file name (5020). We use the AS2 protocol (please help me how to change the name of the file)

    If its generic protocol of his work, but in the AS2 protocol there is no option to set the file name

    Need help please

    Concerning
    CNU

    Hi ALAIN,

    Never worked with BSE (However, I worked with OSB), but it looks like you are enquing the name of the action two times. Please queue using code below and let us know the result - please







    In fact the last ACTION_NAME header must contain the value of file as well as the content type name. (you try to add a new header actionName is not that good)

    Kind regards
    Anuj

  • I changed user names, but the files and folders show again old name

    I got my sisters computer and changed the name of user (jb-administrater) account, but when most of the programs have access to my files and folders that they are still called jenifer documents, how can I change this?

    Hello

    ·         Where have you changed the name of profile?

    This is normal in windows, and unfortunately, we would not be able to change.

    When you rename a user you just change the user account, not the files and folders associated with the user. Let's say you have USERA. USERA has also a C:\USERS\USERA folder that is associated with the user account. When you rename the user account to USERB, USERB has an C:\USERS\USERA folder that is associated with USERB

    Step 1: I suggest that you create a new user account and check to see if it helps:

    http://Windows.Microsoft.com/en-us/Windows-Vista/create-a-user-account

    Step 2: Copy the data to the new user account by following the link below:

    http://Windows.Microsoft.com/en-us/Windows-Vista/fix-a-corrupted-user-profile

  • Need to change the name of the file hard

    I need to change the name of the vmdk files which will get the game of football on behalf of virtual machines. Please anyone suggest me the steps to that end, the sameange the

    Hello

    Hope you are looking steps below.

    Renaming of files in virtual machine using Cold Storage Migration

    Virtual machine files can be renamed on the fly when cold Migration is initiated from the vSphere Client, only documents of the virtual machine are renowned.

    To rename the files:

    Log on to the VMware vSphere Client.

    Locate the virtual machine in your inventory to the host.

    Right-click the virtual machine, and then click Rename.

    Change the name of the virtual machine as required.

    Perform a cold migration to a new virtual machine data store.

    For more information, see:

    For ESXi/ESX 4.x, see Migration cold in the Guide of Administration of vSphere Datacenter.

    For ESXi/ESX 3.5, see Migration cold in basic management Guide.

    When the migration is complete, the files of the virtual machine, the name of the virtual machine configured in step 4.

    Note: If a virtual directory already exists on the data store with the same name, then the virtual target machine is placed in a new directory with annexed _1.

  • Synchronization of changes to contributor region data files

    Hello

    We are currently the subject of a redesign of the site and, therefore, we are working on new models in the region. In addition to coding patterns, we also write new definitions of the region to accommodate the additions and deletions of several elements that relate to our new design. Currently, the items in the new definition of the region are named identical to the former definition of the region. Doing so, however, can become a maintenance problem in the future that some names are not necessarily to their end in the model and the site as a whole.

    I want to do is rename these items (which are incorporated within the definition of the region) so that their names are more relevant for their new purpose. The challenge with this involves all data files existing contributor. Obviously, we don't want to repeat these contributor data files to adapt the new names within the new definition of the region. It is with this problem, that I turn to you, the experts for help: is it possible to synchronize changes made to a definition of the region so that they also appear in the contributor data files?

    For example, if I have an element named "ImgLarge" I would like to rename it to "IntroImage", I would that all my data files of the contributor that are associated with this definition of the region to rename their 'wcm:element' from 'ImgLarge' to 'IntroImage '. Through testing, I noticed that this does not change the contributor data file. In fact, the contributor data file retains the existing (ImgLarge) with its data item and just creates a new element (IntroImage) for me to fill it with content. I wonder if there is a tool or process available to synchronize changes made to a definition of area out to its contributor data files until I turn to writing a script for this.

    Here is a summary of what I'm looking for. Essentially, I want just the data files of contributor to resemble their definitions of the region, while keeping the same content ' if their names change.

    1. modification of the element name is reflected in the CDF (as discussed above)

    2. removal of the element leads to the deletion of the content of the CDF

    3. Add the item gets reflected in the CDF (this is done natively, as far as my requirements go).

    Thank you for your time!

    There is nothing I know of out of the box which carries out this mission.

    You should be able to write a custom component to do this. You will need the following:

    1 search to find all IDUS who have a particular xRegionDefinition the tag on them.

    2. an analysis of the XML library.

    3. a mapping between the new values in the definition of the region and which must be replaced to the CDF.

    Jonathan

    http://jonathanhult.com/

  • Option to enter the name of data file in SQL * Loader

    Hello

    I have a requirement to enter the name of the data file in the staging table, is it possible that I can capture in SQL * Loader or any other way to do it.

    Need suggestion of experts please.

    Thank you

    Genoo

    Genoo salvation,

    Please have the basename command in Linux to enter the name of the file that is currently running. I don't have a linux machine at the moment access, so please check at your end.

    BTW, as you file name of variant data in and values not consistent, you need to change the data file to include the file name. Unless it is approved for your management I don't see alternatives like the fill source tables are the data file. If this is approved then you can do the following:

    SED EI / $/ ' basename $0' /'-i '.

    Thus, for example, if you have a data file name 01test.csv, and it contains data such as:

    11, AAA, ABC

    22, BBB, BCD

    The command: sed EI / $/, ' basename $0' /'-i 01test.csv will go to:

    11, AAA, ABC, 01test.csv

    22, BBB, BCD, 01test.csv

    Then use SQL Loader to load the file

    It is the closest solution to you, I can think. There is no way that you can achieve your goal of features SQL Loader but rather, you should use technical Linux for a work around.

    Best regards

  • Script to change the name of the file to the virtual machine and its associated files

    Hello

    I'm looking for a script to change the name of the virtual machine in virtual center and also change it has associated file names in the data store to match file name of virtual machine. But the vmdk file will contain a descriptor which maps the - flat.vmdk file. So not sure that we can achieve this through a script.

    Thanks in advance!

    Not really as much as I know.

    The advantage of the svMotion is renamed it the files (.) VMX, VMDK,...) For you.

    The only alternative would be the command line. See Duncan Howto: renaming a virtual computer.

    With the help of the plink.exe tool which could possibly be scripted.

    ____________

    Blog: LucD notes

    Twitter: lucd22

  • is it possible to change the name of a file before I download on my pc

    When I download a file it appears in my download as «0.pdf» folder If I have more than one, it a number after the document. Then I have to open each one to see what it is.
    Windows 10 64 - bit

    If you change your download settings to a single folder set to show the Save as dialog every time, you can change the name of file as well as to choose the location. Please see this article to find out where to change this setting: Start, homepage, tabs and download settings.

    Does it work?

  • Saving PDFs: I would like to be able to change the name of the file and the destination of the downloads without jumping through hoops.

    I download a lot of PDF files and I organize their file name. I want to record on my computer to read later. When I have a PDF document is opened in the browser, it's particularly embarrassing. As it is, I have two options:

    Save the file:
    This automatically sends the file to a temporary folder to download, which Windows will not let me access without memorizing the exact location. It also saves automatically under the default file name, I never keep. If I use this option, I have to go back and manually move the file in my documents and rename it.

    Open the file:
    This opens the file in a new window from Adobe (while simultaneously recording to the same temporary folder). I have to open the file in the browser, and then open it in a new window, then hit save slot, then PDF, then change the destination folder (because the default value is the temp folder) and name of the file.

    Please, give me manual control of downloads! I want just a save as option.

    Is it possible to right click on the download link and use Save Link as...?
    Who will have the choice of "off-site" hands of Adobe.

Maybe you are looking for

  • GUI is unresponsive upon receipt of data

    I am relatively new to Labview and still getting used to the model data flow programming. I'm using LV as a control panel for some software and hardware running on an FPGA for a prototype I've created. Communication with the FPGA is made using the UA

  • Get a 1074118656 error in LV 2009

    First of all, I did some research and found this page of knowledge base, I also saw a few other forum posts about this error page of knowledge base seems to have worked for most of them. Unfortunately, it doesn't seem to do the trick for me, so I'm l

  • Registry error indicates ChromeHTML should be ChromeSHMTL. What should I do?

    I have PC MightyMax on my computer, and every time that I run it it comes up with error in registry ChromeHTML (shtml).  How can I fix it?

  • scanner Fujitsu fi - 4120c Windows 7

    Is there a download driver for scanner Fujitsu fi - 4120c Windows 7

  • Invoke.APP_TYPE_MESSAGES problem?

    Hi all We have Invoke.APP_TYPE_MESSAGES in our application as follows: Invoke.invokeApplication (Invoke.APP_TYPE_MESSAGES, new MessageArguments (MessageArguments.ARG_NEW,[email protected], "","")); what application calls this the screen open code, The