How about default/constraint being applied to varray/nested_table elements

Hi, I know that varrays and nested tables can themselves be defaulted by means of a no-arg constructor. Ok.
But what about their elements ? E.i:
create type Document_type as object ( foo VARCHAR2(10), bar NUMBER);
create type Document_array as VARRAY(10) of Document_type;
create type Document_table as TABLE of Document_type;
create table Documents (
ar Document_array DEFAULT Document_array(),
tb Document_table DEFAULT Document_table()
nested table tb store as Documents_nt;
The point is: how can I default/constrain the "foo" and "bar" elements for both the nested array and table ?
Perhaps I can work on the table Documents_nt, but the array remains out anyway.
Thanks for any help.

Even more:
create type DocumentRef_array as VARRAY(10) of REF Document_type;
create type DocumentRef_table as TABLE of REF Document_type;
create table Documents (
arr DocumentRef_array DEFAULT DocumentRef_array(),
tbr DocumentRef_table DEFAULT DocumentRef_table(),
How can I constrain array/table elements to be scoped or referring to a specific table, as for normal reference integrity ?

Similar Messages

  • Unable to open email inbox or files. screen changed suddenly last night. got some message about patch not being applied. i have the patience of a gnat and have no clue how to fix this issue. HELP! in English

    I'm running Mozilla-firefox on a Lenovo laptop. Last night the screen changed suddenly. brief alert about patch. unable to open email inbox to read/send emails. logged off thinking all would be right by morning. today, can access internet, google, etc, but unable to open email inbox. plus the listing of the various yahoo accts has changed the sequence order. please help. i depend on my email for my livelihood. i can read emails on my blackberry so the issue is not my internet provider.

    In the patch 29, it is
    function encode_attachment(str) {
    var c, i, s = ''
    for (i = 0; i < str.length; i++) {
    switch (c = str.charAt(i)) {
    case ' ':
    case '#':
    case '?':
    case '%':
    s += NN ? '_' : escape(c); break
    default:
    s += c
    return s
    NO issues seen, Able to open attachment which has space in the file name.

  • How to default dates (being date and enddate)

    Dear Freinds,
                    I have one requirement i want to default the dates on the selection screen for the report
    RPTQTA00 . Please could you let me know how to achieve this , it would be great help.
    The report has to be scheduled background and it has to be executed daily so the start date and end date has to be changed .
    i e if they are running the standard report  the begin date should be today date and the enddate should be one year from today .
    So if any body could let me know where i can default the dates for the standard report , then i can put the logic . Please help me in this regard Little urgent
    regards
    madhuri
    Edited by: madhuri_2000 kumari on Dec 1, 2008 3:16 PM

    Dear Freind,
                As per your logic i have used the submit program and i am able to default the dates and able to view the dates , that is perfectly correct . Now if run the standard report it is giivng me the ouput ..so the foreground concept is working correctly.
    Now if iam scheduling the report of the custom report (z program) where iam calling the submit program
    it is just scheduleing  and further when i look at the job it is getting the job finished . However , i will not find any spool because the standard report has not been executed , with my custom report (using the logic with submit program) i am calling the standard program .
    so could you please let me know how the standard program will execute and get the spool genereated?
    because i have executed only the standard report in background i can see that it is being exceuted spool as well, however when iam calling from custom program no spool is created because my custom program only submiting the standard report and it is not executing the standard report in the case of backround ...because when iam running the custom program in the Foreground it is calling the standard program and getting the values defaulted based on the parameters which we pass , so it gets defaulted later iam running the standard program manually .
    So please could you let me know how will the standard program also gets genereated in the backgroung along with my custom report.
    Thanks in advance
    regards
    madhuri,

  • 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 we permanently stop MASS_CRM_* and R3AD_* locks from being applied??

    Good afternoon Experts,
    How do we permanently stop MASS_CRM_* and R3AD_* locks from being applied in CRM? We have several jobs that run weekly to download information from R/3 to CRM. The information only takes a few minutes to download into CRM, however the blocks are applied during the middle of the night, and cause backups within our system.
    Queue name R3AD_SCE also becomes blocked as well during these downloads.
    How do we stop these from being applied, without manually having to go into R/3 to remove during the middle of the night?
    We currently are on CRM 4.0. The only notes that I found regarding this problem was for 3.0 - 3.5.
    Thank you for your help!
    Jami
    Edited by: Jami Shircel on May 27, 2009 8:00 PM

    Thank you very much for your reply.
    We are running a job created to download all materials from R/3 into CRM, using SAP program SMOF_DOWNLOAD with variant of material. I believe the locks are coming on as this is a load. However, the job only takes about 15 seconds to run and take the information from R/3. CRM takes longer to process that information. However, the lock does not come off when the job is complete. We have to manually remove the lock the next time someone from the team logs into CRM. This causes problems as nothing from R/3 to CRM is passing through while the locks are on. As soon as the lock is removed, the systems begin communicating again. The job is not impacted as it takes less than 15 seconds to run.
    How do we either stop the lock from coming on, or have it automatically come off when the job is complete?
    I reviewed the note suggested, but it was for account life cycles. Perhaps the wrong number was written?

  • I can't determine how a group policy is being applied. Please help. Thank you.

    Hi,
    I'm having a problem trying to find how a particular policy is being applied on my domain (I've inherited this domain).  When ever a user logs into a domain, the computer get's a new local group policy.  One particular attribute is that the local
    admin account get's renamed:
    I can't figure out where it's coming from.  I've run gpresult, and I'm assuming it's the default domain policy.
    But when I go to the domain controller and look at the default domain policy, the entry is empty:
    I'm really at a loss.  However, I really don't think it's the default domain policy, but I can't figure out what else it could be?
    Any help would be greatly appreciated.  Thanks!!!  -Tim

    Does this help
    C:\Users\***>gpresult /z
    Microsoft (R) Windows (R) Operating System Group Policy Result tool v2.0
    Copyright (C) Microsoft Corp. 1981-2001
    Created On 2/12/2015 at 1:57:06 PM
    RSOP data for ****\*** on H9MHD12 : Logging Mode
    OS Configuration:            Member Workstation
    OS Version:                  6.1.7601
    Site Name:                   Default-First-Site-Name
    Roaming Profile:             N/A
    Local Profile:               C:\Users\***
    Connected over a slow link?: No
    COMPUTER SETTINGS
        CN=H9MHD12,CN=Computers,DC=***,DC=com
        Last time Group Policy was applied: 2/12/2015 at 1:03:12 PM
        Group Policy was applied from:      ***.***.Com
        Group Policy slow link threshold:   500 kbps
        Domain Name:                        ****
        Domain Type:                        Windows 2000
        Applied Group Policy Objects
            Default Domain Policy
            Local Group Policy
        The computer is a part of the following security groups
            BUILTIN\Administrators
            Everyone
            BUILTIN\Users
            NT AUTHORITY\NETWORK
            NT AUTHORITY\Authenticated Users
            This Organization
            H9MHD12$
            Domain Computers
            System Mandatory Level
        Resultant Set Of Policies for Computer
            Software Installations
                N/A
            Startup Scripts
                N/A
            Shutdown Scripts
                N/A
            Account Policies
                GPO: Default Domain Policy
                    Policy:            MaximumPasswordAge
                    Computer Setting:  42
                GPO: Default Domain Policy
                    Policy:            MinimumPasswordAge
                    Computer Setting:  N/A
                GPO: Default Domain Policy
                    Policy:            LockoutBadCount
                    Computer Setting:  N/A
                GPO: Default Domain Policy
                    Policy:            PasswordHistorySize
                    Computer Setting:  1
                GPO: Default Domain Policy
                    Policy:            MinimumPasswordLength
                    Computer Setting:  N/A
            Audit Policy
                N/A
            User Rights
                N/A
            Security Options
                GPO: Default Domain Policy
                    Policy:            PasswordComplexity
                    Computer Setting:  Not Enabled
                GPO: Default Domain Policy
                    Policy:            ClearTextPassword
                    Computer Setting:  Not Enabled
                GPO: Default Domain Policy
                    Policy:            ForceLogoffWhenHourExpire
                    Computer Setting:  Not Enabled
                GPO: Default Domain Policy
                    Policy:            RequireLogonToChangePassword
                    Computer Setting:  Not Enabled
                GPO: Default Domain Policy
                    Policy:            NewAdministratorName
                    Computer Setting:  Enabled
                N/A
            Event Log Settings
                N/A
            Restricted Groups
                N/A
            System Services
                N/A
            Registry Settings
                N/A
            File System Settings
                N/A
            Public Key Policies
                N/A
            Administrative Templates
                GPO: Local Group Policy
                    KeyName:     Software\Policies\Microsoft\Windows\ScPnp\EnableScP
    nP
                    Value:       0, 0, 0, 0
                    State:       Enabled
    USER SETTINGS
        CN=*******,OU=Users,OU=Corporate,OU=***,DC=***,DC=com
        Last time Group Policy was applied: 2/12/2015 at 1:33:14 PM
        Group Policy was applied from:      ***.***.Com
        Group Policy slow link threshold:   500 kbps
        Domain Name:                        ***
        Domain Type:                        Windows 2000
        Applied Group Policy Objects
            Default Domain Policy
        The following GPOs were not applied because they were filtered out
            Local Group Policy
                Filtering:  Not Applied (Empty)
        The user is a part of the following security groups
            Domain Users
            Everyone
            BUILTIN\Administrators
            BUILTIN\Users
            NT AUTHORITY\INTERACTIVE
            CONSOLE LOGON
            NT AUTHORITY\Authenticated Users
            This Organization
            LOCAL
        The user has the following security privileges
            Bypass traverse checking
            Manage auditing and security log
            Back up files and directories
            Restore files and directories
            Change the system time
            Shut down the system
            Force shutdown from a remote system
            Take ownership of files or other objects
            Debug programs
            Modify firmware environment values
            Profile system performance
            Profile single process
            Increase scheduling priority
            Load and unload device drivers
            Create a pagefile
            Adjust memory quotas for a process
            Remove computer from docking station
            Perform volume maintenance tasks
            Impersonate a client after authentication
            Create global objects
            Change the time zone
            Create symbolic links
            Increase a process working set
        Resultant Set Of Policies for User
            Software Installations
                N/A
            Logon Scripts
                N/A
            Logoff Scripts
                N/A
            Public Key Policies
                N/A
            Administrative Templates
                N/A
            Folder Redirection
                N/A
            Internet Explorer Browser User Interface
                N/A
            Internet Explorer Connection
                N/A
            Internet Explorer URLs
                N/A
            Internet Explorer Security
                N/A
            Internet Explorer Programs
                N/A

  • My new iPod touch is getting really warm while I use it. Is it normal? I mean, I have silicone cover, maybe it's the reason for iPod being so HOT?... How do you think, is it too important to have a cover on the iPod? How about screen protector? :S

    My new iPod touch is getting really warm while I use it. Is it normal? I mean, I have silicone cover, maybe it's the reason for iPod being so HOT?... How do you think, is it too important to have a cover on the iPod? How about screen protector? :S

    My new iPod touch is getting really warm while I use it. Is it normal? I mean, I have silicone cover, maybe it's the reason for iPod being so HOT?... How do you think, is it too important to have a cover on the iPod? How about screen protector? :S

  • After updating to iOS 6 my iPod Touch 4th.Gen is virtually unusable ... does anyone know how to sue Apple since they gave no warning about iOS 6 being for iPad optimisation and a killer  for iPods ?

    After updating to iOS 6 my iPod Touch 4th.Gen is virtually unusable ... does anyone know how to sue Apple since they gave no warning about iOS 6 being for iPad optimisation and a killer for iPods ?  Before I throw away my iPod Touch does anyone know if Apple intends to rectify their obnoxious disregard for iPod users by issuing another 'upgrade' which will allow iPods to work without the constant system crashes that iOS 6 has caused ?

    Contact a lawyer if you want to sue.
    Otherwise try:
    - Reset the iPod. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup
    - Restore to factory settings/new iPod.
    - Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar

  • Why does Firefox open 3 Tabs all the time when I open it? One is my home page but the other 2 are about plug in being installed. How do I make that stop?

    When I double click Firefox to open it, 3 Tabs automatically open. One is my home page but the other 2 are about plug ins being successfully installed. I want for only my home page to open. How do I make this stop?

    But there aren't any symbols. It's just set to http://www.yahoo.com
    And every time I open Firefox, it opens with 3 Tabs, one of which IS Yahoo but the other 2 a regarding plug ins being successfully updated. I've even gone as far as to uninstall those plug ins and it still opens with 3. About ready to uninstall Firefox and stay with IE

  • If I want to retrieve more information about the cookies being stored, such as when the cookie was accessed/created/modified; how can I find this information?

    I would like to have more information about the cookies being stored on my computer via firefox- such as last date accessed/created/modified; how can I add these options to cookie storage?

    Maybe this extension will do that:
    *Cookies Manager+: https://addons.mozilla.org/firefox/addon/cookies-manager-plus/

  • Security constraints not being applied after using custom login module

    I am using form based authentication and I applied the custom login module - DBProcLoginModule to work with the embedded OC4J (JDeveloper 10.1.3.2). I have specified two security contraints in web.xml. The authentication is working correctly, however the security contraints are not being applied. All users are able to access all url resources. The security constraints were working properly before applying the custom login module. Pls help.
    Leena

    Hi,
    if "All users are able to access all url resources" then this indicates that the RL isn't properly protected. If the authorization would fail then noone would have access and you would see error code 401
    Make sure the role names in web.xml are the same as added by the LoginModule. Also make sure you set the dynamic.role property and the custom security provider property in the orion-application.xml
    <jazn provider="XML">
         <property name="custom.loginmodule.provider" value="true"/>
         <property name="role.mapping.dynamic" value="true"/>
    </jazn>
    Note that the above is not required (because done automatically) if the custom LoginModule configuration is deployed through the orion-application.xml file
    Frank

  • What is Polymorphism and how is it being applied?

    Dear All
    I need to seek your help in finding out what is polymorphism and how is it being applied?
    Thank you.

    Thank You So Much For This Link!
    http://faculty.frostburg.edu/cosc/htracy/cosc390/LM7Polymorphism/PolymJava.html
    I Am FOREVER GRATEFUL!
    See Ya Later - I got some Homework To do!!!!!!!!!!
    Jason
    REALLY ITS GREAT AND EXACTLY WHAT I'M LOOKING FOR TO LEARN JAVA
    Anybody that's really wants to learn this stuff from home should check this out. A little hard to follow the format, but definately readable.
    Edited by: jasonwpalmer on Nov 4, 2007 1:42 PM

  • Default constraints replicating when I didn't want them to

    Using SQL Server 2008, I used a TSQL script to set up transactional replication, including sp_addarticle. I did not plan to replicate default values, but they replicated anyway. After seeing them on the subscriber, I generated the script for the
    publication (using SSMS) to check the @schema_option value. It was 0x000000000803108F.  Notice that 0x800 is not set.  So why are default constraints replicating? That's my question.
    As scripted by SSMS, after seeing the defaults show up on the subscriber:
    exec sp_addarticle @publication = N'DBDistribution-GroupCharlie-Tables', @article = N'DistributionContract', @source_owner = N'dbo'
    , @source_object = N'DistributionContract', @type = N'logbased', @description = N'', @creation_script = N'', @pre_creation_cmd = N'truncate'
    , @schema_option = 0x000000000803108F
    , @identityrangemanagementoption = N'none', @destination_table = N'DistributionContract', @destination_owner = N'dbo'
    , @status = 24, @vertical_partition = N'false'
    , @ins_cmd = N'CALL [dbo].[sp_MSins_dboDistributionContract]'
    , @del_cmd = N'CALL [dbo].[sp_MSdel_dboDistributionContract]'
    , @upd_cmd = N'SCALL [dbo].[sp_MSupd_dboDistributionContract]'
    GO
    Note:  the table did not exist on the subscriber, so applying the snapshot created it.  This query against the subscriber shows that all the publisher's constraints were created about 10 minutes after the table was created.
    select t.name, t.create_date, df.name, df.create_date
    from sys.default_constraints df
    join sys.tables t on df.parent_object_id = t.object_id
    where t.name = 'distributioncontract';

    If these are unique constraints they will be replicated as part of the indexes - but it does not sound like this is the problem here. Can I see your script of the problem table?
    looking for a book on SQL Server 2008 Administration?
    http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
    http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941

  • Physical adapters go missing after being applied to Logical Switch

    I have an existing VMM 2012 environment that has been working without trouble for quite some time. We're doing a domain migration, so I created a cluster on the new domain and added it to my old VMM environment to make the transfer of guests easier.
    I an having trouble with creating Virtual Switches on the two new hosts in the new cluster. Essentially, I create a new logical switch using the configuration set up for the other existing servers and add two physical adapters to it. It's configured identically
    to my other two clusters. After I apply the changes, the switch is created and the NICs are teamed (verified in nic teaming console) but the physical adapters disappear both from the just-configured switch but also the hardware tab. Trying to connect a VM
    to this results in "not specified" being displayed in the connectivity field (browsing yields nothing).
    I'm hoping I simply missed something since it's been ages since I had to build a new cluster but a side by side comparison seems to indicate the old/new clusters are configured similarly.
    Thanks.
    Tim

    why reinvent the wheel use rman deletion?Will you please clear that how RMAN will identify the applied logs?
    Are you talking about archive deletion policy?
    If this the solution, then this didn't work fine for me (10.2.0.4), you may check this out for 11.1.0.7.
    Regards,
    S.K.
    Edited by: Santosh Kumar on Aug 23, 2009 8:56 PM

  • Adding default constraint causes ORA-00054: resource busy

    Hi,
    i ran a script and got error below. Why am i getting error "ORA-00054: resource busy" when adding a default constraint to table? On other evironments such error didn't occure, only in particualr special one the error occured.
    Is it possible that table has too much traffic/locks i nthat environment? How can i rewrite my script?
    Should i instal lthe script in OFFLINE mode?
    In Oracle 11g, Linux Os i runned such script (in Online mode, system not offline):
    ALTER TABLE Casino.Physicaltables ADD WinnerListEnabled NUMBER(1);
    COMMENT ON COLUMN Casino.Physicaltables.WinnerListEnabled  IS '<BOOLEAN> Defines if winner list is turned on or off.';
    ALTER TABLE Casino.Physicaltables MODIFY WinnerListEnabled DEFAULT 0;
    ALTER TABLE Casino.Physicaltables MODIFY (WinnerListEnabled CONSTRAINT NC_Pts_WinnerListEnabled NOT NULL NOVALIDATE);
    UPDATE Casino.Physicaltables SET WinnerListEnabled = 0 WHERE WinnerListEnabled IS NULL;
    COMMIT;
    ALTER TABLE Casino.Physicaltables MODIFY CONSTRAINT NC_Pts_WinnerListEnabled ENABLE VALIDATE;And output was such:
    \\dserver\Live\release\12.6\0.10\sql\live_sql_12.4.0.5_to_12.6.0.10.zip
    Elapsed: 00:00:00.09
    ALTER TABLE Casino.Physicaltables MODIFY WinnerListEnabled DEFAULT 0
    ERROR at line 1:
    ORA-00054: resource busy and acquire with NOWAIT specified

    Any DDL will cause an exclusive lock on the corresponding record in the dictionary. The error message indicates the object is in use by someone else.
    Solutions:
    1 Apply the code in a maintenance window when no one is there. DDL should NOT be run in a live system during production.
    2 Put the database in restricted mode, provided no one has the restricted session privilege
    3 Make sure your application uses a non-default service (ie service <> database name) and shut down that service using srvctl and/or dbms_service.
    There is no such thing as 'OFFLINE mode'
    Sybrand Bakker
    Senior Oracle DBA

Maybe you are looking for

  • Redelivery of messages in JCAPS + WebSphere App Server

    I have a POJO that runs on WebSphere Application Server 6.1 and connects to a JCAPS 5.1.X queue using JMS API. JCAPS has been configured as a 'Generic JMS provider' in WebSphere and the queues and QCFs configured via WAS' admin console. The POJO is p

  • Can't eject card reader!

    Greetings, I have a compact flash card reader (USB 2) that i plugged into the USB slot on the front of my MacPro. I copied the wanted photos over to my hard drive, used the "eject" button from the Finder window to eject the card reader.... and it dis

  • Searching for a good book about [Arch Linux]

    Hello friends, I'm here stuck with Windows 8, making a couple of tests about installing Arch Linux in VMware Workstation, if it succeeds, I'll move to Arch completely. My question is: Is there a good book about Arch (installation, maintenance, best p

  • Problem after run report with spreadsheet

    hi evry one ther an a problem after run report with spreadsheet . after runing iexplorar open and close fast no thing else when i check the job from appserver job success with spreadsheet dis format. what shall i do. thanks.

  • Deleted DVD player

    By accident i deleted my DVD Player from the application folder. Then i tried to reinstall it after downloading DVD Player 4.6 from the apple.com but it keeps on telling me that i have a newer version installed. I spotlighted everywhere and i couldnt