Not authorised to have auto increment trigger on server

Hello all. I need a few triggers set up, I have no problems setting up sequences and "before insert" triggers on my home PC setup but on the live server where I study I do not have the authority.
I got around this before by using Forms so I set the trigger at Form level.
I am developing a DB system that will at some stage in the future use Forms, but for now it will use HTML forms via a web browser.
I need to have the primary key for user accessible tables to be auto incremented (on the server where I study), but how can get around the authority issue ??
Any ideas are extremely welcome !!

Hello all - yeah I am on a course. I too have no idea why they will not allow the students to create triggers at table level.
The 1st system I developed at home I had auto incremented primary keys. It was using Oracle Forms as the front end. Because I am the admin on my home setup I didn't have any problems.
When I went to the course site to implement exactly what I had at home (which worked 100% properly) inserting data via the forms was not working. I had no idea why. the lecturer guy took a look at my code and told me its because of the trigger, I do not have authority to create triggers on the server.
"create or replace trigger cust_trg
before insert on customer
for each row
begin
select cust_seq.nextval into :new.cust_id
from dual;
end;"
The above code works fine on my home PC. I used Pre Insert triggers on the block on the Form instead to get around the problem (I presumed it was because they wanted us to learn Forms more thoroughly).
This next project does not involve forms but they will not change my access rights so I don't have a clue as to how to get an auto incremented primary key whilst using a HTML form.
Kevin

