Colum names mapping from formate file is not working

Hi All,
i tried to import data from text file using BULK INSERT format file option, am able to load the data from file to table but when i change the column name order in the input file it is not inserting according to change column order 
BULK INSERT monsanto55_Steelwedge_monsanto_manualBuild_filters.dbo.bulk_test
   FROM '\\192.168.97.23\poc\bulk.txt'
   WITH( FORMATFILE = '\\192.168.97.23\poc\build.fmt',FIRSTROW = 2)
TABLE COLUMS: P_Id,LastName,FirstName,age,Address,City,no
Format file is :
10.0
7
1       SQLCHAR             0       12      "\t"     1     P_Id                   ""
2       SQLCHAR             0       255     "\t"     2     LastName               SQL_Latin1_General_CP1_CI_AS
3       SQLCHAR             0       255     "\t"     3     FirstName              SQL_Latin1_General_CP1_CI_AS
4       SQLCHAR             0       12      "\t"     4     age                    ""
5       SQLCHAR             0       255     "\t"     5     Address                SQL_Latin1_General_CP1_CI_AS
6       SQLCHAR             0       255     "\t"     6     City                   SQL_Latin1_General_CP1_CI_AS
7       SQLCHAR             0       12      "\r\n"   7     no                     ""
input data file:
P_Id FirstNameLastName
ageAddress Cityno
1 first
one 11
sanathnagar HYD 5
2 second
two 12
xyz abc
0
3 third
three 20
ameerpet SEC
30
according to mapping the data in table must be like:
P_Id,LastName,FirstName,age,Address,City,no
1 one first 11 sanathnagar HYD 5
2 two second 12 xyz abc 0
3 third three 20 ameerpet SEC 30
but it inserting same as input file format so first name and last name are miss matching
please let me know if you have any idea.
Thanks,

Hi All,
i tried to import data from text file using BULK INSERT format file option, am able to load the data from file to table but when i change the column name order in the input file it is not inserting according to change column order 
BULK INSERT monsanto55_Steelwedge_monsanto_manualBuild_filters.dbo.bulk_test
   FROM '\\192.168.97.23\poc\bulk.txt'
   WITH( FORMATFILE = '\\192.168.97.23\poc\build.fmt',FIRSTROW = 2)
TABLE COLUMS: P_Id,LastName,FirstName,age,Address,City,no
Format file is :
10.0
7
1       SQLCHAR             0       12      "\t"     1     P_Id                   ""
2       SQLCHAR             0       255     "\t"     2     LastName               SQL_Latin1_General_CP1_CI_AS
3       SQLCHAR             0       255     "\t"     3     FirstName              SQL_Latin1_General_CP1_CI_AS
4       SQLCHAR             0       12      "\t"     4     age                    ""
5       SQLCHAR             0       255     "\t"     5     Address                SQL_Latin1_General_CP1_CI_AS
6       SQLCHAR             0       255     "\t"     6     City                   SQL_Latin1_General_CP1_CI_AS
7       SQLCHAR             0       12      "\r\n"   7     no                     ""
input data file:
P_Id FirstNameLastName
ageAddress Cityno
1 first
one 11
sanathnagar HYD 5
2 second
two 12
xyz abc
0
3 third
three 20
ameerpet SEC
30
according to mapping the data in table must be like:
P_Id,LastName,FirstName,age,Address,City,no
1 one first 11 sanathnagar HYD 5
2 two second 12 xyz abc 0
3 third three 20 ameerpet SEC 30
but it inserting same as input file format so first name and last name are miss matching
please let me know if you have any idea.
Thanks,
Hi all,
Thanks for your response, and sorry for wrong question here i need to supply default values to column of
table based on input file so default values of columns will be changed based on input file, and one more thing i don't have any rights to change the table structure my work is to load data from file to table. Is there any chance to supply default values by XMLformat
file instead of .fmt file
or any other scenarios please let me know the possibility.

