Default database for apps 10g

Hi
recently we have installed oracle 10g 10.1.2 apps server on one of our machines
during installation we did not point apps to an existing database. by default we allowed Apps to create a new database called ORCL where it would point to
now we want to configure apps to use orcl databse
cud anyone guide me as to which schema would the apps objects be configured ?? we want to imp databse objects from database demo to this orcl database
also i have found that number of users for orcl database have been locked out? any reason for this and how can we unlock these users
thanks
kedar

Your applications, J2EE, Forms, Reports etc will connect to other databases in the same way as they would in the client/server world. In this case the application server is the client that will connect to ANY backend database in your environment. You webclients will then connect and establish sessions with the "clients" running on the appserver. One way of viewing this is as a client(browsers)/client(appserver components/server(databases) architecture. The application server database is more of a metadata repository for the components running in your appserver environment. There is no integration (necessarily) between it and your other databases more than that's where the appserver is storing connect info., how to handle security for different apps., failover etc.
Not to be blunt but there is a lot of documentation (manuals and white papers) to read up on for you...this thread can go on for ever;-)
http://www.oracle.com/technology/documentation/index.html
http://www.oracle.com/technology/products/ias/index.html
Regards Mikael

Similar Messages

  • IMP database for oracle 10G in window

    Hi Experts,
    I try to imp database from exp dump file.
    I am new person.
    When i create a blank database by Oracle 10G ( create general purpose database during install oracle).
    Now I want to imp a database about 250G size.
    DO I need to create a each tablespace in source DB before imp?
    I have a full exp database dump file?
    Can I directly imp a full exp dump files to copy source database?
    Thanks
    Jim

    Thanks for your help.
    If I do not create source DB tablespace. what kind of tablespace will be imp inot new database? default from source database?i
    I have a full exp dump file.
    also if you want to keep the same tablesapce as source then just create all of tablespace. how about data file? we can change data file size. is it true?
    Thanks
    JIM
    Edited by: user589812 on Feb 26, 2009 12:43 PM

  • Default database for forms server

    i just installed oracle forms 6i and the oracle forms server and i don't know what the default database string is for the test database? the scott/tiger one? can someone help me?

    Default Port number for Forms Server is 9000.

  • Move SQL Server database for App Controller

    I need to migrate our App Controller server to another SQL Server.
    I have copied the relevant SQL Server database. How can I reconfigure App Controller to use this new database?

    Hi evilclive1,
    To minimize the risk of data loss, I recommend the following steps:
    Export the AES encryption key
    from your existing App Controller installation
    Make sure you have a backup of the App Controller database
    On a spare VM, install a new instance of App Controller and connect to the new SQL server (you'll need the AES key from step 1).
    Verify that the new instance of App Controller works correctly with the new SQL server (this will verify that you have a good copy of the App Controller database on the new SQL server)
    Uninstall the original App Controller
    On the original App Controller server, reinstall and point to the new database (you'll need the AES key from step 1)
    Verify that this instance of App Controller works correctly with the new SQL server
    There isn't a supported way to just change the database used by an existing install.
    Kind Regards,
    Richard
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • Installing Sample Database for OPM Release 11.0.3

    Installing Sample Database for OPM Release 11.0.3
    I already installed OPM Application on an existing Vision Database VD11, and I followed the instructions to install OPM application up to end.
    I logged to Oracle Application as user: SYSADMIN/SYSADMIN, and I checked
    in the System Administrator Responsibility\Security\Responsibility all the OPM
    Responsibilities exisit, I assigned all OPM responsibilities to a user: OPERATIONS/WELCOME (OPM Inventory, OPM Financials,....etc), I signed to
    OPERATIONS user, I select one of the OPM Responsibilities (OPM Inventory), here if I try to do some query it gives me error: no records quaried, Okay that's mean I have to install Sample OPM Database Release 11.0.3
    My question:
    In the Sample Database for Apps R11 for OPM CD, I followed the instructions in the sample.pdf file to create a Database, but that .pdf file to create a new SID while I have already installed SID (VD11).
    My request is to import the data for OPM from sample11_03.dmp to my existing
    VD11 Database ?
    The initNAME.ora file in this CD contains roll_back segments (r01,r02,r03,r04)
    while initVD11.ora contains these Roll_back segments (rbs1,rbs2,rbs3).
    How I can modified the initNAME.ora and initVD11.ora to import the data for
    OPM from sample11_03.dmp to my existing VD11 Database or I don't know if it
    should be in a different SID ??
    Are there any NOTE to explain how to install Sample Database for OPM in an
    existing VD11 Database for Application R11?
    Please help will be appreciated.
    null

    Hi Prasad,
    I am also getting the same error while running a custom report,since i made some changes in.prt file.
    If u get a soultion for this ,Please post here.

  • SQLPlus Default Database Connection

    I have two Oracle databases installed on the same LINUX server. One is a training database that is rarely even running.
    When logging in through SQLPlus and only supplying userid and password, the database to which the connect is attempted varies depending on the userid I am currently logged in as under LINUX. Under one userid, SQLPlus even attempts to connect to the idle training database. The 8i documentation indicates that setting the default database for SQLPlus is OS specific. Does anyone know how this is specified under LINUX?

    Joseph,
    That was one of my guesses, as well, but it doesn't seem to behave consistently.
    The .bash_profile files for both the oracle and mdm user are the same, however, the oracle user is able to default to the correct database, whereas mdm cannot.
    Here's the profile for mdm:
    $ cat .bash_profile
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi
    # User specific environment and startup programs
    DISPLAY=localhost:0.0; export DISPLAY
    ORACLE_BASE=/usr/oracle; export ORACLE_BASE
    ORACLE_HOME=/usr/oracle; export ORACLE_HOME
    ORACLE_SID=pmisbk; export ORACLE_SID
    #ORACLE_SID=oralin; export ORACLE_SID
    ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data; export ORA_NLS33
    ORAENV_ASK=NO; export ORAENV_ASK
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib; export LD_LIBRARY_PATH
    umask 022
    NLS_LANG=american_america.EE8ISO8859P2; export NLS_LANG
    #PATH=$PATH:$HOME/bin
    PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/ActivePerl-5.6/bin:$PATH:$HOME/bin:$ORACLE_HOME/bin
    BASH_ENV=$HOME/.bashrc
    USERNAME=""
    export USERNAME BASH_ENV PATH
    . /usr/local/bin/oraenv
    and behavior:
    $ echo $ORACLE_SID
    pmis
    $ sqlplus
    SQL*Plus: Release 8.1.6.0.0 - Production on Thu Apr 25 14:01:10 2002
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter user-name: mdm
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    Enter user-name: mdm@pmisbk
    Enter password:
    Connected to:
    Oracle8i Enterprise Edition Release 8.1.6.1.0 - Production
    With the Partitioning option
    JServer Release 8.1.6.0.0 - Production
    SQL> exit
    Disconnected from Oracle8i Enterprise Edition Release 8.1.6.1.0 - Production
    With the Partitioning option
    JServer Release 8.1.6.0.0 - Production
    and the .bash_profile for oracle:
    $ su - oracle
    Password:
    $ cat .bash_profile
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi
    # User specific environment and startup programs
    DISPLAY=localhost:0.0; export DISPLAY
    ORACLE_BASE=/usr/oracle; export ORACLE_BASE
    ORACLE_HOME=/usr/oracle; export ORACLE_HOME
    ORACLE_SID=pmis; export ORACLE_SID
    #ORACLE_SID=oralin; export ORACLE_SID
    ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data; export ORA_NLS33
    ORAENV_ASK=NO; export ORAENV_ASK
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib; export LD_LIBRARY_PATH
    umask 022
    NLS_LANG=american_america.EE8ISO8859P2; export NLS_LANG
    CLASSPATH=.:$ORACLE_HOME/jdbc/lib/classes111.zip:$ORACLE_HOME/sqlj/lib/translator.zip; export CLASSPATH
    PATH=/usr/local/ActivePerl-5.6/bin:$PATH:$ORACLE_HOME/bin
    BASH_ENV=$HOME/.bashrc
    USERNAME=""
    export USERNAME BASH_ENV PATH
    . /usr/local/bin/oraenv
    and the behavior:
    $ sqlplus
    SQL*Plus: Release 8.1.6.0.0 - Production on Thu Apr 25 14:07:47 2002
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter user-name: mdm
    Enter password:
    Connected to:
    Oracle8i Enterprise Edition Release 8.1.6.1.0 - Production
    With the Partitioning option
    JServer Release 8.1.6.0.0 - Production
    SQL> exit
    Disconnected from Oracle8i Enterprise Edition Release 8.1.6.1.0 - Production
    With the Partitioning option
    JServer Release 8.1.6.0.0 - Production
    Perhaps this is because the Home directory for the oracle user is the same as $ORACLE_HOME.
    You may have noticed the connect string for mdm was to pmisbk. That's the alias in the tnsnames.ora file, otherwise if you try using pmis you get:
    Enter user-name: mdm@pmis
    Enter password:
    ERROR:
    ORA-12154: TNS:could not resolve service name
    and have to enter:
    Enter user-name: mdm@pmisbk
    Enter password:
    Connected to:
    Oracle8i Enterprise Edition Release 8.1.6.1.0 - Production
    With the Partitioning option
    JServer Release 8.1.6.0.0 - Production
    SQL> exit
    If you specify pmisbk and the ORACLE_SID in the .bash_profile file, when you log into the server it prompts you:
    ORACLE_HOME = [usr/oracle] ?
    presumably because /etc/oratab does not contain an entry for pmisbk. You can respond with RETURN and the variable contains the correct path, but all the other behavior is as described above.

  • Installation error message for Oracle Database software for version 10g

    Would someone be able to advise why I keep getting the following error message whilst installing Oracle trial Database software for version 10g Release 2 Standard Edition, Standard Edition One, and Enterprise Edition? Link listed below : -
    http://www.oracle.com/technology/software/products/database/oracle10g/index.html
    Error message "Cannot create directory"C:\oracle\product\10.2.0\db_7\cfgtoollogs\dbca\projemp"
    Below is the 12 steps that I go through, please advise what I'm doing wrong : -
    1. (Operations) default is Create a database
    2. (Database templetes) default is general purpose
    3. (Database Identification) projemp.local for Global database name & projemp for SID
    4. (Management options) default is "Configure the database with Enterprise manager, also the options button has been clicked for "Use database control for database management"
    5. (Database Credentials) the options button has been clicked for "Use the same password for all accounts" so I've set up a new password, was that correct?
    6. (Storage options) the options button is clicked for "File System - use the file system for database storage.
    7. (Database file locations) the options button is clicked for "Use database file locations for template" Is this option correct? Other options are Use common location for all database files or use Oracle-managed files?
    8. (Recovery configuration) the options button is clicked for "Specify flash recovery area
    9. (Database content) nothing has been selected, the only option is "Sample schemas" should that be clicked?
    10. (Initialization parameters) the options button is clicked for "Typical- allocate memory as a % of the total physical memory
    11. (Database storage) no options available
    12. (Creation options) the options button has been selected for "Create Database"
    Click finish
    I then get a screen stating General purpose, click OK then I get the following error message as stated at the start of this e-mail ""Cannot create directory"C:\oracle\product\10.2.0\db_7\cfgtoollogs\dbca\projemp".
    Regards
    Phil

    855880 wrote:
    I have been trying to install the "Oracle Database software for version 10g Release 2 Standard Edition, Standard Edition One, and Enterprise Edition" about six times with no success.Do you realize you just mentioned 3 different and distinct products? So which one are you installing?
    >
    I've gone through my courses instructions as listed above (1-12) and end up with the following error message"C:\oracle\product\10.2.0\db_7\cfgtoollogs\dbca\projemp".What course?
    >
    I've removed the software from my computer using control panel, programs & features then uninstall once but the other five times the software hasn't been listed. Whilst the Oracle was on my task bar I was able to install using Start > Programs > Oracle - HOME-NAME > Database Administration > Database Configuration Assistant.No you didn't. Database Configuration Assistant does not remove software. It can remove a database. As I mentioned before, there is a difference between the software and the objects that software manages. Deleting an Excel spreadsheet is not the same as deleting Microsoft Office. Deleting an Oracle database with Database configuration assistant is not the same as removing the Oracle software.
    >
    Now that oracle is not on my task bar I've unzipped the link below, clicked on db, Disk1, setup, changed the Database password (is that correct?) install and I get the following error message "Check complete. The overall result of this check is: Failed<<<<<
    Problem: The install has detected that the primary IP address of the system is DHCP-assigned.
    Recommendation: Oracle supports installations on systems with DHCP-assigned IP addresses;
    However, before you can do this, you must configure the Microsoft LoopBack Adaptor to be the primary network adapter on the system. See the installation Guide for more details on installing the software on systems configured with DHCP."
    So what did you do with the above error message? Did you follow up on what it said? Did you read the very fine Installation Guide that comes with the software? Did you read the section on networking considerations where it discussed DHCP assigned addresses and installing the loopback adapter?
    http://www.oracle.com/technology/software/products/database/oracle10g/index.html
    Ok, that link takes us to the download page, which does not shed any light at all on your problems
    I'm using Windows Vista Home Premium, 32 bit operating system, and my computer is saying I have 142 GB free space.
    If you read the installation manual that came with the downloaded software, you'd have seen in the prerequisites that Home editions of Windows are NOT listed as supported platforms, whereas Business, Enterprise, and Ultimate editions specifically ARE listed as supportd.
    Hope this is some help.And
    I'm not to clever on computers so would you be able to advise how I get to the command window to issue the SET command please?
    Also I've no idea what OS user I am, I'm taking an on-line Oracle course and been advised to install "Oracle Database software for version 10g Release 2 Standard Edition, Standard Edition One, and Enterprise Edition"
    How do I find out if I'm part of an Administrator, ORA_DBA group ?
    Can you walk me through how to create the directory from command line please?Ok, given the above statements from you, I'm not even sure where to begin. I don't want to be cruel, but this self-admitted lack of even the most rudimentary knowledge by someone attempting to learn about Oracle is truly astounding. What course are you taking? Why are you taking this course?

  • How to set ORACLE_HOME for database and apps server in same server

    Hi, I have problem here to set ORACLE_HOME in .bash_profile for database and apps server. please help me to set this Oracle Home.
    Thanks
    -jebatco

    If you mean to have both simultaneosly set on the same OS session, of course that's not possible. But you can configure them on your profile, and choose them when needed. The following is an excerpt from my .bash_profile
    export EDITOR=vi
    umask 022
    alias O='cd ${ORACLE_HOME}'
    o10()
    {       export ORACLE_SID=db102
            export ORACLE_BASE=/home/oracle/base
            export ORACLE_HOME=$ORACLE_BASE/OraHome10
            export LD_LIBRARY_PATH=$ORACLE_HOME/lib
            export PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin
            export TNS_ADMIN=$ORACLE_BASE/OraHome11/network/admin
            export PS1='[\u@\h_10 \W]\$ '
    o11()
    {       export ORACLE_SID=db11
            export ORACLE_BASE=/home/oracle/base
            export ORACLE_HOME=$ORACLE_BASE/OraHome11
            export LD_LIBRARY_PATH=$ORACLE_HOME/lib
            export PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin
            export PS1='[\u@\h_11 \W]\$ '
    xe()
    {       export ORACLE_SID=XE
            export ORACLE_BASE=/usr/lib/oracle/xe/app/oracle
            export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/server
            export LD_LIBRARY_PATH=$ORACLE_HOME/lib
            export PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin
            export TNS_ADMIN=/home/oracle/base/OraHome11/network/admin
            export PS1='[\u@\h_XE \W]\$ '
    }If I want to set Oracle 10g environment I type "o10" at OS prompt, "o11" for 11g, and so on.

  • I just bought aperture and downloaded it from app store. when I try to open the app I get a warning message that says: There was an error opening the database for the library "~/Pictures/Aperture Library.aplibrary". The only option the is to quit. What is

    I just bought aperture and downloaded it from app store. when I try to open the app I get a warning message that says: There was an error opening the database for the library “~/Pictures/Aperture Library.aplibrary”. The only option the is to quit. What is wrong?

    Hi,
    not sure what the problem might be, but you can try the following:
    While pressing ALT+CMD on the keyboard, click on the Aperture icon in the dock: Aperture then opens in a special "recovery mode", and you're prompted to choose what kind of repair you need: Repair Permissions / Repair Database / Rebuild Database
    Considering the situation, I'd recommend you to try "the "Repair Permissions" option first.
    If that isn't enough (and it may well be the case), then go straight for the "Rebuild Database" option; it's a non-destructive opration anyway, but since you've just installed Aperture you shouldn't have anything valuable in the default library...
    NOTE: if you do have some pictures in the library, instead, do a backup first! Time Machine is your friend
    Another option would be to launch Aperture while keeping only the ALT (option) key pressed: Aperture will ask you what library you want to open, or you can choose to create a new one from scratch.
    Good luck!
    Corrado

  • How can I change the default apple ID for app store. I bought the macbook from my school when I left and I'm the ID in place of mine is the computer departments one. How can i change it to mine?? Thanks

    How can I change the default apple ID for app store. I bought the macbook from my school when I left and I'm the ID in place of mine is the computer departments one. How can i change it to mine?? Thanks

    http://support.apple.com/kb/ht5621

  • Is there a way to change the default colors for iPad apps?

    I noticed one of my friends iPad 2 had a different color scheme for apps and I would like to change my iPad 2's default ( which is currently grey). To elaborate, the default color for the borders and tabs in Safari are grey on my iPad, my friends are blue. Would like to change from the drab grey color to blue also but I cannot find a setting for this. All applications and Setup apps have this default color scheme on my ipad. Do I have to reset the iPad and start over with setup to achieve this? Hope not, perhaps someone can shed some light on an easy way to do this. Thank You!

    You can apply  system-wise "negative" color effect under Settings > General > Accessibility, by toggling the White and Black switch - and, in iCab Mobile (and some other, better browsers / PDF readers), its own "night mode" negative color scheme.
    Otherwise, no, you can't do anything else except for asking third party app authors to add selectable back/froeground (=text) colors to their apps.
    There is an article dedicated to this question: http://www.iphonelife.com/blog/87/do-you-find-your-idevices-screen-be-too-blueis h-or-just-too-harsh-bedtime-reading

  • SQL 2012 and later will fail to publish a database for any tables with a default constraint that references a user defined function.

    Script will create database, 3 database objects and publish. 
    The error is due to the generation script to create the conflict tables that is not stripping out default constraints that reference a UDF. 
    As you can see below, the failure is on the generation script for the conflict table.
    The conflict table should be a bucket table that shouldn’t enforce data integrity. 
    See how the default constraints for the columns someint and somestring were stripped out of the generation logic however the default constraint that utilizes a UDF persist and uses the same object name that was used on the production table (The
    bold line) , this occurs if I explicitly name the constraint or let the system generate the name for me like in the example posted. 
      The only way I could see getting around this right now is to drop all default constraints in the system that uses a UDF, publish then add the constraints back which is vulnerable to invalid data and a lot of moving
    steps.  This all worked with SQL 2000, 2005, 2008, 2008r2, it’s stopped working in SQL 2012 and continues to not work in SQL 2014. 
    Error messages:
    Message: There is already an object named 'DF__repTable__id__117F9D94' in the database.
    Could not create constraint. See previous errors.
    Command Text: CREATE TABLE [dbo].[MSmerge_conflict_MergeRepFailurePublication_repTable](
            [id] [varchar](8) NULL CONSTRAINT [DF__repTable__id__117F9D94]  DEFAULT ([dbo].[repUDF]()),
            [somedata] [varchar](64) NULL,
            [rowguid] [uniqueidentifier] ROWGUIDCOL  NULL,
            [someint] [int] NULL,
            [somestring] [varchar](64) NULL
    Parameters:
    Stack:    at Microsoft.SqlServer.Replication.AgentCore.ReMapSqlException(SqlException e, SqlCommand command)
       at Microsoft.SqlServer.Replication.AgentCore.AgentExecuteNonQuery(SqlCommand command, Int32 queryTimeout)
       at Microsoft.SqlServer.Replication.AgentCore.ExecuteDiscardResults(CommandSetupDelegate commandSetupDelegate, Int32 queryTimeout)
       at Microsoft.SqlServer.Replication.Snapshot.YukonMergeConflictTableScriptingManager.ApplyBaseConflictTableScriptToPublisherIfNeeded(String strConflictScriptPath)
       at Microsoft.SqlServer.Replication.Snapshot.BaseMergeConflictTableScriptingManager.DoConflictTableScriptingTransaction(SqlConnection connection)
       at Microsoft.SqlServer.Replication.RetryableSqlServerTransactionManager.ExecuteTransaction(Boolean bLeaveTransactionOpen)
       at Microsoft.SqlServer.Replication.Snapshot.BaseMergeConflictTableScriptingManager.DoConflictTableScripting()
       at Microsoft.SqlServer.Replication.Snapshot.MergeSmoScriptingManager.GenerateTableArticleCftScript(Scripter scripter, BaseArticleWrapper articleWrapper, Table smoTable)
       at Microsoft.SqlServer.Replication.Snapshot.MergeSmoScriptingManager.GenerateTableArticleScripts(ArticleScriptingBundle articleScriptingBundle)
       at Microsoft.SqlServer.Replication.Snapshot.MergeSmoScriptingManager.GenerateArticleScripts(ArticleScriptingBundle articleScriptingBundle)
       at Microsoft.SqlServer.Replication.Snapshot.SmoScriptingManager.GenerateObjectScripts(ArticleScriptingBundle articleScriptingBundle)
       at Microsoft.SqlServer.Replication.Snapshot.SmoScriptingManager.DoScripting()
       at Microsoft.SqlServer.Replication.Snapshot.SqlServerSnapshotProvider.DoScripting()
       at Microsoft.SqlServer.Replication.Snapshot.MergeSnapshotProvider.DoScripting()
       at Microsoft.SqlServer.Replication.Snapshot.SqlServerSnapshotProvider.GenerateSnapshot()
       at Microsoft.SqlServer.Replication.SnapshotGenerationAgent.InternalRun()
       at Microsoft.SqlServer.Replication.AgentCore.Run() (Source: MSSQLServer, Error number: 2714)
    Get help: http://help/2714
    Server COL-PCANINOW540\SQL2012, Level 16, State 0, Procedure , Line 1
    Could not create constraint. See previous errors. (Source: MSSQLServer, Error number: 1750)
    Get help: http://help/1750
    Server COL-PCANINOW540\SQL2012, Level 16, State 0, Procedure , Line 1
    Could not create constraint. See previous errors. (Source: MSSQLServer, Error number: 1750)
    Get help: http://help/1750
    Pauly C
    USE [master]
    GO
    CREATE DATABASE [MergeRepFailure]
    ALTER DATABASE [MergeRepFailure] SET COMPATIBILITY_LEVEL = 110
    GO
    USE [MergeRepFailure]
    GO
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    create view
    [dbo].[repView] as select right(newid(),8) as id
    GO
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE FUNCTION [dbo].[repUDF]()
    RETURNS varchar(8)
    BEGIN
    declare @val varchar(8)
    select top 1 @val = id from [repView]
    return @val
    END
    GO
    create table repTable
    id varchar(8) default([dbo].[repUDF]()),
    somedata varchar(64) null,
    rowguid uniqueidentifier ROWGUIDCOL default(newid()),
    someint int default(1),
    somestring varchar(64) default('somestringvalue')
    GO
    insert into reptable (somedata) values ('whatever1')
    insert into reptable (somedata) values ('whatever2')
    go
    /*test to make sure function is working*/
    select * from reptable
    GO
    /*Publish database*/
    use [MergeRepFailure]
    exec sp_replicationdboption @dbname = N'MergeRepFailure', @optname = N'merge publish', @value = N'true'
    GO
    declare @Descrip nvarchar(128)
    select @Descrip = 'Merge publication of database ''MergeRepFailure'' from Publisher ''' + @@servername +'''.'
    print @Descrip
    -- Adding the merge publication
    use [MergeRepFailure]
    exec sp_addmergepublication @publication = N'MergeRepFailurePublication', @description = N'@Descrip',
    @sync_mode = N'native', @retention = 14, @allow_push = N'true', @allow_pull = N'true', @allow_anonymous = N'true',
    @enabled_for_internet = N'false', @snapshot_in_defaultfolder = N'true', @compress_snapshot = N'false', @ftp_port = 21,
    @ftp_subdirectory = N'ftp', @ftp_login = N'anonymous', @allow_subscription_copy = N'false', @add_to_active_directory = N'false',
    @dynamic_filters = N'false', @conflict_retention = 14, @keep_partition_changes = N'false', @allow_synctoalternate = N'false',
    @max_concurrent_merge = 0, @max_concurrent_dynamic_snapshots = 0, @use_partition_groups = null, @publication_compatibility_level = N'100RTM',
    @replicate_ddl = 1, @allow_subscriber_initiated_snapshot = N'false', @allow_web_synchronization = N'false', @allow_partition_realignment = N'true',
    @retention_period_unit = N'days', @conflict_logging = N'both', @automatic_reinitialization_policy = 0
    GO
    exec sp_addpublication_snapshot @publication = N'MergeRepFailurePublication', @frequency_type = 4, @frequency_interval = 14, @frequency_relative_interval = 1,
    @frequency_recurrence_factor = 0, @frequency_subday = 1, @frequency_subday_interval = 5, @active_start_time_of_day = 500, @active_end_time_of_day = 235959,
    @active_start_date = 0, @active_end_date = 0, @job_login = null, @job_password = null, @publisher_security_mode = 1
    use [MergeRepFailure]
    exec sp_addmergearticle @publication = N'MergeRepFailurePublication', @article = N'repTable', @source_owner = N'dbo', @source_object = N'repTable', @type = N'table',
    @description = null, @creation_script = null, @pre_creation_cmd = N'drop', @schema_option = 0x000000010C034FD1, @identityrangemanagementoption = N'manual',
    @destination_owner = N'dbo', @force_reinit_subscription = 1, @column_tracking = N'false', @subset_filterclause = null, @vertical_partition = N'false',
    @verify_resolver_signature = 1, @allow_interactive_resolver = N'false', @fast_multicol_updateproc = N'true', @check_permissions = 0, @subscriber_upload_options = 0,
    @delete_tracking = N'true', @compensate_for_errors = N'false', @stream_blob_columns = N'false', @partition_options = 0
    GO
    use [MergeRepFailure]
    exec sp_addmergearticle @publication = N'MergeRepFailurePublication', @article = N'repView', @source_owner = N'dbo', @source_object = N'repView',
    @type = N'view schema only', @description = null, @creation_script = null, @pre_creation_cmd = N'drop', @schema_option = 0x0000000008000001,
    @destination_owner = N'dbo', @destination_object = N'repView', @force_reinit_subscription = 1
    GO
    use [MergeRepFailure]
    exec sp_addmergearticle @publication = N'MergeRepFailurePublication', @article = N'repUDF', @source_owner = N'dbo', @source_object = N'repUDF',
    @type = N'func schema only', @description = null, @creation_script = null, @pre_creation_cmd = N'drop', @schema_option = 0x0000000008000001,
    @destination_owner = N'dbo', @destination_object = N'repUDF', @force_reinit_subscription = 1
    GO

    More information, after running a profile trace the following 2 statements, the column with the default on a UDF returns a row while the other default does not.  This might be the cause of this bug.  Is the same logic to generate the object on
    the subscriber used to generate the conflict table?  
    exec sp_executesql N'
    select so.name, schema_name(so.schema_id)
    from sys.sql_dependencies d
    inner join sys.objects so
    on d.referenced_major_id = so.object_id
    where so.type in (''FN'', ''FS'', ''FT'', ''TF'', ''IF'')
    and d.class in (0,1)
    and d.referenced_major_id <> object_id(@base_table, ''U'')
    and d.object_id = object_id(@constraint, ''D'')',N'@base_table nvarchar(517),@constraint nvarchar(517)',@base_table=N'[dbo].[repTable]',@constraint=N'[dbo].[DF__repTable__id__117F9D94]'
    exec sp_executesql N'
    select so.name, schema_name(so.schema_id)
    from sys.sql_dependencies d
    inner join sys.objects so
    on d.referenced_major_id = so.object_id
    where so.type in (''FN'', ''FS'', ''FT'', ''TF'', ''IF'')
    and d.class in (0,1)
    and d.referenced_major_id <> object_id(@base_table, ''U'')
    and d.object_id = object_id(@constraint, ''D'')',N'@base_table nvarchar(517),@constraint nvarchar(517)',@base_table=N'[dbo].[repTable]',@constraint=N'[dbo].[DF__repTable__somein__1367E606]'
    Pauly C

  • How do you make console apps the default application for a file type?

    I have a console movie player, mplayer, that I like a lot. I've compiled it from source on my intel core2 macbook pro and it works fine. There is no gui, but to play movie files you open up a terminal and type the command mplayer /path/to/file. I would like mplayer to play a movie file automatically when I double click on the file, but I can't seem to figure out how to do it. I tried setting it in the file info dialogue, but when I go to the path of the binary I want, it is not selected. How can I set a console app as my default application for my file type?

    there is a GUI mplayer for OS X. why don't you use it instead of the command line one?
    if you insist on using the command line mplayer then the only way to do this is to put a GUI wrapper on it. this can be done with automator or apple script for example. but really, why don't you just use the GUI mplayer?

  • Why are there databases for two websites in my appdata roaming firefox default profile folder?

    C:\Users\user\appdata\Roaming\Mozilla\Firefox\Profiles\i4unw84s.default\databases\http_www.fling.com_
    C:\Users\user\appdata\Roaming\Mozilla\Firefox\Profiles\i4unw84s.default\databases\https_cashier.bovada.lv_
    Both of these website databases have 64 KB and are io_temp.sqlite files. I want to know how they were created and what information is being stored there. I know my boyfriend goes on the bovada site alot but want to know if he has personal login info stored for both of these sites. I know they aren't cookies because I saw the list of cookies and deleted them and these files are still there. I really want to know if the only way the websites could be in the folder is because he intentionally saved info stored on those sites and if not, then why are they part of his roaming profile?

    hello, i could find no documentation whatsoever on what the ''databases'' folder within the profile or a ''io_temp.sqlite''-file would do in the context of firefox (maybe this was an early version of ''dom storage'' or ''indexeddb'').
    if you are having questions about the usage of these sites by your boyfriend, you should probably speak with him directly about this, instead of finding an answer this way...

  • Migration from of database and app from SQL server 2005 to Oracle 10g

    Hello Every body,
    Lately, I have been requested to migrate one inhouse developed hub application from SQL server 2005 to Oracle 10g. The objective is to move application and also the database to Oracel 10g.
    Here is the current platform:
    OS Win 2008 64 bit
    JDK 1.4.2
    JBoss 3.2.5
    EJB 2.1
    My question is what kind of issues you guys see in above upgrade. As far I know, Schema and Database migration can be done by Oracle workbench. Oracle 10g supports JDK 1.4. Oracle 10g also supports EJB 2.1.
    Anything, I need to take into consideration or any risks or problems. I would like to list down all the risks, and accordingly, I am thinking of start the upgrade.
    Thanks in advance.
    Regards,
    Zeeshan Qureshi

    In general the Java/J2EE application needs work in the following categories:
    1. Connection Settings: Use Oracle JDBC drivers, create new data sources, connection pools and what not. Disable AUTOCOMMIT for Oracle JDBC Connections.
    2. For EJBs, you should regenerate the entity beans because some object names/column names might have changed in oracle.
    3. Any custom SQL that is in use in the EJBs will have to be ported to Oracle just as you would do in stored procedures and other applications.
    4. For Java front-ends, if you are using callouts to stored procedures and expecting result sets then they will require some changes. You need to modify the stored procedure call signature to include the REF CURSOR variables and process them.
    5. Changes to any SQL Server specific database functions manipulating character/date data will be required.
    6. CLOB/BLOB/XML apis are different across databases so if you are using those then focus on them as well.
    7. Retreiving Auto/generated keys from database also may need changes from what I have seen.
    Hope this helps..
    Regards
    Prakash
    NOTE: Not sure why but my posts from yesterday are not visible today. Even worse is that I can see them in one browser (FireFox) but not in Internet explorer. Crazy browser day I am having.

Maybe you are looking for

  • Mini DVI and Mini DisplayPort are not the same thing!

    I bought this "Mini DVI to DVI" adapter thinking it would hook up my Epson projector to the new MacBook Pro: http://store.apple.com/us/product/M9321G/B?fnode=MTY1NDA3Ng&mco=MjE0NTE2OA BUT tonight I found out it is NOT the right thing. The adapter I n

  • MAC OS 10.5.8 Combo update installation probs

    Hi!! I'm trying to update my mac with the new software update, but unfortunately, it can't seem to finish installing. im stuck in the "configuring installation" part. i left the computer for two hours hoping that it would continue with the installati

  • What is adapter configuration in XI ?

    Dear support, we have installed neweaver 2004 system and useing the same as XI server. now developers while working on some html configuration and integration found THERE IS ADAPETR CONFIGURATION PENDING FROM BASIS POINT OF VIEW. We have done all req

  • Can anyone tell me what EXACTLY is Quicktime's purpose in After Effects?

    I've recently deleted Quicktime since I never used it anyway but now when I open After Effects, it warns me that some options will not work properly because I have no Quicktime. Is QT a really crucial part in AE? What does it do anyway? I don't use A

  • Outer Dial in Color Wheel Disappeared

    SpeedGrade 2014.2 Although the vertical sliders are still there, are more intuitive and I can use them, the outer dials in the color wheel have disappeared. I have checked the update notes but cannot find any reference to these dials being intentiona