Similar Messages

  • Database :Auto increment in SQL server ID

    Hi,
    How can I do auto increment in SQL server primary column ID. Actualy I am writing the data into the SQL datbase table using LabVIEW and I wanted to set the auto increment to the primary key column ID.  I have three column in TEST_REPORT table i.e  Test_ID, Test_No and Test_Result. I wanted to set Test_ID as a primary key and set as a auto increment and write the value for only Test_No and Test_Result column
    When ever I am writing data into table the Test_ID is not getting auto incremented. I set that auto increment manualy through SQL server management studio.
    Please help me to fix this issue.

    Hi Palanivel,
    Thanks for the suggestion.
    Initially I was using same logic "query for TEST ID at initially"  but I have to query data from more than 20 tables  and write into it and its taking lots of space and query time.
    I am just looking for alternative of this. 
    Actually I am setting the auto incremnt  for TEST ID  through the SQL server managemnt studio but when ever I ignore the TEST ID column and write the data in rest column.  
    I gets the error message  "Insert Error: Column name or number of supplied values does not match table definition".  

  • Auto increment trigger

    I have a table with an index and two other columns. The first column is called index.
    What I would like to do is to auto increment the index column on every insertion. I have read some of the documentation and can't make sense of what I am trying to do. Please point me to an example.
    WBR

    I tried these 3 statements to create a auto update column:
    CREATE TABLE TIME_TABLE (
    RECORD_NUM INTEGER NOT NULL,
    DATE_FIELD DATE,
    DESCRIPTION VARCHAR(1000));
    CREATE SEQUENCE TIME_SEQ START WITH 1 INCREMENT BY 1;
    CREATE OR REPLACE
    TRIGGER TIME_TRIGGER BEFORE INSERT ON TIME_TABLE
    FOR EACH ROW
    BEGIN
    SELECT TIME_SEQ.NEXTVAL INTO :NEW.RECORD_NUM FROM DUAL;
    END
    When I execute an insert statement I get the following error:
    An error was encountered performing the requested operation:
    ORA-04098: the trigger ‘TIME.TIME_TRIGGER’ is invalid and failed re-validation.
    So my question is what is wrong with the three statements. I would appreciate some help.

  • Hibernate data insertion not working with oracle auto increment

    hi i have created a table and the id is set to auto increment by a sequence trigger pair
    when i manually giving value to id its working fine
    but when i tried without maually giving the id i am getting this error
    org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): com.pojo.Example
    at org.hibernate.id.Assigned.generate(Assigned.java:33)
    at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:99)
    at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187)
    at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33)
    at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172)
    at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27)
    at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
    at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535)
    at org.hibernate.impl.SessionImpl.save(SessionImpl.java:523)
    at org.hibernate.impl.SessionImpl.save(SessionImpl.java:519)
    at hibernetsample.Main.main(Main.java:30)

    >
    hi i have created a table and the id is set to auto increment by a sequence trigger pair
    when i manually giving value to id its working fine
    but when i tried without maually giving the id i am getting this error
    org.hibernate.id.Assigned
    >
    That is because you are using the hibernate 'assigned' generator which, by definition
    >
    lets the application to assign an identifier to the object before save() is called.
    This is the default strategy if no <generator> element is specified.
    >
    For your use case you can use the 'sequence' generator.
    The valid generator options and one way to use a sequence generator is shown in this article
    http://www.hibernate-training-guide.com/identifiers-generators.html
    The hibernate section of this article also uses a trigger with sequence generator
    http://blog.lishman.com/2009/02/auto-generated-primary-keys-in-oracle.html
    You should check the hibernate documention and tutorial for examples or search 'hibernate generator sequence example'

  • Auto-increment  identity column through procedure in oracle 10g on windows

    Hi,
    I need identity primary key which should be auto increment before while inserting data into table.
    for this i had use sequence and then trigger to increment it.
    but now i need to increment it in Procedure, while my procedure is having code to insert data in same table which has primary key

    Hi,
    SNEHA RK wrote:
    Hi,
    I need identity primary key which should be auto increment before while inserting data into table.
    for this i had use sequence and then trigger to increment it.Right. Some database products have auto-increment columns, and they are really handy. Unfortunately, Oracle does not have auto-increment columns. A sequence is an auto-increment object, and it's the right way to automatically generate unique identifiers, but you need to explicity reference the sequence, either in you DML statements, or in a trigger that will automatically fire before a DML statement.
    but now i need to increment it in Procedure, while my procedure is having code to insert data in same table which has primary keyAre you saying that you need to increment the sequence, completely aside from INSERTing into the table?
    If so, just reference sequence_name.NEXTVAL wherever you want to. In PL/SQL, you can say
    SELECT  sequence_name.NEXTVAL
    INTO    number_variable
    FROM    dual;This works in any version of Oracle, but starting in Oracle 11, you also have the option of referencing te sequence without using dual, or any other table.
    I hope this answers your question.
    If not, post a complete script that people can run to re-create the problem and test their ideas.
    For example:
    -- Here are the table and the seqauence that I created:
    CREATE TABLE table_x ...
    CREATE SEQUENCE ...
    -- Here is the BEFORE INSERT trigger I wrote:
    CREATE OR REPLACE TRIGGER ...
    -- The trigger works exactly how I want it to in statements like this:
    INSERT INTO table_x ...
    -- So there are no problems (that I know of) with anything up to this point.
    -- Now I want to use the same sequence to ...
    -- so that when I execute a statement like this
    -- then the next time  I add a new row to the orginal table, like this
    INSERT INTO table_x ...
    -- then the contents of table_x should be ... because ...

  • Auto increment variable in foreach loop in ssis

    i know this has been asked N number of times, but still i have a question for you guys
    i have files sitting in FTP location
    i am loading the data from the files into tables (no issues)
    but i need to assign value to a particular column as -99999999 and then auto increment that number while loading the files into the database
    I cannot have auto increment for the that particular column
    should i use a derived column, script component, execute sql task?
    can somebody point me to the right direction
    if it were a single file, assigning the auto incremental number is easy, but with for each loop, i am not able to get the solution
    Thanks

    Hi Jack,
    To achieve your goal, you can use a Row Count Transformation in the Data Flow Task to get row count for each file, and then use an Execute SQL Task after the Data Flow Task to update the total row count variable. Supposing the variable used in the Row Count
    Transformation is InsertCount, the variable used to store the total row count is TotalInsertCount. We need to set the ResultSet of the Execute SQL Task to “Single row”, and the SQLStatement to:
    DECLARE @Insert_Count INT, @Total_Insert_Count INT
    SET @Insert_Count=?
    SET @Total_Insert_Count=?
    SET @Total_Insert_Count=@Total_Insert_Count + @Insert_Count
    SELECT R_Total_Insert_Count=@Total_Insert_Count
    Then, set the Parameter Mapping of the Execute SQL Task, we map variable InsertCount and TotalInsertCount to the parameters in the SQL statement respectively. In the ResultSet page of the Execute SQL Task, map the resultset to variable TotalInsertCount.
    Please refer to the following screenshot:
    Regards,
    Mike Yin
    TechNet Community Support

  • Computer not authorised for syncing with iPhone with IOS 7

    Unable to sync iPhone 4S (with IOS 7) to my PC.  Error message is that computer not authorised.  Have tried all on-line steps to rectify.  e.g. Control Panel User settings.
    Anybody have any clues on this problem?

    Hi oxman78,
    That definitely sounds frustrating! Let's give this a go to see if we can isolate the issue futher:
    First, connect your device and choose the "Music" tab. Next, uncheck the "Sync Music" checkbox, and apply the changes (so there is ultimately no music syncing to your iPhone).
    Once you have done that, recheck the "Sync Music" checkbox, and apply the changes once more. This will instruct iTunes to completely remove all music from your iPhone, and then copy the files once more. If you have a large amount of music, this initial sync may take a while.
    iOS: Syncing your data with iTunes
    http://support.apple.com/kb/HT1386
    iTunes 11 for Mac: Set up syncing for iPod, iPhone, or iPad
    http://support.apple.com/kb/PH12113
    Cheers!,
    Matt M.

  • The great SQL ColdFusion Auto Increment fiasco

    Hello all and thanks in advance for your help. I am
    working on an Insert Record page using ColdFusion 7, Dreamweaver 8
    and SQL Server 2000.
    The SQL DB has a table called Articles. The table Articles
    has a Primary Key field called ArticleID which is set to a type of
    "Numeric, Identity:Yes, Seed:1, Increment:1" and no Null allowed.
    I am getting an error message of:
    Variable
    PAGENUM_RSARTICLES is undefined.
    The error occurred in
    D:\Inetpub\guardyourself\backend\article_add.cfm: line 107
    105 : </cfquery>
    106 : <cfset MaxRows_rsArticles=10>
    107 : <cfset
    StartRow_rsArticles=Min((PageNum_rsArticles-1)*MaxRows_rsArticles+1,Max(rsArticles.Record Count,1))>
    So. How do I get the ArticleID field on the CF page to see
    what the last SQL row shows for an ArticleID... and then add one?
    I'm stumped. Any help you can provide would be greatly appreciated.
    Code for the page in question is as follows or you can just go to :
    http://www.guardyourself.org/backend/article_add.cfm

    I think there may be a little confusion about what a
    uniqueidentifier field type is. You're talking about two separate
    concepts as though they are one. To create a field which
    "auto-increments" in SQL Server, you need to create the field as a
    numeric type and then specify that the field is an identity field
    (you can also specify the start and increment values). On insert,
    SQL Server will assign values to this field based on the criteria
    you supplied. If you do this, you will typically want to omit the
    value and field from your ColdFusion inserts as you have described
    below.
    What you have done instead is to create the field as a
    uniqueidentifier which requires a GUID value to be stored there.
    You cannot "increment" a GUID. The GUID for new records must either
    be generated by SQL Server (using the newID() function) or
    externally in your code. You must pass this value on insert from
    ColdFusion.
    Hope this helps.
    Adam

  • Not Authorised for Sonic? HELP!

    I recently legally paid $7.49 for Sonic the Hedgehog on my IPod Classic but whenever i try to sync it onto my IPod it says: "The game 'Sonic The Hedgehog' could not be loaded onto the Ipod 'Bob' because you are not authorised to have it on your computer"
    What gives? I have the latest version of Itunes and a fairly modern computer, i dont get why it's not giving me my game. I at leat want my money back.
    Btw Bob is my Ipod.
    Help Me!
    Xandeer

    I have the same problem with the same game. I've tried doing the authorising and still have the same problem. Any ideas please?
    x

  • Trigger Bad Bind Value Auto Increment

    I am new to the Oracle world and am trying to make the switch from MySQL so my apologies if this seems like a silly question.
    I am trying to figure out what is wrong with my trigger code. Basically , I am trying to create an auto-increment solution using some example code I found on the Internet.
    I have a fairly simple table structure:
    CREATE TABLE "CIMS"."computerSoftware"
    ( "computerSoftware_id" NUMBER(11,0),
    "cid" NUMBER(11,0) DEFAULT 0 NOT NULL ENABLE,
    "publisher" VARCHAR2(100 CHAR) DEFAULT NULL,
    "name" VARCHAR2(100 CHAR) DEFAULT NULL,
    "version" VARCHAR2(100 CHAR) DEFAULT NULL,
    "serialNumber" VARCHAR2(100 CHAR) DEFAULT NULL,
    "unlimited" NUMBER(4,0) DEFAULT 0,
    "copies" NUMBER(9,0) DEFAULT 1 NOT NULL ENABLE,
    "master" NUMBER(4,0) DEFAULT 0,
    PRIMARY KEY ("computerSoftware_id")
    My Trigger looks like this:
    CREATE OR REPLACE TRIGGER "CIMS"."TR_CompSoftware_ID"
    BEFORE INSERT ON CIMS."computerSoftware"
    REFERENCING OLD AS OLD NEW AS NEW
    FOR EACH ROW
    BEGIN
    IF (:new.computerSoftware_id IS NULL) then
    SELECT S_CompSoftware_ID.NEXTVAL
    INTO :new.computerSoftware_id
    FROM dual;
    end IF;
    END;
    And finally, here is my sequence:
    CREATE SEQUENCE "CIMS"."S_CompSoftware_ID" MINVALUE 1
    MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 10 NOORDER NOCYCLE
    When I try to save the trigger I receive the following error:
    PLS-00049: bad bind variable 'NEW.COMPUTERSOFTWARE_ID'
    Any help is much appreciated!
    Tom

    And, this is the way - you can rectify this problem ->
    satyaki>
    satyaki>drop table "computerSoftware";
    Table dropped.
    Elapsed: 00:00:00.92
    satyaki>
    satyaki>CREATE TABLE computerSoftware
      2  (  
      3      computerSoftware_id NUMBER(11,0),
      4      cid NUMBER(11,0) DEFAULT 0 NOT NULL ENABLE,
      5      publisher VARCHAR2(100 CHAR) DEFAULT NULL,
      6      name VARCHAR2(100 CHAR) DEFAULT NULL,
      7      version VARCHAR2(100 CHAR) DEFAULT NULL,
      8      serialNumber VARCHAR2(100 CHAR) DEFAULT NULL,
      9      un_limited NUMBER(4,0) DEFAULT 0,  -- Need to change the name of your column due to use of reserve word
    10      copies NUMBER(9,0) DEFAULT 1 NOT NULL ENABLE,
    11      master NUMBER(4,0) DEFAULT 0,
    12     constraints pk_cid PRIMARY KEY (computerSoftware_id)
    13   );
    Table created.
    Elapsed: 00:00:00.20
    satyaki>
    satyaki>
    satyaki>CREATE SEQUENCE S_CompSoftware_ID MINVALUE 1
      2  MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 10 NOORDER NOCYCLE;
    Sequence created.
    Elapsed: 00:00:00.05
    satyaki>
    satyaki>
    satyaki>CREATE OR REPLACE TRIGGER TR_CompSoftware_ID
      2  BEFORE INSERT ON computerSoftware
      3  REFERENCING OLD AS OLD NEW AS NEW
      4  FOR EACH ROW
      5  BEGIN
      6    IF (:new.computerSoftware_id IS NULL) then
      7        SELECT S_CompSoftware_ID.NEXTVAL
      8        INTO :new.computerSoftware_id
      9        FROM dual;
    10    end IF;
    11  END;
    12  /
    Trigger created.
    Elapsed: 00:00:00.98
    satyaki>
    satyaki>insert into computerSoftware(cid,publisher,name,version,serialNumber,un_limited,copies,master)
      2     values(1,'ABP','SR','1.0.0.1','1.4.3',88,7,9);
    1 row created.
    Elapsed: 00:00:00.14
    satyaki>
    satyaki>commit;
    Commit complete.
    Elapsed: 00:00:00.05
    satyaki>
    satyaki>
    satyaki>select * from computerSoftware;
    COMPUTERSOFTWARE_ID        CID PUBLISHER                                                                                            NAME                                                                                                 VERSION                                                                       
                      1          1 ABP                                                                                                  SR                                                                                                   1.0.0.1                                                                       
    Elapsed: 00:00:00.05
    satyaki>Got me?
    Regards.
    Satyaki De.

  • Auto increment with collection is not working

    I am using KODO 3.0 with MYSQL 4.0.16. I have created two JDO object as
    follows
    BankAccount contains a collection of Contacts object. My metadata looks
    like this
    <class name="BankAccount">
    <field name="contacts">
    <collection element-type="Contacts"/>
    <extension vendor-name="kodo" key="element-dependent"
    value="true"/>
    </field>
    </class>
    <class name="Contacts" objectid-class="Contacts$contactId">
    <field name="contactId" primary-key="true">
    <extension vendor-name="kodo" key="jdbc-auto-increment"
    value="true"/>
    </field>
    </class>
    There is no problem in the persisting of BankAccount object and adding
    Contacts to it, but Contacts collation is not retrieved along with parent
    object. In the database join table, the contact Id value it is always set
    to null.
    Things are working well with out contact id in Contacts.
    Can anyone help?
    Regards,
    dharmi

    Set the following property:
    kodo.jdbc.AutoIncrementConstraints: true
    Described here:
    http://www.solarmetric.com/Software/Documentation/latest/docs/ref_guide_pc_oid.html#ref_guide_pc_oid_pkgen_autoinc

  • Auto Increment Not Working - SQL Identity field

    I am new to Visual Basic & SQL server but have some experience in Access & VBA. But this is a steep learning curve!
    I am banging my head against a wall with a problem..
    All of my tables in this database are in the dataset. The main one being tblItems with a PK 'ITEMID'
    I have 2 forms - the first one is used to lookup an item the second displays the item's full details.
    On the first form (lookup) I have a 'Add New' button which launches the second form with the code - frmProductDetail.VItemsBindingSource.AddNew()
    This opens the form with empty boxes as expected. I have a 'Save' button on the second form with the following code -
            Dim row As SASHItemsDataSet.tblItemsRow
            row = SASHItemsDataSet.tblItems.NewRow
            With row
                .ITEMCODE = txtItemCode.Text
                .ITEMDESCRIPTION = txtItemDescription.Text
                .CATEGORY = cmbItemCategory.SelectedValue
                .PURCHCOST = txtPurchCost.Text
                .SELLCOST = txtSellPrice.Text
                .UNIT = cmbUOM.SelectedValue
                .VATID = cmbVAT.SelectedValue
                .WHLOCATION = cmbWHLoc.SelectedValue
            End With
            SASHItemsDataSet.tblItems.Rows.Add()
            Try
                Me.Validate()
                Me.VItemsBindingSource.EndEdit()
            Catch ex As Exception
                MsgBox(ex.Message, MsgBoxStyle.Critical + MsgBoxStyle.OkOnly, "UPDATE FAILED")
            End Try
    My problem is I get the error msg box with the following error 'Column 'ITEMID' does not allow nulls'
    This field is set as a auto incrementing identity field with all the correct settings shown in Visual Studio so it shouldn't be coming back as null.
    I have Googled for hours & tried all sorts with no luck..
    I have clearly gone wrong somewhere but I can't work out where... any help appreciated!
    James

    This is the code on frmProductLookup that opens the form...
            frmProductDetail.Show()
            frmProductDetail.VItemsBindingSource.AddNew()
    This is the code on frmProductDetail_Load...
            'TODO: This line of code loads data into the 'SASHItemsDataSet.tblVAT' table. You can move, or remove it, as needed.
            Me.TblVATTableAdapter.Fill(Me.SASHItemsDataSet.tblVAT)
            'TODO: This line of code loads data into the 'SASHItemsDataSet.tblWarehouseLocations' table. You can move, or remove it, as needed.
            Me.TblWarehouseLocationsTableAdapter.Fill(Me.SASHItemsDataSet.tblWarehouseLocations)
            'TODO: This line of code loads data into the 'SASHItemsDataSet.tblStockUnits' table. You can move, or remove it, as needed.
            Me.TblStockUnitsTableAdapter.Fill(Me.SASHItemsDataSet.tblStockUnits)
            'TODO: This line of code loads data into the 'SASHItemsDataSet.tblItemCategory' table. You can move, or remove it, as needed.
            Me.TblItemCategoryTableAdapter.Fill(Me.SASHItemsDataSet.tblItemCategory)
            'TODO: This line of code loads data into the 'SASHItemsDataSet.vItems' table. You can move, or remove it, as needed.
            'Me.VItemsTableAdapter.Fill(Me.SASHItemsDataSet.vItems)
            Me.VItemsTableAdapter.Fill(Me.SASHItemsDataSet.vItems)
            Me.VItemsBindingSource.Position = Me.VItemsBindingSource.Find("ITEMID", _passedText)
            Me.txtWKSName.Text = Environment.MachineName
            Me.txtSellPrice.Text = FormatCurrency(Me.txtSellPrice.Text)
            Me.txtPurchCost.Text = FormatCurrency(Me.txtPurchCost.Text)
            Me.txtPriceIVAT.Text = FormatCurrency(Me.txtSellPrice.Text + (Me.txtSellPrice.Text * 0.2))
    On the tblItemTableAdapter this is the Command Text for the Insert Command...
    INSERT INTO tblItems
                             (ITEMCODE, ITEMDESCRIPTION, UNIT, WHLOCATION, VATID, PREFSUPPLIER, CATEGORY, PURCHCOST, SELLCOST, INACTIVE)
    VALUES        (@ITEMCODE,@ITEMDESCRIPTION,@UNIT,@WHLOCATION,@VATID,@PREFSUPPLIER,@CATEGORY,@PURCHCOST,@SELLCOST,@INACTIVE)
    SQL Server Management Studio clearly shows the column as an Identity column. If I add a row through SSMS it does create an PK identity automatically. I have also dropped the ITEMID column & recreated through SSMS which has no effect.
    I am now considering creating a separate form just for adding an item but I have managed it in Access but am just struggling with VB!
    Thanks,
    James

  • AUTO Increment on TABLE or TRIGGER

    I have a table that I created. I want the first column in the table to auto increment. Some of the examples I have seen create a sequence, and then do the update on a trigger?
    Is is possible to just start with 1 and increment by one when something is inserted into the table in the CREATE or ALTER Table syntax?
    Or Do I have to create a sequence, and trigger for this?

    I have already created a trigger for this table. I am doing an insert.
    IF UPDATE THEN
      INSERT INTO EQUIPMENT_USER_DATA_AUDIT (
        equipment_id,
        old_cpe_status,
        new_cpe_status,
        cpe_status_changed,
        old_ne_status,
        new_ne_status,
        ne_status_changed,
        date_modified,
        modifiers_name)
    VALUES (
        :new.equipment_id,
        :old.cpe_status,
        :new.cpe_status,
        (CASE WHEN :old.cpe_status = :new.cpe_status
               THEN 'N'
               ELSE 'Y'
         END),
        :old.ne_status,
        :new.ne_status,
        (CASE WHEN :old.ne_status = :new.ne_status
               THEN 'N'
               ELSE 'Y'
         END),
        SYSDATE,
        SYS_CONTEXT ('USERENV','CURRENT_SCHEMA'));
       END IF;Do I need to declare the first column in my insert? which is named seq_id?

  • Add auto increment column to trigger

    I want to add auto increment column to after insert trigger. so how can I do that?

    this is my query.
    Create Sequence Up_Seq
    Start With 1
    Increment By 1
    nomaxvalue;
    Create Or Replace Trigger Upf_Trig
    After Insert On members
    Referencing New As New
    For Each Row
    Begin
    Insert Into Upf_Kgl(Member_Id,Mem_Name,Nic,Division)
    Values (Up_Seq.Nextval
    *,:New.Mem_Name*
    *,:New.Nic*
    *,:New.Division);*
    end upf_trig;
    It's worked. but when inserting values to members table, there is an error.
    this is the error
    Error starting at line 21 in command:
    Insert Into Members(Mem_Name,Nic,Full_Name,Age,Sex,Mar_State,Birth_Date,Division,Religon)
    Values(
    *'IA Nawagamuwa'*
    *,'883324356V'*
    *,'Isuru Aravinda Nawagamuwa'*
    *,'22'*
    *,'Male'*
    *,'Single'*
    *,'21-Dec-88'*
    *,'kgl'*
    *,'Buddhist')*
    Error report:
    SQL Error: ORA-00001: unique constraint (SYSTEM.SYS_C004077) violated
    ORA-06512: at "SYSTEM.UPF_TRIG", line 2
    ORA-04088: error during execution of trigger 'SYSTEM.UPF_TRIG'
    *00001. 00000 - "unique constraint (%s.%s) violated"*
    **Cause: An UPDATE or INSERT statement attempted to insert a duplicate key.*
    For Trusted Oracle configured in DBMS MAC mode, you may see
    this message if a duplicate entry exists at a different level.
    **Action: Either remove the unique restriction or do not insert the key.*

  • I have replied to you three times now without reply. I DID NOT authorise a payment of £9.99 for NowTV. What is the solution to getting my money refunded. I think you assume I will go away after being Ignored. No I will not go away. I find now that you hav

    I have replied to you three times now without reply. I DID NOT authorise a payment of £9.99 for NowTV. What is the solution to getting my money refunded. I think you assume I will go away after being Ignored. No I will not go away. I find now that you have DISABLED MY APPLE ID. Is this a punishment you use to anyone who takes up a stand against charges being made unauthorised on their account?. Please tell me why you have disabled my account. When will my account be restored? If not when will you refund ALL my purchases made to APPLE/ITUNES? I can then move on to another brand and hopefully better customer service. After reading articles regarding APPLE ID DISABLED it appears common practice from your company to DISABLE anyone's account if they question unknown charges. Please reply with your intentions regarding  the unauthorised payment and the DISABLING of my account.
    David Forrester.
    Sent from my iPad
    On 18 Mar 2014, at 09:20, iTunes Store <[email protected]> wrote:
    Follow-Up: 319042795
    Hello again,
    I wanted to send a quick note to see if you are still experiencing any difficulties with the iTunes Store. Resolving your issue is important to me, so please don't hesitate to reply if you need any further assistance.
    Sincerely,
    iTunes Store Customer Support
    http://www.apple.com/support/itunes/ww/
    Dear David,
    Welcome to iTunes Store Customer support.
    I understand that you have been charged an additional 9.99 GBP for a purchase that not authorized. I know how eager you are to know more about this purchase and I am happy to look into this for you.
    David, the purchase worth 9.99 GBP was for a day pass from "NOW TV for Apple TV." To review your iTunes Store account's purchase history, please follow the steps in this article:
    iTunes Store &amp; Mac App Store: Seeing your purchase history and order numbers
    http://support.apple.com/kb/HT2727
    Please reply to this email and let me know if this purchase was unauthorized.
    Thank you for being an iTunes Store customer. Have a great day!
    Sincerely,
    iTunes Store Customer Support
    http://www.apple.com/support/itunes/ww/
    Lang_Country: en_gb
    User Storefront: UK
    Concern Type: Problem Not Listed
    Web Order #:
    Content Title: NOW TV Day Pass
    Provider Name: BSkyB
    Track IDs: []
    Purchase Date : 2014-03-16 12:33:48 Etc/GMT
    Purchase Device : Apple TV
    Comments : I am being charged for what is listed plus another _9.99 for Apple TV pass. Did not authorise this _9.99 charge and not sure what it is exactly.
    <Personal Information Edited by Host>

    This is a user-supported board. You are not addressing Apple here. Nor is it a good idea to post your private information to a public forum. You should edit your post immediately.
    Unfortunately no one here can access your support history. You must respond to the emails directly.

Maybe you are looking for