Similar Messages

  • Link from flash file/moving not working on a page

    I will apologize first for what maybe a very elementary
    questions. I was sent an swf file to add to a web page. I got the
    movie to run on some of the pages where I inserted it into a
    template and the template updated those pages. I think had to
    insert it into another page and the movie does not work there. Does
    this have something to do with the script in the script folder? A
    conflict of some sort?
    Also, I need to link the file a URL and putting <a
    href> brackets around it is not working. Does the link to the
    page have to embedded in the swf file?
    Thanks for any help on this.
    URL to see pages
    Movie working but no link:
    http://www.grantwrangler.com/advertise.html
    Movie not even showing up:
    http://www.grantwrangler.com/index.html

    > Also, I need to link the file a URL and putting <a
    href> brackets around it is
    > not working. Does the link to the page have to embedded
    in the swf file?
    wrapping an A HREF tag around a flash .swf object will not
    work.
    the link has to be "in" the swf, back when it was an FLA file
    in flash.
    Or- the .swf has to have actionscripting in it so that it
    will take a url as
    a parameter.
    On the flash not showing--
    Random observations from a quick look.
    There is no \ backslash in a web path or url.
    you can usually "get away with it" on a windows server, but
    it's incorrect
    and something to avoid.
    <!-- Dependencies -->
    <link type="text/css" rel="stylesheet"
    href="build\fonts\fonts.css">
    <!--<link type="text/css" rel="stylesheet"
    href="build\reset\reset.css">-->
    <script type="text/javascript"
    src="build\yahoo\yahoo.js"></script>
    <script type="text/javascript"
    src="build\dom\dom.js"></script>
    <script type="text/javascript"
    src="build\event\event.js"></script>
    <!-- Source file and calendar css -->
    <script type="text/javascript"
    src="build\calendar\calendar.js"></script>
    <link rel="stylesheet" type="text/css"
    href="build\calendar\assets\calendar.css" >
    The javascript call to show the flash file contains an
    absolute local path:
    'file:///Macintosh HD/Users/user/Documents/ Work/Nimble Press
    Ÿ/Grant
    Wrangler/Website/GW ADs/tiged
    The noscript tag uses an absolute local path:
    <param name="movie" value="file:///Macintosh
    HD/Users/user/Documents/
    Work/Nimble Press Ÿ/Grant Wrangler/Website/GW
    ADs/tiged.swf">
    <param name="quality" value="high">
    <embed src="file:///Macintosh HD/Users/user/Documents/
    Work/Nimble Press Ÿ/Grant Wrangler/Website/GW
    ADs/tiged.swf" quality="high"
    pluginspage="
    http://www.adobe.com
    it's also not a good idea to put things in a folder using a
    blank space, and
    whose name contains the word "ADs"
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Importing text from XML file, "\n" not working

    Hi I'm currently trying to set up my game so it pulls in all text from an external XML file (to make switching between different languages easier). The problem is that on several occasions I need to use the special code "\n" to start a new line (for formatting purposes) but when I'm pulling the text in from the XML file this is not starting a new line any more - it is just appearing as normal in the text. (e.g "Here is some \n example game text") How do I get around this?
    Any help here appreciated, I'm supposed to be finished everything by tomorrow so I need suggestions asap haha Thanks.

    I don't see how I can be setting it wrongly, I have the exact line:
    XML.ignoreWhitespace = false;
    Before this I tried myXMLDocName.ignoreWhitespace = false; (before I realised it was a static function)
    This line is placed immediately after I have loaded my XML document and assigned it to a variable. e.g.
    private function XMLLoaded(e:Event):void
                trace("XML Loaded");
                MyGameGlobalVars.xmlDoc = new XML(e.target.data);
                XML.ignoreWhitespace = false;       //previously: MyGameGlobalVars.xmlDoc.ignoreWhitespace = false;
                xmlLoaded = true;

  • Get-ADUser SamAccount from CSV file does not work.

    So I'm trying to get HomeDirectory + SamAccountName using Get-ADUser from an imported csv file called $csvFile
    $GetUserInfo = Get-ADUser (Get-ADUser -Filter { displayName -eq $csvFile[$index].DisplayName}).SamAccountName -Properties SamAccountName,HomeDirectory
    It gives me an error. 
    Get-ADUser : Invalid type 'System.Object[]'.
    Parameter name: displayName
    At line:1 char:28
    + $GetInfoUser = Get-ADUser (Get-ADUser -Filter { displayName -eq $csvFile[5].Disp ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (:) [Get-ADUser], ArgumentException
    + FullyQualifiedErrorId : ActiveDirectoryCmdlet:System.ArgumentException,Microsoft.ActiveDirectory.Management.Commands.GetADUser
    However if I do like this 
    $DisplayName = $csvFile[$index].DisplayName
    and replace $DisplayName to the filter like this, it works flawless and I get HomeDirectory and the SamAccountName
    (Get-ADUser -Filter { displayName -eq $DisplayName }).SamA...
    Any ideas or improvements

    Still produces the same error. I'm running 4.0
    How about this?
    Import-Csv C:\Temp\user.csv | % {
    $displayname = $_.displayname;
    get-aduser -filter { displayname -eq $displayname } | Select SamAccountname , HomeDirectory
    The below was my CSV format
    DisplayName
    Chendrayan Venkatesan
    Ramesh Venkatesan
    Regards Chen V [MCTS SharePoint 2010]

  • Have tried many times to do mail merge from csv file but not working have watched all u tube vids!! Please help thank you

    I've downloaded Thunderbird and have imported all emails etc - works great!
    BUT when I try to do a mail merge it doesn't work! I've saved my excel file as cvs and understand that I need to use {{Email}} , {{First Name}} etc
    It just doesn't work for me - no emails in outbox or sent items?
    any ideas please?

    can you confirm a few things?
    You downloaded 'Mail Merge' and it is displayed in the Thunderbird 'Addon Manager' and it is enabled.
    Open the .csv file and checked that the info you are entering in the Write message eg: {{Email}} , {{First Name}} etc is the same as the column headers.
    example:
    {{FirstName}} OR {{First Name}}
    {{Email}} OR {{Primary Email}}
    you can edit the .csv file to change eg: {{Primary Email}} to {{Email}}
    you can also move the column headers, so that the first three columns show : First Name, Last Name, Email

  • Help for: ORA-01103: database name PRIMARY in control file is not STANDBY

    Hello all, this will be my first post to the support forum. I'm an associate dba with just 6 months on the job, so if I've forgotten something or not given some infromation that is needed please let me know.
    I've also combed the forums/internet, and some of the answers haven't helped. The Oracle Document ORA-1103 While Mounting the Database Using PFILE [ID 237073.1] says my init.ora file is corrupted, but creating a new init.ora file from the spfile does not help. Neither does just starting from the spfile. I have older copies of the init.ora file and the spfiles that the database was running on previously, so I believe they are good.
    This standby NIRNASD1 has existed previously, I had to refresh the primary NIKNASD2, and then re-instantiate NIRNASD1 after the refresh is complete.
    My env is set correctly, and my ORACLE_SID has been exported to NIRNASD1
    NIKNASD2 = Primary Database
    NIRNASD1 = Secondary/Standby Database
    Goal: Creation of Logical Standby NIRNASD1 after creating Physical Standby from NIKNASD2
    My database versions are 10.2.0.4.0, and the databases are on a Unix server. Both databases are located on separate servers.
    Steps that I have taken:
    I used RMAN to backup our primary database to the staging area:
    $ rman target /
    run {
    backup database
    format '/datatransa/dg_stage/%U'
    include current controlfile for standby;
    sql "alter system archive log current";
    backup archivelog all format '/datatransa/dg_stage/%U';
    I used RMAN to Create Secondary Database utilizing RMAN DUPLICATE command.
    RMAN> run {
    2> allocate auxiliary channel auxdisk device type disk;     
    3> duplicate target database for standby NOFILENAMECHECK;
    4> }
    On Secondary database I started Managed Recovery mode
    SQL> shutdown immediate;
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    (I used pfile here, thinking that I needed to mount the database to the pfile so that the database would see the change in the dataguard parameters in the init.ora file, the change from logical to physical- I commeneted out the logical and uncommented the physical line)
    # Dataguard Parameters
    For logical standby, change db_name to name of standby database.
    db_name=NIKNASD2 ### for physical, db_name is same as primary
    #db_name=NIRNASD1 ### for logical, db_name is same as unique_name
    SQL> STARTUP MOUNT PFILE = /oraa/app/oracle/product/1020/admin/NIRNASD1/pfile/initNIRNASD1.ora;
    ORACLE instance started.
    Total System Global Area 1577058304 bytes
    Fixed Size 2084368 bytes
    Variable Size 385876464 bytes
    Database Buffers 1174405120 bytes
    Redo Buffers 14692352 bytes
    Database mounted.
    SQL> ALTER DATABASE recover managed standby database using current logfile disconnect;
    I then verified the Data Guard Configuration by using “alter system archive log current;” on the primary database and watching the sequence number change in the secondary database.
    I made sure that:
    •     The primary database was in MAXIMUM PERFORMANCE MODE
    •     Stopped managed recover on the standby database: alter database recover managed standby database cancel;
    •     Built a logical standby data dictionary on the primary database
    •     The db_name in init.ora was changed (this is in our document at my job)
    •     I changed my database name (from physical to logical) in my init.ora pfile (reverse of what I did above)
    # Dataguard Parameters
    For logical standby, change db_name to name of standby database.
    #db_name=NIKNASD2 ### for physical, db_name is same as primary
    db_name=NIRNASD1 ### for logical, db_name is same as unique_name
    I then went to shutdown my standby database and re-start it in a mount exclusive state, which is where I get the ORA-01103 Error (Again I used the pfile, thinking that I needed to tell the database it is now a logical standby):
    SQL> shutdown immediate;
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    SQL> STARTUP EXCLUSIVE MOUNT PFILE = /oraa/app/oracle/product/1020/admin/NIRNASD1/pfile/initNIRNASD1.ora;
    ORACLE instance started.
    Total System Global Area 1577058304 bytes
    Fixed Size 2084368 bytes
    Variable Size 385876464 bytes
    Database Buffers 1174405120 bytes
    Redo Buffers 14692352 bytes
    ORA-01103: database name 'NIKNASD2' in control file is not 'NIRNASD1'
    From what I understand of the process, the name in the control file is correct, I want it to be NIRNASD1. But the database for some reason thinks it should be NIKNASD2. The following are the parts of my init.ora file that include the dataguard parameters:
    # Database Identification
    db_domain=""
    #db_name=NIRNASD1
    #db_unique_name=NIRNASD1
    # File Configuration
    control_files=("/oradba2/oradata/NIRNASD1/control01.ctl", "/oradba3/oradata/NIRNASD1/control02.ctl", "/oradba4/oradata/NIRNASD1/control03.ctl")
    # Instance Identification
    instance_name=NIRNASD1
    # Dataguard Parameters
    #db_name=NIKNASD2 ### for physical, db_name is same as prmary
    db_name=NIRNASD1 ### for logical, db_name is same as unique_name
    db_unique_name=NIRNASD1
    dg_broker_start=TRUE
    db_file_name_convert='NIKNASD2','NIRNASD1'
    log_file_name_convert='NIKNASD2','NIRNASD1'
    log_archive_config='dg_config=(NIRNASD1,NIKNASD2)'
    log_archive_dest_1='LOCATION="/oraarcha/NIRNASD1/" valid_for=(ONLINE_LOGFILES,all_roles) db_unique_name=NIRNASD1'
    #log_archive_dest_2='LOCATION="/oraarcha/NIKNASD2/" valid_for=(standby_logfiles,standby_roles) db_unique_name=NIRNASD1'
    log_archive_dest_2='LOCATION="/oraarcha/NIKNASD2/" valid_for=(standby_logfile,standby_role) db_unique_name=NIRNASD1'
    STANDBY_ARCHIVE_DEST='LOCATION=/oraarcha/NIKNASD2/'
    # Parameters are not needed since this server will NOT become primary
    #log_archive_dest_2='service=NIKNASD2
    # valid_for=(online_logfiles,primary_role)
    # db_unique_name=NIKNASD2'
    fal_server='NIKNASD2'
    fal_client='NIRNASD1'
    I would appreciate any help, or pointing me in the right direction. I'm just missing something. I am reviewing the documents for building a physical and logical standby from oracle. Just not sure where to go from here.
    Thank you
    Edited by: 977917 on Dec 19, 2012 5:49 PM

    First of all, thank you both for answering my post. I've pulled up Mr. Hesse's page and will make it a go-to staple.
    We're in the process of upgrading our databases, but we have 130+ databases and only six Oracle dba's, and I'm one of them. It's a large corporation, and things move at a "slow and tested" pace.
    The pfile parameters listed above are from my secondary/standby database. And I do want to create a logical standby.
    I forgot to mention that we do use DataGuard Broker, but I did not think that would be the cause of why the database was starting up incorrectly, so I did not mention it. My apologies there.
    As far as the db_name, here's my question on that. It's my understanding the the db_name should be the name of the primary database when you are working with a physical standby, but as soon as you convert it to logical, you should change the db_name to the secondary/standby database? Am I correct on that?
    Leading from that, during the process of creating the physical standby and converting the physical standby to the logical standby, should I change the db_name in the secondary/standby database in the spfile and never use the pfile at all? For instance, when I create the physical standby I have to change the db_name in the standby to the PRIMARY database, so that makes me think I should change db_name in the spfile? (If you see above, I changed db_name in the pfile and did a startup pfile)
    This morning I was able to reach out to a fellow DBA (they are were asleep when I posted this last night), and they tried a few things. We had a redirect in the standby directory /oraa/app/oracle/product/1020/dbs folder that looked like this: spfileNIRNASD1.ora -> /oraa/app/oracle/product/1020/admin/NIRNASD1/pfile/spfileNIRNASD1.ora
    She removed the redirect and the startup mount exclusive then worked without the error.
    Thank you again for your help Mr.Quluzade and Mr. Hesse, I appreciate you all taking the time to teach someone new to the craft. I will definitely read up on the link that you sent me.
    Chris Cranford

  • I bought Numbers because my Excel files would not work with Mavericks. How can I import a non-functioning Excel file into numbers? (As of now, the file NAME transfers but data is not.) but

    I bought Numbers because my Excel files would not work with Mavericks. How can I import a non-functioning Excel file into numbers? (As of now, the file NAME transfers but data does not.)

    HI Dave,
    I'm surprised you get no message when you attempt opening the Excel document in Numbers.
    I'm assuming Numbers 3.1, since you are running Mavericks.
    Does the Numbers file that opens show any content?
    Does it contain a table?
    How large?
    Does it contain more than one tab (indicating more than one sheet)?
    Do those other tabs contain a table?
    Have you checked those tables for data content?
    There have been cases in the past of imported documents opening with white text on a white background, giving the appearance of containing nothing. Check for this by selecting a block of cells, then applying a Fill colour or a Text colour using the Format button (paintbrush).
    I'd also suggest attempting to open the Excel files using LibreOffice, which can be downloaded from the linked website.
    Regards,
    Barry

  • File- Export not working after upgrade from 11i to R12

    Hi,
    File -> Export not working after upgrade from 11i to R12.1.3 in few systems. Can you please let me know what could be the issue.
    If export record count more than 200 it is working fine in all the systems and if change the profile option "Export MIME type” value to ‘text/tab-separated-values’ from application/excel also it is wokring.
    Thanks and Regards,
    Jagadeesha

    Enabled the FRD. Below are few last lines. Can you please let me know what i can in this log file contents.
    In Argument 1 - Type: String Value: global.frd_debug
    Executing GET_ITEM_PROPERTY/FIELD_CHARACTERISTIC Built-in:
    In Argument 0 - Type: Integer Value: 196613
    In Argument 1 - Type: Number Value: 54
    Out Argument 0 - Type: String Value: 12
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: Entering app_menu.set_prop.
    In Argument 1 - Type: String Value: global.frd_debug
    Executing FIND_MENU_ITEM Built-in:
    In Argument 0 - Type: String Value: FILE.EXPORT
    Out Argument 0 - Type: Integer Value: 19
    Executing GET_MENU_ITEM_PROPERTY Built-in:
    In Argument 0 - Type: Integer Value: 19
    In Argument 1 - Type: Number Value: 79
    Out Argument 0 - Type: String Value: TRUE
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: Completed app_menu.set_prop.
    In Argument 1 - Type: String Value: global.frd_debug
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: Completed app_synch.menu_toolbar_sync. Event is WHEN-NEW-ITEM-INSTANCE.
    In Argument 1 - Type: String Value: global.frd_debug
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: GLOBAL.APP_CUSTOM_MODE
    Out Argument 0 - Type: String Value: NORMAL
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: GLOBAL.APP_CUSTOM_MODE
    Out Argument 0 - Type: String Value: NORMAL
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: NULL
    In Argument 1 - Type: String Value: GLOBAL.OUT
    Executing USER_EXIT Built-in:
    In Argument 0 - Type: String Value: FND GETPROFILE NAME="UPK_RECORDING_ENABLED" FIELD="GLOBAL.OUT" N
    FNDCPVCM, 11, Built-In, Entry, 316509814, USER_EXIT
    FNDCPVCM, 11, Built-In, Exit, 316509814, USER_EXIT
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: GLOBAL.OUT
    Out Argument 0 - Type: String Value: N
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: system.current_form
    Out Argument 0 - Type: String Value: FNDCPVCM
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: system.current_block
    Out Argument 0 - Type: String Value: MASTER
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: system.current_form
    Out Argument 0 - Type: String Value: FNDCPVCM
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: system.current_block
    Out Argument 0 - Type: String Value: MASTER
    Executing GET_APPLICATION_PROPERTY Built-in:
    In Argument 0 - Type: Number Value: 75
    Out Argument 0 - Type: String Value: IHR40P
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: Completed call_all_libraries. Event is WHEN-NEW-ITEM-INSTANCE.
    In Argument 1 - Type: String Value: global.frd_debug
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: Completed app_standard.event. Event is WHEN-NEW-ITEM-INSTANCE.
    In Argument 1 - Type: String Value: global.frd_debug
    FNDCPVCM, 10, Prog Unit, Exit, 316509814, /FNDCPVCM-3/P45_30_DEC_201223_28_33
    FNDCPVCM, 9, Trigger, Exit, 316509814, WHEN-NEW-ITEM-INSTANCE
    FNDCPVCM, 8, Prog Unit, Exit, 316509814, /DMU-4/P8_30_DEC_201223_23_12
    # 15 - FNDCPVCM:MASTER.USER_CONCURRENT_QUEUE_NAME.1359399301498413820
    WINDOW FNDCPVCM PROGRESS_INDICATOR RESIZE 4198 1500 3
    # 16 - FNDCPVCM:MASTER.USER_CONCURRENT_QUEUE_NAME.1359399301512613925
    WINDOW FNDCPVCM PROGRESS_INDICATOR RESIZE 4198 1500 3

  • How to make iTunes read the song's name/singer from the file's name itself?

    Hi everyone,
    So I have this file with songs from everywhere. I spent quite some time now to make sure that the structure of each file's name is as such : "Singer - Song name", hoping that everything would be read by iTunes accordingly. However, either iTunes read it well, or it didn't read it at all ("Singer - Song name" appearing in Title alone), or iTunes read the "media" of the file (ie. what the guy I downloaded it from wrote for it in the Preferences, which usually is in capital letters or with a bunch of weird underscores). As I'm OCD and need everything to be neat, I'm highly tensed right now. I really want everything to be neat and clear!
    So, how do I make sure that iTunes reads the files' names such that it knows the structure is "Singer - Song name"? Thanks.

    iTunes doesn't use file names to determine how music appears in your library,  Rather, it uses metadata that is split between:
    data elements that are embedded within the media files
    data elements that are included in the entries in the iTunes database
    No amount of reorganization, renaming or other manipulation at the file level will make any difference to how songs will appear in iTunes.  Using your example:
    the value of the track number element is 1
    the value of the artist element is "Elvis Presley"
    the value of the song name element is "Blue Suede Shoes"
    Depending on how you configure iTunes then the file name is either:
    completely independent of iTunes (i.,e., the file containing this song could be xyz.mp3)
    dependent on the metadata managed by iTunes, (i.e., when you have these two options set:
    then iTunes will set the file name to be 1-01 Blue Suede Shoes.mp3 where:
    the file is in a folder called "Elvis Presley" (the name of the album)
    that folder is in one called "Elvis Presley" (the name of the artist) which is in iTunes Media\Music
    Going back to your question "How to make iTunes read the song's name/singer from the file's name" the answer is simple - you can't, as this is not how iTunes works.  There are some third-party utilities that you can use to set some metadata element values based on parsing of file names which might be a useful first step.  However, to use iTunes effectively you should really forget about / ignore file names - manage your media using appropriate metadata and allow iTunes to look after file names behind the scenes.

  • ORA-01103: database name 'ORDB' in control file is not 'ORCL'

    hey there !!
    11.2.0
    win 7 pro
    let me tell u whole scenario for how i reach to this error - ORA-01103: database name 'ORDB' in control file is not 'ORCL'
    -installed new 11g ( test/ practice environment )
    -by default database created 'ORCL' while installation
    -created another instance 'ORDB' ( my aim was to create auxiliary database/duplicate database )
    -done well according to oracle documents and SUCESSFULLY created a duplicated database
    -i thot of sycnronization to auxiliary to target db , so i read docs and learn that you can issue
    DUPLICATE TARGET DATABASE TO dupdb ( its an oracle Doc's exmple so i put my db name and path accordingly )
    SKIP TABLESPACE tools
    LOGFILE
    GROUP 1 ('/duplogs/redo01a.log',
    '/duplogs/redo01b.log') SIZE 200K REUSE,
    GROUP 2 ('/duplogs/redo02a.log',
    '/duplogs/redo02b.log') SIZE 200K REUSE;NOW, process was Failed , above command didn work bcos of some syntax error .
    BUT what happned is - now whenever i connect both target and auxiliary database from RMAN it shows this -
    C:\Users\Administrator>rman target /@orcl auxiliary /@ordb
    Recovery Manager: Release 11.2.0.1.0 - Production on Fri Apr 5 10:54:04 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: ORCL (DBID=1339650140)
    connected to auxiliary database: ORCL (not mounted)
    RMAN>and also whenever i connect Target ( main , not auxiliary db ) from SQL it shows the error that i described in title .
    I feel like something BUG because this happned to me 5th time , in that 5 times 4 times i got this error while i was duplicating a database . and also after sucessfully duplicated DB ( that was 5th time )
    Thanks
    Regards

    Hi ,
    check the db_name parameter in init parameter file.
    Edited by: Jamsher on Apr 4, 2013 10:33 PM

  • 11g Data Guard --ORA-01103: database name 'PRIM' in control file is not 'ST

    Dear all,
    From no mount stage i am trying to bring the db in mount stage in standby database
    SQL> alter database mount standby database;
    alter database mount standby database
    ERROR at line 1:
    ORA-01103: database name 'PRIM' in control file is not 'STANDBY'
    What is this problem ?
    I have taken standby control from from standby database and places with datafile's and removed the orginal control file. and added this standby.ora file in parameter file also (pfile).
    the Primary database name is PRIM and standby database name is STANDBY.
    This is my first time doing this data guard configuration kindly let me know what i have to do at this above mentioned stage ..
    Regards
    Hamid

    Standby DB init file
    prim.__db_cache_size=536870912
    prim.__java_pool_size=8388608
    prim.__large_pool_size=8388608
    prim.__oracle_base='F:\standby'#ORACLE_BASE set from environment
    prim.__pga_aggregate_target=520093696
    prim.__sga_target=771751936
    prim.__shared_io_pool_size=0
    prim.__shared_pool_size=209715200
    prim.__streams_pool_size=0
    audit_file_dest='F:\standby\admin\standby\adump'
    audit_trail='db'
    compatible='11.2.0.0.0'
    control_files='F:\standby\oradata\standby\STANDBY.ctl'
    db_block_size=8192
    db_domain='AKEETECH.COM'
    db_name='prim'
    db_recovery_file_dest='F:\standby\flash_recovery_area'
    db_recovery_file_dest_size=4039114752
    diagnostic_dest='F:\standby'
    dispatchers='(PROTOCOL=TCP) (SERVICE=standbyXDB)'
    fal_client='standby'
    fal_server='prim'
    local_listener='LISTENER_PRIM'
    memory_target=1288699904
    open_cursors=300
    processes=150
    remote_login_passwordfile='EXCLUSIVE'
    standby_file_management='auto'
    undo_tablespace='UNDOTBS1'
    standby_file_management=auto
    fal_server=prim
    fal_client=standby
    Primary Db Init file
    prim.__db_cache_size=536870912
    prim.__java_pool_size=8388608
    prim.__large_pool_size=8388608
    prim.__oracle_base='D:\Primary'#ORACLE_BASE set from environment
    prim.__pga_aggregate_target=520093696
    prim.__sga_target=771751936
    prim.__shared_io_pool_size=0
    prim.__shared_pool_size=209715200
    prim.__streams_pool_size=0
    *.audit_file_dest='D:\Primary\admin\prim\adump'
    *.audit_trail='db'
    *.compatible='11.2.0.0.0'
    *.control_files='D:\Primary\oradata\prim\control01.ctl','D:\Primary\flash_recovery_area\prim\control02.ctl'
    *.db_block_size=8192
    *.db_domain='AKEETECH.COM'
    *.db_name='prim'
    *.db_recovery_file_dest='D:\Primary\flash_recovery_area'
    *.db_recovery_file_dest_size=4039114752
    *.diagnostic_dest='D:\Primary'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=primXDB)'
    *.local_listener='LISTENER_PRIM'
    *.memory_target=1288699904
    *.open_cursors=300
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.undo_tablespace='UNDOTBS1'
    standby_file_management=auto
    fal_server=prim
    fal_client=standby
    Steps i have followed till now.
    1) Created standby control file in primary in mount stage (STANDBY.CTL)
    2) Installed 11g DB software alone in standby location
    3) Shutdown the Primary DB and Taken cold back of all the other files and copied in Standby DB location (Primary in D:\ Drive and Standby in F:\ Drive )
    4) Edited init parameters in Primary and standby
    5) Startup no mount pfile= standby db init file ( its started )
    6) SQL> alter database mount standby database; --- at this time i got the error i have mentioned above, so i have changed the db_name same in both init.ora files
    7)
    Up to this step i have done .. but this is all blindly.. not in clear understanding..
    Kindly guide me.. step by step configuration..
    Regards
    Hamid

  • ORA-01103: database name 'PROD1' in control file is not 'PROD2'

    Dear Experts,
    I am trying to use a full compressed backup of PROD1database to create a new database called PROD2 on the SAME host.
    Both databases are using 11.2.0.2 version on Oracle Redhat 5.
    1- I created pfile from source PROD1 database, and modified the following;
    {code}
    *.control_files='+prod2_DG/prod2/controlfile/control01.ctl'
    *.db_create_file_dest='+prod2_DG'
    *.db_name='prod2'
    {code}
    2- Started up no mount the prod2 database using the new pfile.
    3- restore the controlfile from PROD1 backup;
    restore controlfile from '/tmp/prod2/prod1_cntl_4ioet09f_1_1.bkp'
    4- alter database mount give me the following error;
    {code}
    RMAN-00571: ===========================================================
    RMAN-03002: failure of startup command at 07/18/2013 05:52:51
    ORA-01103: database name 'PROD1' in control file is not 'PROD2'
    {code}
    I want to test the backup made on prod1 and same time have a new database prod2 on same host.
    I also tried with SET DBID = <DBID_OF_PROD1> and it doesn't work!
    How I can fix that?
    Thanks and best regards

    SET DBID or DB_NAME in the parameter file don't change the database name  that is in the control file.  At the point of restore, the control file still has the "prod1" database name.
    With RMAN backups, you should consider using DUPLICATE DATABASE
    http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmdupdb.htm#i1008564
    Running a DUPLICATE Database on the same host as the source database is a risky operation.  Done incorrectly, you run the risk of overwriting the datafiles of the source database.  Since your source is a Production database, you run the risk of taking the production database down.  I suggest that you practice the steps on a non-production environment first.
    Hemant K Chitale

  • ORA-01103: database name 'RAC' in control file is not 'STB'

    Hiii..,
    Im doing my dataguard setup, My primary side is a 2node RAC and standby is a single node. Im using 11gR2 Database.
    when im using RMan command for Duplicating the Database im getting the following Error.
    sql statement: alter database mount standby database
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 10/03/2011 18:33:58
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of sql command on clone_default channel at 10/03/2011 18:33:58
    RMAN-11003: failure during parse/execution of SQL statement: alter database mount standby database
    ORA-01103: database name 'RAC' in control file is not 'STB'
    Plz anyone can help me in resolving the issue.??
    Thanks in advance..

    881222 wrote:
    In my primary side the db_recovery_file_dest is not set as shown beloww..
    SQL> show parameter db_recovery_file_dest;
    NAME                                 TYPE        VALUE
    db_recovery_file_dest                string
    db_recovery_file_dest_size           big integer 0
    SQL> select flashback_on from v$database;
    FLASHBACK_ON
    NO
    so shud i need to set in standby side..??
    Thanks.
    ORA-19801:
         initialization parameter DB_RECOVERY_FILE_DEST is not set
    Cause:      An attempt was made to create a file in DB_RECOVERY_FILE_DEST when DB_RECOVERY_FILE_DEST was not set. There are number of possible causes of this error, including:
                    1) A LOG_ARCHIVE_DEST_n parameter was specified using a LOCATION attribute whose value was DB_RECOVERY_FILE_DEST and an archivelog file creation was attempted.
                    2) STANDBY_ARCHIVE_DEST parameter was specified using a LOCATION attribute whose value was DB_RECOVERY_FILE_DEST and an archivelog file creation was attempted.
    Action:      Specify a valid destination for DB_RECOVERY_FILE_DEST in initialization parameter file or with the ALTER SYSTEM SET command.

  • ORA-01103: database name 'TESTING2' in control file is not'TESTING1..

    Hello all, please help me on this..im using 10.2.0.4.0 , DB created by ex-colleque
    while connecting db getting ora 1103 error, and tried to create controlfile using trace but i couldn't
    here is the details:
    TESTING1 >startup mount;
    ORACLE instance started.
    Total System Global Area 734003200 bytes
    Fixed Size 2141536 bytes
    Variable Size 328159904 bytes
    Database Buffers 369098752 bytes
    Redo Buffers 34603008 bytes
    ORA-01103: database name 'TESTING2' in control file is not 'TESTING1'
    want to backup ctl file and change the dbname, getting below error..
    TESTING1 >alter database backup controlfile to trace;
    alter database backup controlfile to trace
    ERROR at line 1:
    ORA-01507: database not mounted
    TESTING1:/app/oracle/TESTING1/product/10.2.0.4/dbs >grep db_name initTESTING1.ora
    *.db_name='TESTING1'
    I have found TESTING2 entries in alert log file..
    TESTING1:/app/oracle/TESTING1/admin/bdump >grep TESTING2 alert_TESTING1.log
    DBNAME will be changed from TESTING1 to new DBNAME of TESTING2
    Database name changed to TESTING2.
    Database ID for database TESTING2 changed to 1933958893.
    i have tried to create new controlfile and tried to startup..got below error hence i hv mentioned same datafiles path..
    ORA-01161: database name TESTING2 in file header does not match given name of TESTING1

    Here is the first law of holes.
    When you find yourself in a hole, the first thing you should do is STOP digging.
    Have you taken a full, cold backup since this event started?
    DBNAME will be changed from TESTING1 to new DBNAME of TESTING2When & why did this occur?
    Do you have a valid & recent backup?
    i have tried to create new controlfile Why did you do this?
    Edited by: sb92075 on May 7, 2010 8:36 PM

  • Dear ladies and gentlemen! I recently received on my notebook, operating system 8.1, the message "Adobe Acrobat is no longer working properly". I also found myself that I can copy from einerPDF file excerpts not without problems in another document. My Ad

    Dear ladies and gentlemen!
    I recently received on my notebook, operating system 8.1, the message "Adobe Acrobat is no longer working properly". I also found myself that I can copy from einerPDF file excerpts not without problems in another document. My Adobe Acrobat 9 Pro has released version 9.0.0. Two updates this version is not listed. Please inform me how I can fix this problem.
    Sincerely, Walter Hacksteiner
    mailto: [email protected]

    The first thing I would try is to update Acrobat 9 to the latest version 9.5.5
    The next thing would be to run Acrobat 9 in Windows 7 or Vista or XP Compatibility Mode.

