How to upgrade the schema on both the sites using sql scripts?

Hi Experts,
I need some help.
I have two sites SITE A and SITEB, on both the sites GG is installed and running (DML Bi- directional replication). I have schema SCHEMA1 on both the sites which are configured for replication and replication is working from last one year.
Now I wanted to upgrade the SCHEMA1 on both the sites. There are three .sql script which has many SQL commands like create table, create sequence, create procedure, insert record etc. I wanted to run that SQL file one both the sites.
So should I stop all the process on both the sites SITEA and SITE B (including manager process) ,execute the SQL scripts on both the sites and then start the process again ? Will it work?
Is there any other best way to do this?
Could you please suggest the steps so that I can successfully execute theses scripts on both the site to upgrade the schema1.

There is no blanket answer here; it depends. Main questions are:
1. Do the SQL scripts update existing tables?
2. Are you replicating DDL in one direction? (DDL should only be replicated one way even when doing bi-directional, do DDL should only be issued on the node capturing DDL
3. Are you using a wildcard (*) from table names or using an explicit list?
Easiest thing is if you're replicating DDL from A to B and apply DDL to A only. This assumes that the application writing to these tables can handle DDL changes under the covers. If these are new tables supporting new application features then you would simply enable said features after apply sql files.
From there it gets more complicated and would need answers to the above questions before going down each line of logic. But try to remember what's really going on here. Data in one form (DDL) is being captured and send along. If the "shape" (DDL) of that data changes then the extract and replicat need to update their meta data to handle it correctly. If change data encounters a different shape than what's cached then you will become out of sync.
I'm not sure if that makes sense but again, the answers to the questions above will be indicate where more detailed explanations should be focused. In short, we need more detail about what those scripts do and your current setup.
Good luck,
-joe

Similar Messages

  • HT3887 my bluetooth says 'Not Available' how do i get it to work again. I have restarted the computer several times and have replaced the batteries in both the keyboard and mouse and yet it still is not working! please help

    my bluetooth says 'Not Available' how do i get it to work again. I have restarted the computer several times and have replaced the batteries in both the keyboard and mouse and yet it still is not working! please help

    I have had the same problem. It was cured by turning computer off and/or restarting it. I am not sure  if once was enough. I think shutting down must cut out whatever it is that blocks bluetooth. Good luck

  • How do I fix the timeline so both the images and the timeline are 1080p?

    Hello everybody. I'm a relative newbie to FCP, but not totally new to the world of video editing. I've got a problem that I hope somebody out there can assist me with.
    I've shot a lot of footage in HD (1080p) and have imported everything into a timeline. I've performed all my edits, transitions, music integration etc - now when I go to output the footage I realise I've made the mistake of doing everything in a 576p timeline.
    I've figured out how to resize the timeline, but all the clips appear in their original 576p resolution in the middle of the canvas (ie huge bars around the image)..
    My question is simple enough.. How do I fix the timeline so both the images and the timeline are 1080p? Is there a method to 'resize' all the clips to the new timeline? Will this resize the 576p clips or will they still be native 1080p?
    If importing all those clips into the original timeline has destroyed pixels, then resizing to 1080p is definately not what I want to do. I want to retain all the resolution of the original clips.
    Any advice would be very much appreciated. I've created nearly 300 edits in this timeline, not including all the effects and transitions. If I have to redo all this because I set up the timeline incorrectly I'm going to be rather upset!
    Thanks everybody.

    If you captured the footage as 1080 then the fastest way to re-size all the clips back to 1080 is to select all the clips on the time line and then in the menu bar go to Edit -> Remove Attributes. This will pop up window asking which attributes you want to remove. I would try checking the Basic Motion and Distort attributes and click OK. This should pop everything back to their original size and shape.
    However, this will also remove any re-sizing or distortion that is intentional (ie to blow up a particular clip so you can focus on something).

  • How to create Default Schema from within the application

    Hi friends
    I am creating users using the following within my application using this syntax
    BEGIN
    APEX_UTIL.CREATE_USER
    (:P124_USER_ID, :P124_USER_NAME,:P124_USER_FIRST_NAME,:P124_USER_LAST_NAME,' ',:P124_USER_EMAIL_ID,'xxxx');
    END;
    The default workspace for the user is set as blanks. I would like to set it to be the default workspace as per the current logged in user.
    Can you help me with the syntax for this
    thank you in advance
    Laxmi

    Laxmi,
    The subject of the post is "How to create Default Schema from within the application".
    But your question asks how to set the "default workspace" for a newly created user.
    Those are different questions and not the ones I think you need answered.
    Let me answer this question "How can you set the default schema for an account when creating the account and set it to the same value used for the default schema attribute of the administrator account used to authenticate to the currently running application?".
    In the apex_util.create_user call use named parameter notation and fetch the information about the currently logged-in user first, e.g.,declare
      l_workspace               varchar2(256);
      l_user_name               varchar2(256);
      l_first_name              varchar2(256);
      l_last_name               varchar2(256);
      l_web_password            varchar2(256);
      l_email_address           varchar2(256);
      l_start_date              varchar2(256);
      l_end_date                varchar2(256);
      l_employee_id             varchar2(256);
      l_allow_access_to_schemas varchar2(256);
      l_person_type             varchar2(256);
      l_default_schema          varchar2(256);
      l_groups                  varchar2(256);
      l_developer_role          varchar2(256);
      l_description             varchar2(256);
    begin
    apex_util.fetch_user (
      p_user_id                  => apex_util.get_current_user_id,
      p_workspace                => l_workspace,
      p_user_name                => l_user_name,
      p_first_name               => l_first_name,
      p_last_name                => l_last_name,
      p_web_password             => l_web_password,
      p_email_address            => l_email_address,
      p_start_date               => l_start_date,
      p_end_date                 => l_end_date,
      p_employee_id              => l_employee_id,
      p_allow_access_to_schemas  => l_allow_access_to_schemas,
      p_person_type              => l_person_type,
      p_default_schema           => l_default_schema,
      p_groups                   => l_groups,
      p_developer_role           => l_developer_role,
      p_description              => l_description);
    apex_util.create_user(
      p_user_id        => :P124_USER_ID,
      p_user_name      => :P124_USER_NAME,
      p_first_name     => :P124_USER_FIRST_NAME,
      p_last_name      => :P124_USER_LAST_NAME,
      p_email_address  => :P124_USER_EMAIL_ID,
      p_web_password   => 'xxxx',
      p_default_schema => l_default_schema);
    end;Scott

  • Fatal Error: The schema version of the database is from a newer version of WSUS

    Hello,
    CM2012 R2 RTM on Server2012 R2 RTM with SQL2012 SP1
    installed SQL, WSUS and then CM.
    When finished adding WSUS, there was a post installation message but I skipped it and continued to CM installation, as suggested on some blogs. WSUS in CM seems to be a real mystery... and there are multiple workarounds and suggestions. 
    Now my CM is ready to GO. Configured discovery, boundaries. All components appear green OK. My hand shaked when I click on post Deployment message related to WSUS in server manager. So I clicked it. And received: Post Deployment Failed. There is
    a path to log file. The error:
    Fatal Error: The schema version of the database is from a newer version of WSUS
    than currently installed.  You must either patch your WSUS server to at least
    that version or drop the database. WSUS was installed with SQL DB.
    What do you suggest?
    Thanks.
    Please see full log:
    2013-12-01 06:58:24  Postinstall started
    2013-12-01 06:58:24  Detected role services: Api, Database, UI, Services
    2013-12-01 06:58:24  Start: LoadSettingsFromXml
    2013-12-01 06:58:24  Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentLocal
    2013-12-01 06:58:24  Value is true
    2013-12-01 06:58:24  End: GetConfigValue
    2013-12-01 06:58:24  Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentDirectory
    2013-12-01 06:58:24  Value is D:\sources\wsus
    2013-12-01 06:58:24  End: GetConfigValue
    2013-12-01 06:58:24  Content directory is D:\sources\wsus
    2013-12-01 06:58:24  Start: GetConfigValue with filename=UpdateServices-DB.xml item=InstanceName
    2013-12-01 06:58:24  Value is confman
    2013-12-01 06:58:24  End: GetConfigValue
    2013-12-01 06:58:24  SQL instance name is confman
    2013-12-01 06:58:24  End: LoadSettingsFromXml
    Post install is starting
    2013-12-01 06:58:24  Start: Run
    2013-12-01 06:58:24  Fetching WsusAdministratorsSid from registry store
    2013-12-01 06:58:24  Value is S-1-5-21-1033354796-2088831985-1429053453-1003
    2013-12-01 06:58:24  Fetching WsusReportersSid from registry store
    2013-12-01 06:58:24  Value is S-1-5-21-1033354796-2088831985-1429053453-1004
    2013-12-01 06:58:25  Configuring content directory...
    2013-12-01 06:58:25  Configuring groups...
    2013-12-01 06:58:26  Starting group configuration for WSUS Administrators...
    2013-12-01 06:58:26  Found group in regsitry, attempting to use it...
    2013-12-01 06:58:28  Writing group to registry...
    2013-12-01 06:58:28  Finished group creation
    2013-12-01 06:58:28  Starting group configuration for WSUS Reporters...
    2013-12-01 06:58:28  Found group in regsitry, attempting to use it...
    2013-12-01 06:58:28  Writing group to registry...
    2013-12-01 06:58:28  Finished group creation
    2013-12-01 06:58:28  Configuring permissions...
    2013-12-01 06:58:28  Fetching content directory...
    2013-12-01 06:58:28  Fetching ContentDir from registry store
    2013-12-01 06:58:28  Value is D:\sources\wsus
    2013-12-01 06:58:28  Fetching group SIDs...
    2013-12-01 06:58:28  Fetching WsusAdministratorsSid from registry store
    2013-12-01 06:58:28  Value is S-1-5-21-1033354796-2088831985-1429053453-1003
    2013-12-01 06:58:28  Fetching WsusReportersSid from registry store
    2013-12-01 06:58:28  Value is S-1-5-21-1033354796-2088831985-1429053453-1004
    2013-12-01 06:58:28  Creating group principals...
    2013-12-01 06:58:28  Granting directory permissions...
    2013-12-01 06:58:28  Granting permissions on content directory...
    2013-12-01 06:58:29  Granting registry permissions...
    2013-12-01 06:58:29  Granting registry permissions...
    2013-12-01 06:58:29  Granting registry permissions...
    2013-12-01 06:58:29  Configuring shares...
    2013-12-01 06:58:29  Configuring network shares...
    2013-12-01 06:58:29  Fetching content directory...
    2013-12-01 06:58:29  Fetching ContentDir from registry store
    2013-12-01 06:58:29  Value is D:\sources\wsus
    2013-12-01 06:58:29  Fetching WSUS admin SID...
    2013-12-01 06:58:29  Fetching WsusAdministratorsSid from registry store
    2013-12-01 06:58:29  Value is S-1-5-21-1033354796-2088831985-1429053453-1003
    2013-12-01 06:58:29  Content directory is local, creating content shares...
    2013-12-01 06:58:29  Creating share "UpdateServicesPackages" with path "D:\sources\wsus\UpdateServicesPackages" and description "A network share to be used by client systems for collecting all software packages (usually applications)
    published on this WSUS system."
    2013-12-01 06:58:29  Deleting existing share...
    2013-12-01 06:58:29  Creating share...
    2013-12-01 06:58:29  Share successfully created
    2013-12-01 06:58:29  Creating share "WsusContent" with path "D:\sources\wsus\WsusContent" and description "A network share to be used by Local Publishing to place published content on this WSUS system."
    2013-12-01 06:58:29  Deleting existing share...
    2013-12-01 06:58:29  Creating share...
    2013-12-01 06:58:29  Share successfully created
    2013-12-01 06:58:29  Creating share "WSUSTemp" with path "C:\Program Files\Update Services\LogFiles\WSUSTemp" and description "A network share used by Local Publishing from a Remote WSUS Console Instance."
    2013-12-01 06:58:29  Deleting existing share...
    2013-12-01 06:58:29  Creating share...
    2013-12-01 06:58:29  Share successfully created
    2013-12-01 06:58:29  Finished creating content shares
    2013-12-01 06:58:29  Stopping service WSUSService
    2013-12-01 06:58:29  Stopping service W3SVC
    2013-12-01 06:58:32  Configuring database...
    2013-12-01 06:58:32  Configuring the database...
    2013-12-01 06:58:32  Establishing DB connection...
    2013-12-01 06:58:32  Checking to see if database exists...
    2013-12-01 06:58:32  Database exists
    2013-12-01 06:58:32  Switching database to single user mode...
    2013-12-01 06:58:32  Loading install type query...
    2013-12-01 06:58:32  DECLARE @currentDBVersion       int
    DECLARE @scriptMajorVersion     int = (9600)
    DECLARE @scriptMinorVersion     int = (16384)
    DECLARE @databaseMajorVersion   int
    DECLARE @databaseMinorVersion   int
    DECLARE @databaseBuildNumber    nvarchar(10)
    IF NOT EXISTS(SELECT * FROM sys.databases WHERE name='SUSDB')
    BEGIN
        SELECT 1
    END
    ELSE
    BEGIN
        SET @currentDBVersion = (SELECT SchemaVersion FROM SUSDB.dbo.tbSchemaVersion WHERE ComponentName = 'CoreDB')
        SET @databaseBuildNumber = (SELECT BuildNumber FROM SUSDB.dbo.tbSchemaVersion WHERE ComponentName = 'CoreDB')
        DECLARE @delimiterPosition INT = CHARINDEX('.', @databaseBuildNumber)
        IF (@delimiterPosition = 0)
        BEGIN
            RAISERROR('Invalid schema version number', 16, 1) with nowait
            return
        END
        SET @databaseMajorVersion = SUBSTRING(@databaseBuildNumber, 1, @delimiterPosition - 1)
        SET @databaseMinorVersion = SUBSTRING(@databaseBuildNumber, (@delimiterPosition + 1), (10 - @delimiterPosition))
        IF @currentDBVersion < 926
        BEGIN
            SELECT 3
        END
        ELSE
        BEGIN
            IF (@scriptMajorVersion > @databaseMajorVersion OR
               (@scriptMajorVersion = @databaseMajorVersion AND @scriptMinorVersion > @databaseMinorVersion))
            BEGIN
                SELECT 2
            END
            ELSE IF (@scriptMajorVersion = @databaseMajorVersion AND
                     @scriptMinorVersion = @databaseMinorVersion)
            BEGIN
                SELECT 0
            END
            ELSE
            BEGIN
                SELECT 4
            END
        END
    END
    2013-12-01 06:58:33  Install type is: UnsupportedFuture
    2013-12-01 06:58:33  DB is a higher version than the config scripts
    2013-12-01 06:58:33  Swtching DB to multi-user mode......
    2013-12-01 06:58:33  Finished setting multi-user mode
    2013-12-01 06:58:33  Microsoft.UpdateServices.Administration.CommandException: The schema version of the database is from a newer version of WSUS
    than currently installed.  You must either patch your WSUS server to at least
    that version or drop the database.
       at Microsoft.UpdateServices.Administration.ConfigureDB.CheckForUnsupportedVersion(DBInstallType installType, Boolean dbExists)
       at Microsoft.UpdateServices.Administration.ConfigureDB.ConnectToDB()
       at Microsoft.UpdateServices.Administration.ConfigureDB.Configure()
       at Microsoft.UpdateServices.Administration.PostInstall.Run()
       at Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)
    Fatal Error: The schema version of the database is from a newer version of WSUS
    than currently installed.  You must either patch your WSUS server to at least
    that version or drop the database.
    "When you hit a wrong note it's the next note that makes it good or bad". Miles Davis

    Gerry,
    1. I uninstalled WSUS, removed DB, restarted. And reinstall WSUS again. This time MS Management Console of WSUS could not be started. I did it after WSUS was added following your blog pix.
    I checked c:\program files\update services, there were couple of missing directories by comparison what was in case when I installed WSUS after SQL but before CM: Tools, Shema, and another A.. something. I saw this issue on NOOB. And people copied these
    directories from previous installation.
    How we can explain this behavior on RTM version?
    Then I uninstalled it again. And give another try... Here I found another interesting thing. Please compare your slide number 5 from your link and attached one. You can see that on Add Roles and Features Wizard page are missing items. Some
    of them were found in next screen of my installation (I am using RTM server) but one API and Power shell  cmdlets were not listed on final screen before start install. May be those are note important...
    I reinstall again... and the MS Management Console fails again. Exactly the same thing that I saw during 2 weeks of trying to make works. Don't see what I can screw up here.
    What about missing directories after reinstalling WSUS. Is that normal? And in IIS there is no WSUS.
    I don't see here any difficult thing, just simple wizard... But it not works. Second CM server.
    What I do wrong here to create a failure of MMC. There is any blog with examples of RTM Server 2012 and CM RTM. All stuff is 2012. So kind of guesses and no precise thing to do...
    Sorry for my cry :). The only solution is to call MS and pay $250 for SUCH a trivial thing that not works.
    Any help? Please see pics. Can you confirm that you have the same or more directories in Update Services
    Thanks.
    API and Power Shell Cmdlets feature missed if compare with yours slides.
    "When you hit a wrong note it's the next note that makes it good or bad". Miles Davis

  • As i am fresher Please share the doc of ECMA script using java script in SharePoint 2013 also how we can insert,update,delete records in list using ECMA script.

    As i am fresher Please share the doc of ECMA script using java script in SharePoint 2013 step by step also how we can insert,update,delete records in list using ECMA script.
    Thanks and Regards, Rangnath Mali

    Hi,
    According to your post, my understanding is that you want to use JavaScript to work with SharePoint list.
    To create list items, we can create a ListItemCreationInformation object, set its properties, and pass it as parameter to the addItem(parameters) function
    of the List object.
    To set list item properties, we can use a column indexer to make an assignment, and call the update() function so that changes will take effect when you callexecuteQueryAsync(succeededCallback,
    failedCallback). 
    And to delete a list item, call the deleteObject() function on the object. 
    There is an MSDN article about the details steps of this topic, you can have a look at it.
    How to: Create, Update, and Delete List Items Using JavaScript
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Get the daily incremental search crawl information using PowerShell script

    Dear Friends ,
        I want to get the daily incremental search crawl information using PowerShell script . I need this information into CSV or txt format . Can you please help me with this.
    valmiki

    Hi
    I  have got the below script which worked .
    ## SharePoint Reference
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Administration")
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server.Search.Administration")
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server.Search")
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server")
    function global:Get-CrawlHistory($url)
    trap [Exception] {
    write-error $("ERROR: " + $_.Exception.GetType().FullName);
      write-error $("ERROR: " + $_.Exception.Message);
      continue;  
    $s =
    new-Object Microsoft.SharePoint.SPSite($url);
    $c = [Microsoft.Office.Server.Search.Administration.SearchContext]::GetContext($s);
    $h =
    new-Object Microsoft.Office.Server.Search.Administration.CrawlHistory($c);
    Write-OutPut $h.GetCrawlHistory();
    $s.Dispose();
    Get-CrawlHistory
    -url  http://your_site_url/
      |
    Export-CsvF:\temp\search.csv
    valmiki

  • How to create volume slider for flash cs 5 using action script 2.0?

    how to create volume slider for flash cs 5 using action script 2.0?the output should like if user want to hear sound in slow pitch,medium pitch or high pitch(slow to high pitch anything).i have attach this sound to button with using this code:
    stop();
    mySoundBtn.onRelease = function () {
              mySoundC = new Sound(this);
              mySoundC.attachSound("mySoundClip");
              mySoundC.start(0, 10);  //10 represents the number of loops
              gotoAndPlay(2);
    This sound plays till 3-4 scene ahead.
    Can anyone help me?

    Hey thnx Ned.
    this sites are really helpful.but,i have used sound through button.so how it is possible to attavh the link with slider.i have created slider also.
    Below is my slider code for sound.
    onClipEvent (load) {
        mySound1 = new Sound();
        mySound1.loadSound((myScale)+"/"+(myTanpura)+"/"+(myTanpuraSwar)+"/"+(myTanpuraTempo)+".w av", true);
        mySound1.onSoundComplete = function() {
        mySound1.start();
        mySound1.start(0.058,999);
    onClipEvent (enterFrame) {
        downloaded = mySound1.getBytesLoaded();
        total = mySound1.getBytesTotal();
        if (downloaded != total) {
            _root.dl = "You have to buy this software...";
        } else {
            complete = 1;
            _root.dl = "";
        mySound1.setVolume(ratio * 2);
    This code is working for slider.I mean it scrolls the slider.but it dosent make any effect to sound.
    Below is my button code.
    stop();
    mySoundBtn4.onRelease = function () {
              mySoundC = new Sound(this);
              mySoundC.attachSound("mySoundClip4");
              mySoundC.start(0, 300);  //10 represents the number of loops
              gotoAndPlay("play1");
    this is on button's frame.not exactly on button.
    Button and Slider both are on diffrent scene.
    Can you plese help me out?

  • How t o create breadcrumbs in flash cs 5 using action script 2.0?

    how t o create breadcrumbs in flash cs 5 using action script 2.0?
    If the user is going throungh some buttons then at last there is breadcrumb on last scene (like it is selected 1,2 or 3 button etc..)then final display should show last used button.
    Am besically looking for breadcrumb.Can anyone know how to create breadcrumb with using movie clip?or any other code?
    Can any one help me?

    My problem is when i cross first,second and then third scene then on third scene if there is any crieteria like to show the value which user have used like if user have selected "a" on first scene and "b" on second scene.then on third scene if there is criteria-
    first scene-
    second scene-
    then it should show value like-
    first scene-"a"
    second scene-"b"
    This "a","b", have separet sound file.It should show "a","b" text and also sound should play after click on button.
    Can any on help?

  • How to pick a message from a mail box using shell script

    Hi
    Can any one tell me how to pick a message from a mail box using shell script.
    Thanks,
    Suman.

    Hi Suman,
    Can any one tell me how to pick a message from a mail box using shell script.Grep for the message and then either cut or awk for the text. . . Something like this:
    ls -al /mail/directory | grep "$1"* | awk '{print $9}'
    Jon emmons has working samples in his book on Oracle shell scripting . . .
    Hope this helps . . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference"
    http://www.rampant-books.com/book_2005_1_awr_proactive_tuning.htm

  • How to upgrade Vista Capable laptop on the moduslink site?

    I bought Toshiba laptop with Comet, but cannot find the way to upgrade my Windows, though it is signed as Windows Vista Capable. The laptop was bought in the right time, eligible for update, but the shop did not give me any redemption form nor it is listed on the https://upgradeweb.moduslink.com/vista . Moduslink sends me back to OEM. How can I upgrade then? Is there another way of doing it?

    You are on the right moduslink page but you must be careful to answer every question, on the first page you need to put in the language, then the country and then it asks you if you have a form (the answer is NO) then click on the Vista window then the next button.
    It has taken me almost 2 days to do this and then only because I phoned Toshiba and insisted that I get some help as I was the one paying for the phone call, don't bother ringing the Netherlands number this is only a pre-recorded loop and is no help whatsoever. It will ask you how you intend paying for this - answer by cheque otherwise you have to put in your card details (then no control on them taking the money).
    Hope this is of help to you.

  • I have 2 old computers(both XP) now connected with a KVM switch, both have same version of FF (11.0) but different profiles, bookmarks & addons. How can easily I make them both the same?

    #2 has many years of bookmarks and profiles, #1 is only 3 months old. I would like them both to run the same add-ons and have same profiles. How can I integrate the old to the new and the new to the old? Both are up and running fine. I got the KVM because one has MS Office 7, but couldn't afford to put it on the other one. They also both connect wirelessly to the router which is in the next room (my brother's as he's a gamer and needs a faster connection), so they aren't set up as a regular network although I log on with a password. I'd like to be able to put the entire profile once integrated on a flash drive. Thanks.

    Firefox '''Sync''' can synchronize your Profiles. <br />
    https://support.mozilla.com/en-US/kb/what-firefox-sync

  • How to export a schema and import the schema to a different schema name

    I am using Oracle9i Oracle Enterprise Manager Console.
    I can export the HR to a dmp file.
    I have created another user call MYHR and I would like to import hr.dmp to the new user.
    1. How can I add a schema using OEM?
    I can do it by creating a table in MYHR and refresh OEM.
    2. How can I import HR.dmp to MYHR using OEM.
    I can import it using command line:
    imp user/password@connectstring file='c:\hr.dmp' full='Y'
    Any hints are appreciated

    Hi,
    1.
    You don't have to create a schema explictly.
    Say you create a user u1. Now this user u1 create some object s, then the schema u1 is automatically created.
    Schema is actually a logical collection of objects.
    2.
    Why using OEM for importing. Using the command is much more easier.
    Your command is bit incorrect. Don't use full=y to import a schema.
    Use ; imp userid=user/password@connect_string file=filename fromuser=HR touser=MYHR
    Better add "log=some text file". Then use can see the log also.
    Regards.

  • How to upgrade a 6i Repository to the latest release

    Hi,
    does anybody know, how to upgrade a 6i Repository to it's latest release?
    We have version 4.0.52.1 (release 4) installed and we want to install relase 4.4.
    Following the installation/upgrade guide, I still got the problem, that the upgrade button
    is greyed out! In Metalink, I found some hints pointing to the fact, that in this case the
    repository does not need an update but looking at the bug fix list, of course my descision should be
    to upgrade/update the repository!
    Regards
    Holger

    Solved! This was my fault! I was a little bit confused about the ORACLE_HOME directories!

  • How can I run two different vi's in same project which are accessing same global variable with out effecting the speed of the execution of both the vi's

    Hi
    I have build an Labview project with FPGA target .  I have configured an FPGA VI and an host Vi to acquire data and logged the data to a file and stored the latest data in a global variable simultanously. I have configured one more VI in the same project  to access the global variable.  I have build a dll to access both the VI as functions in LabWindows/CVI code.  My task in CVI is to update configured GUI with latest data periodically and run the  host VI continously for a long time and log the data to a file. GUI should update for every one second with latest data for this I am using the second VI in which I am accessing the global varibale in which the latest data has been stored in host VI.

    Duplicate Post (go here)

Maybe you are looking for

  • Can I install Adobe Reader to a drive other than the C: drive?

    Can I install Adobe Reader to a drive other than the C: drive?

  • How does Time Machine handle renamed folder

    I am trying to free up some space on my external hard drive that I back up to via Time Machine. I am browsing the backups via the TM "Star Wars" UI deleting some backups I don't need anymore. I notice I have on directory in particular that is around

  • Before delete trigger?

    We are trying to determine who (like in what applicaton) is deleting rows in one table that leaves "orphaned" rows in another. We create the following trigger... create or replace Trigger EFA_TRG_AUDIT before delete on EFA_EXTERNAL_FILE_ATTACHMENT fo

  • E6-00 will not send or receive email

    Hi all, I have only had this phone for 4 days. I set up my iinet account, set up was fine downloaded all my messages. after I did the phone update (I thing OS)it seems to have stopped, I can't send or receive. I have been through all the settings and

  • Please help, very important file corrupt

    Hi, I am writing my final thesis, (more than 100 pages) and indesign crashed this moring while writing. Now the file can't open anyware anymore. I am using CS6 trial version, and even on other mac and pc it will not open anymore. How can I get my fil