Number and type of users

Is it necessary to have one user other than administrator if I'm the only one using the computer?

No, it is not necessary, but it is recommended to have a user with General user permissions and not (safer) full administrator permissions. But there are a lot of people running a single user with full administrator rights. Just be aware that if a virus or other malware will hold, it will be a little worse than if it was just a simple user account.

Tags: Windows

Similar Questions

  • Number and types of digital data

    Hello



    My table contains data, it is a very large table, data type of the columns little is just number (no precession or scale not reported). When this table get imported OWB and used in maps, then the display of the size of the column number in the Numeric form with zero as the precision and scale. The source in the mapping table contains the same type of data columns but with precision and scale declared. When I validate the mapping I get ' precision of the column is greater then the column target ' error. "



    I tried to edit the table with the same precision and scale as a source but as data are already existing, throws to oracle cannot reduce the size. I don't want to create another table and generate data and reload as this is a large table.



    Is there a solution for this problem, please help.



    Thank you

    HESH

    Ignore this warning.

  • What default tblspc must OWBSYS_AUDIT and type of users be assigned to?

    Hello

    This issue is related to another issue, that I asked earlier about policy violations. As a result the following users:
    APEX_030200
    OWBSYS_AUDIT
    OWBSYS
    APPQOSSYS
    being assigned to the default table of SYSAUX space, EM reports a violation stating that these users should not have this as their default tablespace tablespace.

    Because of this, I have assigned the default tablespace for the users to be the USERS tablespace. It looked as if it was the right decision to Aman mentioned that these users use not quite "normal" and they should probably not be in the USERS tablespace.

    Question: What default tablespace assign to these users? If I leave them in the SYSAUX, I EM report a policy violation. If I reassign them to storage to USERS, this apparently isn't the best thing to do either. What is the default tablespace right to assign to these users (I should create a storage space for these users?)? (Preferably one that would meet the EM if possible). How administrators have dealt with this 'problem' in their facilities?

    Thank you for your help,

    John.

    Hello

    Since they are the super user of the application they handle. I guess it would be better to have a default tablespace by the application.

    for example:
    APEX_030200 - Oracle Application Express - TablespaceA
    OWBSYS_AUDIT - workflow Oracle - TablespaceB generator
    OWBSYS - Oracle Workflow - TablespaceB constructor
    APPQOSSYS - Not much of course what application is using - I would be fine with this saw users tablespace.

    Concerning
    Anurag Tibrewal.

  • TYPE A USER ID NUMBER BRINGS UP AN ID USER STORED WHICH SHOULD BE DELETED... WHERE IS STORED THIS USERID... IMPOSSIBLE TO FIND IN THE FILE OF SAVED PASSWORDS

    TYPE A USER ID NUMBER BRINGS UP A STORED USER ID AND THE PASSWORD COMBINED IN A SINGLE STATEMENT.
    IT SHOULD BE DELETED.
    IMPOSSIBLE TO FIND ALL REFERENCES TO THE WEBSITE IN THE FILE OF SAVED PASSWORDS.
    WHERE ARE STORED THE DATA COMBINED ID AND PASSWORD, AND HOW IT CAN BE CLEAR.
    THE WEB SITE IS NOT SAVE INFORMATION.

    It would be built-in to Firefox form fill.
    Click the field, and enter a character. If something comes along,
    highlight the fact that by using the arrow keys. Then press DELETE (Mac = delete the shift).
    Repeat if necessary.

  • Partitioning the table - range on data type (21, 7) number and varchar2

    Hello

    Database version:

    DB: Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    Operating system: HP - UX nduhi18 B.11.31 U ia64 1022072414 unlimited-license user

    APP: SAP - ERP

    I have to the partition of the RANGE on UPDATED_ON or PROFILE is a table that has a structure below:

    Name Null?    Type

    -------------------- -------- --------------

    ------------------

    MANDT NOT NULL VARCHAR2 (9)

    MR_ID NOT NULL VARCHAR2 (60)

    PROFILE NON-NULL VARCHAR2 (54)

    NO_REGISTRE NOT NULL VARCHAR2 (30)

    INTERVAL_DATE NOT NULL VARCHAR2 (24)

    AGGR_CONSUMPTION NOT NULL NUMBER (21.6)

    MDM_VERS_NO NOT NULL VARCHAR2 (9)

    MDP_UPDATE_DATE NOT NULL VARCHAR2 (24)

    MDP_UPDATE_TIME NOT NULL VARCHAR2 (18)

    NMI_CONFIG NOT NULL VARCHAR2 (120)

    NMI_CONFIG_FLAG NOT NULL VARCHAR2 (3)

    MDM_DATA_STRM_ID NOT NULL VARCHAR2 (6)

    NSRD NOT NULL VARCHAR2 (24)

    REASON_CODE NOT NULL VARCHAR2 (9)

    QUALITY_FLAG NOT NULL VARCHAR2 (3)

    METHOD_FLAG NOT NULL VARCHAR2 (6)

    MSATS_UPDATE_DAT NOT NULL VARCHAR2 (24)

    MSATS_UPDATE_TIM NOT NULL VARCHAR2 (18)

    READ_STATUS NOT NULL VARCHAR2 (3)

    LEGACY_FLAG NOT NULL VARCHAR2 (3)

    CREATED_ON NOT NULL NUMBER (21.7)

    CREATED_BY NOT NULL VARCHAR2 (36)

    UPDATED_ON NOT NULL NUMBER (21.7)

    UPDATED_BY NOT NULL VARCHAR2 (36)

    CVERSNO NOT NULL VARCHAR2 (18)

    OLDER_MD_FLAG NOT NULL VARCHAR2 (3)

    TRANSACTION_ID NOT NULL VARCHAR2 (108)

    According to my knowledge, RANGE is better suited for the DATE or NUMBER. and partition INTERVAL is available on the DATE or number.

    PROFILE of column

    I havets is of type VARCHAR2. I know that again I can partition as Oracle convert internally to varchar2 in number when the data is inserted. But the INTERVAL is not possible.  However, so could you please suggest how RANGE partition on PROFILE?

    CREATED_ON column:

    It's the NUMBER with decimals. Could you guide me please?

    Please let me know if you need more information?

    See you soon

    Sameer

    I partitioned table as below:

    PARTITION BY RANGE

    (

    "CREATED_ON".

    )

    SUBPARTITION BY HASH

    (

    'PROFILE '.

    )

    SUBPARTITION TEMPLATE

    (

    TABLESPACE SUBPARTITION 'PROF_SUB01"'PSAPISU."

    TABLESPACE SUBPARTITION 'PROF_SUB02"'PSAPISU."

    TABLESPACE SUBPARTITION 'PROF_SUB03"'PSAPISU."

    TABLESPACE SUBPARTITION 'PROF_SUB04"'PSAPISU."

    TABLESPACE SUBPARTITION 'PROF_SUB05"'PSAPISU."

    TABLESPACE SUBPARTITION 'PROF_SUB06"'PSAPISU."

    TABLESPACE SUBPARTITION 'PROF_SUB07"'PSAPISU."

    TABLESPACE SUBPARTITION 'PROF_SUB08"'PSAPISU."

    TABLESPACE SUBPARTITION 'PROF_SUB09"'PSAPISU."

    TABLESPACE SUBPARTITION 'PROF_SUB10' 'PSAPISU '.

    )

    (

    "BEF12_CP00" VALUES LOWER PARTITION TO (20120101000000),

    "JAN12_CP01" VALUES LOWER PARTITION TO (20120201000000),

    "FEB12_CP02" VALUES LOWER PARTITION TO (20120301000000),

    "MAR12_CP03" VALUES LOWER PARTITION TO (20120401000000),

    "APR12_CP04" VALUES LOWER PARTITION TO (20120501000000),

    "MAY12_CP05" VALUES LOWER PARTITION TO (20120601000000),

    "JUN12_CP06" VALUES LOWER PARTITION TO (20120701000000),

    "JUL12_CP07" VALUES LOWER PARTITION TO (20120801000000),

    "AUG12_CP08" VALUES LOWER PARTITION TO (20120901000000),

    "SEP12_CP09" VALUES LOWER PARTITION TO (20121001000000),

    "OCT12_CP10" VALUES LOWER PARTITION TO (20121101000000),

    "NOV12_CP11" VALUES LOWER PARTITION TO (20121201000000),

    "DEC12_CP12" VALUES LOWER PARTITION TO (20130101000000),

    "JAN13_CP13" VALUES LOWER PARTITION TO (20130201000000),

    "FEB13_CP14" VALUES LOWER PARTITION TO (20130301000000),

    "MAR13_CP15" VALUES LOWER PARTITION TO (20130401000000),

    "APR13_CP16" VALUES LOWER PARTITION TO (20130501000000),

    "MAY13_CP17" VALUES LOWER PARTITION TO (20130601000000),

    "JUN13_CP18" VALUES LOWER PARTITION TO (20130701000000),

    "JUL13_CP19" VALUES LOWER PARTITION TO (20130801000000),

    "AUG13_CP20" VALUES LOWER PARTITION TO (20130901000000),

    "SEP13_CP21" VALUES LOWER PARTITION TO (20131001000000),

    "OCT13_CP22" VALUES LOWER PARTITION TO (20131101000000),

    "NOV13_CP23" VALUES LOWER PARTITION TO (20131201000000),

    PARTITION 'OTHER_CPMAX' VALUES LESS THAN (MAXVALUE)

    )

    works very well.

  • Select a type of user account (for example, standard user, restricted user, and other types) on computer XP pro?

    Hello.

    I have a question about how to select the type of user account for each user account.

    I read that if I type 'control userpasswords2' term, it will bring up a window of hidden user accounts.  In this window, select a name of the user account and click property, click on membership group and it will show all the type of account you can purchase (including the standard user, restricted user, the other who has many other types)

    Here is the link I read

    http://www.exnol.com/globally-control-and-change-all-users-passwords-in-Windows

    Let's say my computer is XP pro and it is in the home (not domain joined ) working group. Am I able to set these types of accounts to my user account using 'control userpasswords2' just as I explained above?

    I was wondering because I read in the microsoft help article or somewhere that it indicates that the computer must be on the field to be able to choose the type of account by using this process, I explained, and one account type you can choose where your computer is located in the Working Group's account admin or limited using the control panel then click on accounts of users... but other said it should not be on the field... I got confused.

    I would like to try it myself, but I don't have XP pro computer with me right now, I'd appreciate it really if someone could help me with the answer.

    Hi greenyy,

    If you are the administrator of the machine Windows XP Professional, you can use the command 'control userpasswords2' and access the list of user accounts and change the type of account.

    You need not necessarily be on a domain, however, it may not work for some types of user accounts on a working group.

    A test, you can try to change the type of account for user accounts & check if it works.

    Reference: To change the type of user account 

    Hope the helps of information. Please post back and we do know.

    Concerning
    Joel S
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Is it possible to hide a conditional function in responsibility. Say it together a small number of users, I need the function display and for some users, it must be hidden.

    Is it possible to hide a conditional function in responsibility. Say it together a small number of users, I need the function display and for some users, it must be hidden.

    Hello

    The normal thing to do is to create a similar additional responsibility and using Exclusions to 'hide' the features you want.

    Then assign it to restricted users.

    Kind regards

    Bashar

  • a wrong number or types of arguments in the call to and

    Hello

    Description: problem connecting to a database of the relationship of the processor of the NDA.

    I want to enrich the incoming events with available data in the relational database. As stipulated in the Oracle® CEP Administrator's Guide, I created the

    Data source JDBC in queue server configuration (config.xml). As he didn't throw me any error while staring at the server, I guess, the data source is fine.

    I followed the steps below:

    1 creation of the types of events in my context.xml in my application (fields in my paintings are shown as the property).

    < wlevs:event - type the type name = "walletMonitoringEvent" >

    < wlevs:properties >

    <! - walletkey in db is of type varchar - >

    < name wlevs:property = "walletkey" type = 'char []' length = "20" / >

    < / wlevs:properties >

    < / wlevs:event - type >

    2 create a "table" in context.xml

    < wlevs:table - event type = "walletMonitoringEvent" id = "walletMonitoring" data source = "walletDataSource" / >

    3. added the table source in my processor.

    < wlevs: channel id = "inputChannel" - type of event = "WalletEvent" >

    < wlevs:listener ref = "walletProcessor" / >

    < / wlevs: channel >

    4. has tried to link the database to the CQL processor.

    " < = xmlns:wlevs wlevs:config ' http://www.BEA.com/ns/wlevs/config/application "xmlns:jdbc =" " http://www.Oracle.com/ns/OCEP/config/JDBC "> "

    < processor >

    < name > walletProcessor < / name >

    < rules >

    < request id = "F1" >

    <! [CDATA]

    Select i.walletkey, i.createdDate in inputChannel as I, walletMonitoring w

    where i.walletkey = w.walletkey

    []] >

    < / query >

    < / rules >

    < / processor >

    < / wlevs:config >

    I get the error in the logs when I try to deploy the project below:

    < 17 November 2014 13:46:16 THIS > < emergency > < CQLServer > < BEA-000000 > < CREATE QUERY AS F1

    Select i.walletkey, i.createdDate in inputChannel as I, walletMonitoring w

    where > > i.walletkey = w.walletkey < <

    a wrong number or types of arguments in the call to and. Check the spelling of the registered service. Also confirm that his appeal is correct and its settings are correct data types. >

    < 17 November 2014 13:46:16 THIS > < emergency > < CQLServerTrace > < BEA-000000 > < oracle.cep.exceptions.CEPException: number or types of arguments in the call to and wrong >

    < 17 November 2014 13:46:16 THIS > < error > < CQLProcessor > < BEA-000000 > < unable to create the declaration [F1].

    Invalid statement: "select i.walletkey, i.createdDate from inputChannel as I, walletMonitoring w.

    "where > > i.walletkey = w.walletkey < < '.

    Description: a wrong number or types of arguments in the call to and

    Cause: This error occurs when the named function call cannot be matched to any declaration for this function name. The function name can be spelled, a parameter can have the wrong data type, or the function declaration may be faulty

    Action: Check the spelling of the registered service. Also confirm that his appeal is correct and its settings are correct data types. >

    < 17 November 2014 13:46:16 THIS > < error > < deployment > < BEA-2045013 > < the context of the "updateWallet" application could not be started. The cause is:

    Invalid statement: "select i.walletkey, i.createdDate from inputChannel as I, walletMonitoring w.

    "where > > i.walletkey = w.walletkey < < '.

    Description: a wrong number or types of arguments in the call to and

    Cause: This error occurs when the named function call cannot be matched to any declaration for this function name. The function name can be spelled, a parameter can have the wrong data type, or the function declaration may be faulty

    Action: Check the spelling of the registered service. Also confirm that his appeal is correct and its settings are correct data types. >

    Hi Siva,

    It seems the event type walletkey property is set incorrectly. Please try to set the event as follows:

    Use "char" instead of "char []."

    Best regards

    Sandeep

  • Hi, I bought and downloaded Adobe Pro, but when I reached installation and type my serial number, I get an error that it is inactive - can anyone help?

    Hi, I bought and downloaded Adobe Pro, but when I reached installation and type my serial number, I get an error that it is inactive - can anyone help?

    Adobe is a company that you bought?

    Invalid License http://helpx.adobe.com/creative-suite/kb/error-serial-number-valid-product.html

    -http://helpx.adobe.com/creative-suite/kb/invalid-serial-number-cs4.html

    - and http://forums.adobe.com/thread/1038761

  • I have just recibe enamel of adobelicensing, where they send the order number and a link to download the software I purchased. But, when I try to download, after login, it gives me a message saying im not a user allowed to download. Help, please.

    I have just recibe enamel of adobelicensing, where they send the order number and a link to download the software I purchased. But, when I try to download, after login, it gives me a message saying im not a user allowed to download. Help, please.

    Download the free trial version Adobe Captivate | Adobe Captivate 9

  • ADF BC - difference between the number and the Types of attributes DBSequence

    Hi all

    The ADF tutorials and examples, when you define an entity object, I understand that we could make use of the type of the DBSequence attribute and a trigger of DB to set a unique ID column on a table in the INSERT.
    For the same primary key attribute, I tried to use the Number data type. Now, with the DB of active trigger, I was able to achieve the same result as before. Additional configurations, I had to make sure that when using the data type numbers will allow "Refresh after insert", define Updatable when new and define a default value (I put this as - 1).

    My question is what is the difference between using a number and DBSequence of the types of data for a field? Is that just a data type DBSequence avoids the manual installation of the above properties?

    Thank you

    Hello

    With your approach, you tried to create several lines and then engaging them? Seems that your solution works for as long as there is only one line, you create both

    Frank

  • Can't get the procedure to update - PLS - 00306:Wrong number or types of arguments

    I'm in a situation where I think that despite the correct number of parameters by the way my local procedure (which has been "forward declarations" in addition to logical writing for her; I use all this in a package) fails to compile in SQL * faster due to the error PLS - 00306:Wrong number or types of arguments in the call to P_SENDMAIL.


    I'm passing 5 parameters in the area of forward declarations and also in the logic/header inside in addition to calling the procedure in the package. Can one of you help mewith this and tell me where exactly the error might be. Here is the code:


    [code]

    -Local variable

    CRLF VARCHAR2 (2) CONSTANT: = CHR (13) | CHR (10);

    -- --------------------------------------------------------------------------------

    -FORWARD DECLARATIONS

    -- -----------------------------------------------------------------------------

    PROCEDURE p_sendmail (p_sender_email IN VARCHAR2,

    P_FROM IN VARCHAR2,

    p_to IN VARCHAR2,

    msg_subject IN VARCHAR2 DEFAULT NULL,

    p_msg_body IN LONG DEFAULT NULL);

    [/ code]


    The procedure itself:


    [code]


    PROCEDURE p_sendmail (p_sender_email IN VARCHAR2,

    P_FROM IN VARCHAR2,

    p_to IN VARCHAR2,

    msg_subject IN VARCHAR2 DEFAULT NULL,

    p_msg_body IN LONG DEFAULT NULL) is

    LONG v_to_list;

    LONG v_cc_list;

    LONG v_bcc_list;

    T_DATE VARCHAR2 (255) DEFAULT TO_CHAR(SYSDATE, 'DD MON YYYY HH24:MI:SS PM');

    g_mail_conn UTL_SMTP. CONNECTION;

    SMTP_HOST CONSTANT VARCHAR2 (256): ='smtp - abc.defg.ca';

    SMTP_PORT CONSTANT PLS_INTEGER: = 25;

    BEGIN

    g_mail_conn: = UTL_SMTP. OPEN_CONNECTION (SMTP_HOST, SMTP_PORT);

    UTL_SMTP. HELO (g_mail_conn, SMTP_HOST);

    UTL_SMTP.mail (g_mail_conn, p_sender_email);

    UTL_SMTP. RCPT (g_mail_conn, p_to);

    UTL_SMTP.open_data (g_mail_conn);

    UTL_SMTP.write_data (g_mail_conn, "|) CRLF);

    UTL_SMTP.write_data (g_mail_conn, p_msg_body);

    UTL_SMTP.close_data (g_mail_conn);

    UTL_SMTP. Quit (g_mail_conn);

    EXCEPTION

    WHEN utl_smtp.transient_error THEN

    Dbms_output.put_line ('TransientError: invalid operation in the service may not be available.) ") ;

    WHEN utl_smtp.permanent_error THEN

    Dbms_output.put_line (' permanent error: the entered email is invalid or recepients mailbox is full.) ») ;

    WHILE others THEN

    Dbms_output.put_line ('Unable to send an email' |') '|| SQLERRM);

    END p_sendmail;

    [/ code]

    Now by calling the procedure to send an email:

    [code]

    p_sendmail (p_sender_email = > ' [email protected]'-, send an E-mail to the donor )

    p_from = > ' ADS < [email protected] > ',

    p_to = > v_store_email_address,

    p_msg_subject = > 'anonymous user ',.

    p_msg_body = > 'thank you ' |

    CRLF.

    "Email confirms that we have received your promise |

    CRLF.

    CRLF.

    ' Name: '. v_full_name |

    CRLF.

    ' Temporary ID: ' | v_azbwccp_id |

    CRLF.

    "Reference number: ' |" MTID |

    CRLF.

    "Amount: ' | '. TO_NUMBER (campaign_desg_amt1) |

    CRLF.

    "Campaign: ' | '. campaign |

    CRLF.

    ' Description: ' | '. adbdesg_rec.adbdesg_name |

    CRLF.

    ' Type: ' | atvpldg_rec.atvpldg_desc |

    CRLF.

    ' Duration: ' | '. atvpdur_rec.atvpdur_desc |

    CRLF.

    "Frequency: ' | '. atvfreq_rec.atvfreq_desc |

    CRLF.

    "Start date: ' | '. bill_date2 |

    CRLF.

    CRLF.

    'Your commitment is processed.' |

    CRLF.

    "At the same time, if you want to change this transaction, please contact us.

    CRLF.

    CRLF.

    "Thank you for your support." |

    CRLF.

    CRLF.

    CRLF.

    CRLF.

    ' * This is an automated message system. Please, do not respond to this email. *** ') ;

    [/ code]


    I've also attached a screenshot of the error message below:

    ScreenHunter_15 Nov. 27 09.35.jpg

    Please help me if you can. I just can't understand the question.


    Thanks in advance

    Sandeep

    In the header of the procedure, I spent my parameter as msg_subject and during the call, he was p_msg_subject. The minute that I corrected the error, I was able to correctly compile the whole package body.

    The question can be now closed.

  • Hello. I bought Lightroom, paid license 1 year view, did not have serial. E number and then past the 30 day trial and may not use the product or work more hard. I paid has been deducted from my credit card. How I'm going to work now?

    Hello. I bought Lightroom, paid license 1 year view, did not have serial. And number and then past the 30 day trial and may not use the product or work more hard. I paid has been deducted from my credit card. How I'm going to work now?

    Hi Sergior96769872,

    I saw your Adobe ID (email address), you used to post on the forums, and I see an active subscription on it.

    Please see Help below links: { make sure you use the same Adobe ID (email address) that you used to purchase the subscription }

    Connect and disconnect activate Cloud Creative applications

    Adobe Creative Cloud apps back in test mode after 2015 set CC to update

    * NOTE: Make sure that your firewall of your computer or security software firewall does not block Adobe, if you are not sure of it can just disable the firewall for a while and then log off and log on creative application of cloud and check.

    If it still gives you an error of the trial, then please refer to the troubleshooting listed below:

    If you are using MAC:

    1-force Quit the sub process in the same sequence as shown below from Activity Monitor: see, use the monitor activity on your Mac - Apple Support

    • Creative cloud
    • Basic timing & sync to basic support
    • CC library & process CCX
    • Adobe Common Desktop
    • Adobe update daemon
    • Broker CIB Adobe
    • After that, everything that said adobe on it do a force quit for her

    2 - right click on the Finder icon, then select the "Go - To" folder. You will get a text box, type in the following command and then press the 'return '. ("Not to be missed ~ symbol")

    ~/Library (it will open the folder of the user's library.)

    3. browse to the Application Support > Adobe > trash OOBE folder and folder AAM Updater

    4 - CUT any installed security software with firewall system.

    5 - go to: Apple icon > system preferences > Security & Privacy > General > "allow applications downloaded on" change this anywhere (to make these changes click the padlock in the corner at the bottom left of this window and enter your computer password)

    These changes are temporary you can restore these changes back to normal once your creative cloud app is running *.

    6 - restart the cloud creative app and connect


    If you use the WINDOW:

    1 complete the process / Task Manager tasks in the same order, as mentioned below the Manager tasks. See, Open the Task Manager

    • Creative cloud
    • Basic timing & sync to basic support
    • CC library & process CCX
    • Adobe Common Desktop
    • Adobe update daemon
    • Broker CIB Adobe
    • After that, everything that said adobe on it do a force quit for her

    2 - C:\Users\\AppData\Local\Adobe\ MAA UPDATER and two OOBE (App data & Program Data is hidden folder please see, Show files and folders hidden in Windows 7, 8.x, 10, or Vista)

    3 - CUT any security software installed with firewall system, also if your having any browser Add On installed for blocking advertising that turn off too.

    These changes are temporary you can restore these changes back to normal once your creative cloud app is running *.

    4 - raise the cloud creative app and connect

    Let us know if that helps.

  • International telephone number and postal code fields

    Hello

    I am building a new form that requires the phone number and zip codes to customers around the world. This means that I need a feature that allows users to enter phone numbers outside the U.S. 10-digit standard and more than 5 digits for the code positions standard American.

    Here, any help would be appreciated.

    Thank you


    Ruben

    Since they can vary so widely, it may be preferable not to use the formatting at all. If you have a unique format that is not included in the standard, you can create your own custom type/format scripts.

  • Please help solve the problem error: PLS-00306: wrong number or types of a

    Hello

    Please see my statement of types and the procedure. Object and the nested table that is declared at the schema level

    I'm using the oracle version 11.2
    CREATE OR REPLACE TYPE T_COPY_EVNT_DTL IS OBJECT
    
    ( 
    
    eventId varchar2(100),
    
    eventDescription varchar2(100),
    
    promoMonthDescription varchar2(100),
    
    promoStartDate varchar2(100),
    
    promoEndDate varchar2(100),
    
    PROMOCOSTSTARTDATE varchar2(100)
    
    );
    
    
    CREATE OR REPLACE TYPE T_EVENT_TABLE IS TABLE OF T_COPY_EVNT_DTL;
    
    create or replace PROCEDURE Pr_Event_Details_new(ip_xml          CLOB,
                                                                                                                                                     op_sections_xml OUT XMLTYPE) AS
         
         event_list     t_copy_evnt_dtl;
         event_data_sec t_event_table := t_event_table();
         
         
         CURSOR get_event_cur IS
              SELECT cast(collect(t_copy_evnt_dtl(evnt.event,                                                                                                                    evnt.event_desc,
                        mth.promo_month_desc,
                        TO_CHAR(evnt.start_date,
                        'DD/MM/YYYY'),
                        TO_CHAR(evnt.end_date,
                        'DD/MM/YYYY'),
                        TO_CHAR((evnt.start_date - 21),
                        'DD/MM/YYYY'))) as
                        t_event_table)
                   FROM RETEK_PROMO_EVENT_MST evnt
               INNER JOIN  .....
               WHERE ... 
               ORDER BY evnt.event_desc,
                                       mth.promo_month_desc,
                                       dtl.promo_start_date,
                                       dtl.promo_end_date,
                                       dtl.promo_cost_start_date;
    
         type get_event_tab is table of get_event_cur%rowtype index by Binary_Integer;
         l_get_event_tab get_event_tab;
    BEGIN
    
         ....
         
         
              OPEN get_event_cur;
              fetch get_event_cur
                   into event_data_sec;
         
              event_data_sec := set(event_data_sec);
              ...
              
              
              
    EXCEPTION
              --log_errors...                                                                 
              Raise;
    END Pr_Event_Details_new;
    Error: PLS-00306: wrong number or types of arguments in the call to 'SET '.
    Online: 117
    Text: event_data_sec: = set (event_data_sec);

    Error: PL/SQL: statement ignored
    Online: 117
    Text: event_data_sec: = set (event_data_sec);

    You will raise a wrong number or types of argument error, or an exception of PLS-00306, if you use the fixed operator with the collection of user-defined object types.

    The collection must contain SQL scalar data types - single values without internal components...

    Numeric values, on which you can perform arithmetic operations.
    Alphanumeric values that represent individual or strings of characters, characters that you can manipulate.
    Logical values, on which you can perform logical operations.
    Dates and times, you can manipulate.
    Time intervals, you can handle.

    Published by: stefan nebesnak on January 24, 2013 13:22

Maybe you are looking for