Maybe you are looking for

  • Foreign Currency Valuation Values Conversion

    Hello SAP Experts! We are migrating from 4.6B to 4.7 and we are working in the vendor, customer and G/L accounts open items conversion. In the present system (4.6B) the users use transaction F.05 for foreign currency valuation with the flag "Bal. she

  • J1I9 - not able to select excise group while confi. no range

    Dear friends, I have done CIN configuration in development. all request are transported to quality. But when i am going to assing number ranges in J1I9 , i am not getting allready configured Excise Group for seldction . ?? WHY?? Where i am wrong?? Re

  • Oracle GUI Plugin

    Hi Everyone, I'm not a Oracle DB Guy, There was a requirement in my application where I need to install Oracle GUI Plgin on my Application server. Can any one of you please let me know where can I find or download the Oracle GUI Plugin? Early respons

  • In a MultiMaster Replication to not propagate changes on Second DB

    Hello, I've setup a multimaster replication environment with DB1 and DB2. DB1 replicates all changes on some tables to DB2. But i don't want to DB2 to propagate changes to DB1. So, i didn't create a scheduled link on DB2 to propagate changes to DB1.

  • Quicktime Movie Quality

    Trying to create a movie on my VISTA computer with Pinnacle Studio 11. Wanting to input a PowerPoint presentation that was made at middle school on an IMac. It contains features that prevents my PowerPoint from reading it. Used my Imac to create a .M