Updateretriever and "Create an Update"

From what I can grasp, the "Create an Update" function is used then you want to create a software package to be distributed to all laptops of a given class in your organisation.
Are there any documentation ready for how to do this? Reason I'm asking, is that there are several small (and a few large) applications that all our laptops SHOULD have installed, that I want to manage the same way we do with the update-retrirever, among them are OpenOffice, Adobe CS3 Master Collection,  Acronis True Image, etc.
Any pointers to where I can find this documentation would be helpful.
//Svein
W500 (4062) with 8GB ram, Seagate 500GB 7200rpm disk

I looked at that and it does not answer my question. I don't understand what my view should be since I am NOT getting the data for the oracle database. I already have a file from a 3rd party vendor that has the information that I want to insert in a bee batch. So what should my view be???? should it be something like this....
create view someview as select col1, col2, col3,.... from dual
where col1, col2. col3 etc correspond to the fields in the file that I have?

Similar Messages

  • I have updated my Mac, Iphone 5 and iPad to iOS 7 successfully - however , the iTunes match will not go from my laptop to my other two devices today_ I bought new songs and created a new play list on my laptop but they don't appear on my iphone or iPad

    I have updated my Laptop, iPhone 5 and iPadto the new ios 7, however since this was installed on all these devices, when i Purchase mucic on my laptop and create a playlist, the  Itunes match is not showing the new music purchases or new playlists on my iphone and ipad- can someone help me out with this?

    I can see a extremely slow download of one at a time of the remaining songs.  Very disappointed in iTunes, should not take 24 hours to retrieve songs!!!

  • My friend gave me ipod touch with all his accounts, i created new accounts but when i went on the appstore and tried to update apps installed by him,i was asked his account's password! i dont know his password.how can i use my account to update apps?

    my friend gave me ipod touch with all his accounts, i created new accounts but when i went on the appstore and tried to update apps installed by him,i was asked his account's password! i dont know his password.how can i use my account to update apps?

    You can't.  Apps and really all content purchased/downloaded through one Apple ID is forever tied to that Apple ID.  In the case of Apps they will always request that Apple ID to update as they are licensed to that Apple ID.
    In reality, the Apps were licensed to that Apple ID by the developer.  And cannot simply be given away to you for you to use.
    He should have wiped the iPod clean so you could set it up for your use without any of his accounts or purchased content as you are not really licensed to any of those Apps.
    Your friend should have followed this support document before giving the iPod to you:
    What to do before selling or giving away your iPhone, iPad, or iPod touch - Apple Support

  • ITunes update removes quicklaunch icons and creates new folder each time

    Everytime I install an iTunes update, it removes my quicklaunch icon and creates a new start menu folder.  I keep the iTunes start menu folder in a 'Media' subfolder (to keep things organized), but each time I update iTunes on each of my computers it creates a new iTunes folder in the main start menu. Any way to make it stop doing this? Since I work on multiple machines, it can be really irritating to have to redo icons and move folders each time.
    Working on PCs (Dell work laptops) running Windows 7.
    Thanks!

    Unfortunately it won't go into disk mode. Even tried the "put your ipod on a flat surface" trick. I'm wondering if the battery hasn't stopped holding a charge. But it seems the symptoms would be more like a constant battery icon. Instead I'm getting the sad face everytime I try to put it in disk mode or reset. Ideas? Throw ipod against wall? Blow on it like old-school Nintendo cartridges?
    Oh, and yes, it is Windows formatted.
    Any and all help would be appreciated.

  • Unique Key Violation While Doing Multiple Updates And Create in EJB

    Hello All,
    I am using oracle 9i and Weblogic 7.0. I have a table that has a unique key constraint on one column , say 'Col1' and i am using a CMP to read,create and update data in this table. The problem description is as follows.
    I have JTable that display the data from the above said table. The user can modify the existing data and insert new data that will be reflected in the DB using the CMP. Let us say the following are displayed
    ROW1
    Col1 : 3
    Col2 : 'ABC'
    Col3 : 1 (Primary key in the table)
    Now the user modifies the above row and inserts a new record. Now the following will be the display
    ROW1 (Modified)
    Col1 : 4
    Col2 : 'ABC'
    Col3 : 1 (Primary key in the table)
    ROW2 (New)
    Col1 : 3
    Col2 : 'DEF'
    Col3 : 2 (Primary key in the table)
    When the above data is saved i do the following in the Code
    a) Session Bean
    For (all the data in the Jtable)
    try
    home.findByPrimaryKey(Col3);
    remote.update(Col1,Col2);
    catch(FinderException fe)
    home.create(Col1,Col2,Col3);
    When the above code is run During the first loop the update runs succesfully (i.e update old value of 3 with 4 ) but during the 2nd loop the create (i.e Insert new value 3) gives me the unique key violated exception. The following is the stack trace
    <Oct 25, 2004 11:36:22 AM IST> <Info> <EJB> <010049> <EJB Exception in method: ejbPostCreate: java.sql.SQLException: ORA-00001: unique constraint (UAT_CYCLE2_1.UK_PYMT_DET_TX) violated
    java.sql.SQLException: ORA-00001: unique constraint (UAT_CYCLE2_1.UK_PYMT_DET_TX) violated
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:579)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1892)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093)
    at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2130)
    at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2013)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2869)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:608)
    at weblogic.jdbc.jts.Statement.executeUpdate(Statement.java:509)
    at de.dl.ucs.contract.entity.TerminalPaymentsCMP_kbdoop__WebLogic_CMP_RDBMS.__WL_create(TerminalPaymentsCMP_kbdoop__WebLogic_CMP_RDBMS.java:1435)
    at de.dl.ucs.contract.entity.TerminalPaymentsCMP_kbdoop__WebLogic_CMP_RDBMS.ejbPostCreate(TerminalPaymentsCMP_kbdoop__WebLogic_CMP_RDBMS.java:1353)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.ejb20.manager.DBManager.create(DBManager.java:1023)
    at weblogic.ejb20.manager.DBManager.localCreate(DBManager.java:904)
    at weblogic.ejb20.internal.EntityEJBLocalHome.create(EntityEJBLocalHome.java:180)
    at de.dl.ucs.contract.entity.TerminalPaymentsCMP_kbdoop_LocalHomeImpl.create(TerminalPaymentsCMP_kbdoop_LocalHomeImpl.java:73)
    at de.dl.ucs.contract.helperclasses.SubsegmentMaintanence.saveTerminalPayments(SubsegmentMaintanence.java:697)
    at de.dl.ucs.contract.controller.SubsegmentSL.saveSubsegmentDetails(SubsegmentSL.java:570)
    at de.dl.ucs.contract.controller.SubsegmentSL.processFinanceSubsegmentSave(SubsegmentSL.java:1601)
    at de.dl.ucs.contract.controller.SubsegmentSL_kgzv4j_EOImpl.processFinanceSubsegmentSave(SubsegmentSL_kgzv4j_EOImpl.java:498)
    at de.dl.ucs.contract.events.FinanceSubsegmentBEH.saveSubsegmentDetails(FinanceSubsegmentBEH.java:749)
    at de.dl.ucs.contract.events.FinanceSubsegmentBEH.processEvent(FinanceSubsegmentBEH.java:232)
    at de.dl.ucs.framework.flowcontroller.ControllerBean.delegateAction(ControllerBean.java:229)
    at de.dl.ucs.framework.flowcontroller.ControllerBean_riqvk4_EOImpl.delegateAction(ControllerBean_riqvk4_EOImpl.java:46)
    at de.dl.ucs.framework.flowcontroller.ControllerBean_riqvk4_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:441)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:382)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:726)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:377)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
    >
    <Oct 25, 2004 11:36:22 AM IST> <Info> <EJB> <010051> <EJB Exception during invocation from home: [email protected] threw exception: javax.ejb.TransactionRolledbackLocalException: EJB Exception:; nested exception is: java.sql.SQLException: ORA-00001: unique constraint (UAT_CYCLE2_1.UK_PYMT_DET_TX) violated
    Please help me with this, as far as i am concerned since both update and create is in the same transaction the update on the row must be visible to the create and hence there shouild not be any problem.....
    thanks in advance
    Shanki

    Hi,
    Thanks,
    There are 3 columns involved with that table . Out of whihc one is a Primary Key (string) , The other column (Number) has a unique key constraint defined on it and the last column stores a value corresponding to the 2nd column.
    The reason for me to do a create in the Finder exception is as follows.
    I Loop through the Data present in JTable. As given in the example let us assume that there are 2 rows in the JTable. Out of whihc the First row needs an updation and the second row , which is a new row needs to be created. So During the First iteration of the loop, The findermethod does not throw any exception (Because it is a modfied row) and hence the update gets fired successfully. During the second iteration , since it is a new row the findermethod will throw a finder exception and hence create will get fired.
    I understand that this is not a good coding style but then it is not 100% wrong and i need to find out as to why it is not working.
    Hope am clear in explaining my problem
    Thanks
    Shanki

  • HT201269 My iphone contacts are not updating to Icloud, I can create a contact in Icloud and it will update to my phone but I cannot create a contact on my phone to have it update in the cloud, I am using Itunes as the bridge

    My iphone contacts are not updating to Icloud or Outlook, I can create a contact in Icloud/Outlook and it will update to my Iphone but I cannot create a contact on my Iphone to have it update in the Cloud/Outlook, I am using Itunes as the bridge. I originally installed the Icloud manager to sync my contacts to Cloud/Outlook, but I did not like the functionality, when I uninstalled the Cloud manager and and installed Itunes I noticed that the none of my contacts in the phone updated to Outlook.
    Thanks in advance.

    Hi Cyclops12,
    Welcome to the Support Communities!
    The article below may be able to help you with this.
    iCloud: Troubleshooting iCloud Contacts
    http://support.apple.com/kb/ts3998
    Cheers,
    - Judy

  • Aperture 2.1.1 and OS X 10.5.5. - Can't create nor update Vaults!

    After updating to OS X 10.5.5 and installing the latest RAW file plug-ins update from Apple yesterday, I cannot update my existing Aperture vaults, I get the following error message:
    The following error occurred:
    Aperture has detected a problem with the vault “Aperture Vault”. You need to remove this vault and create a new one.
    I deleted both vaults, created new vault, and when I press Update button, it compares empty vault to my library for some 4-5 minutes (why?! It's just empty vault!) and then Aperture shows the same message:
    The following error occurred:
    Aperture has detected a problem with the vault “Aperture Vault”. You need to remove this vault and create a new one.
    I ran Disk Utility - Repair Disk Permissions - no problems. I installed 10.5.5. combo update over the existing system, restarted, and still I cannot create a new vault. The same error message. Any ideas why?
    In Console I see two lines from Aperture:
    08.9.17 19:28:52 Aperture[336] .sdef error: Operation could not be completed. (NSXMLParserErrorDomain error 1549.)
    08.9.17 19:28:52 Aperture[336] line number: 2
    I don't know is it related to this problem or not.

    I am having exact same problems. Software update says that I have all the latest updates for system and Aperture (including the latest RAW file plug-ins). I can't update vaults. Every time I try to update, I get the following error message:
    The following error occurred:
    Aperture has detected a problem with the vault “Aperture Vault”. You need to remove this vault and create a new one.
    I have deleted all vaults and tried creating new vaults. Aperture will permit the creation of the vault, but when I attempt to update it for the first time, Aperture works away for a while comparing the 'library' to the empty vault and returns the exact same error message:
    The following error occurred:
    Aperture has detected a problem with the vault “Aperture Vault”. You need to remove this vault and create a new one.
    I rebooted computer and restarted Aperture holding down the option key. I requested that Aperture perform a 'Consistency Check' and when completed, I restarted Aperture the same way so that I could request that Aperture 'Rebuild Now' all projects. Once both activities had finished, I tired again to create a vault and update it and was able to create the vault, but unable to update it. The same message was returned:
    The following error occurred:
    Aperture has detected a problem with the vault “Aperture Vault”. You need to remove this vault and create a new one.
    I did notice a change in Aperture's behavior before and after performing the 'Consistency Check'. Before performing the consistency check, Aperture had stopped giving this message upon quitting:
    'Updating information for sharing previews'
    After the consistency check, Aperture upon quitting would update information for sharing previews.
    Is there a fix for this?

  • How to handle multiple updates and creates sequentially

    Hi All,
    I have a requirement where multiple updates and creates will happen on an Order (say Purchase Order). I need to capture all these updates/creates and synchronize the other system in real time. In other words, as soon an order is updated/created in EBS, the same needs to be reflected in other system database.
    I have thought of using a JMS queue that'll store all the incoming creates/updates and a BPEL process will keep polling this queue. But in this case how do I ensure the sequence in which the new instances will be created. e.g. create order message was picked first from the queue and an instance got created. While this instance was in execution, another update happened on the same order for which another instance got created. Now before the first instance could get completed and created an order, second instance is trying to update the custom database because of which it would fail. How to restrict second instance from running before the completion of the first one?
    I have also thought of capturing Order Update/Create business events from EBS but there also the same problem. Instance created by Update event can try to do the update before the instance created by Order Create could create a new order.
    Any method to solve this.
    Any pointers/suggestions/approaches are more than welcome.
    SOA Suite 11.1.1.3
    Regards,
    Neeraj Sehgal

    maybe unit of order and unit of work can help you on that, though i haven't any experience on both topics :
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/jms/uow.html
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/jms/uoo.html
    or the mediator supports some sort of sequencer, see : http://www.xenta.nl/blog/2010/05/14/oracle-soa-suite-11g-resequence-messages-in-mediator/

  • I changed my Apple ID, and i forgot the old one, and i created a new one, and when i tried to update my purchased items, and i cannot update my iphoto and imovie and garageBand, even i try to re purchase it, what can i do?

    I changed my Apple ID, and i forgot the old one, and i created a new one, and when i tried to update my purchased items, and i cannot update my iphoto and imovie and garageBand, even i try to re purchase it, what can i do?

    This is the iphone support forum. please ensure you post in the correct location

  • Trying to post a question and receiving: You are not allowed to create or update this content

    I am a newbie and am trying to post a question to the support communities and received this reply:"You are not allowed to create or update this content"
    My question:
    Help! Not all my incoming mail messages are going to my home computer account. Some are derailed and end up in my inbox on my iphone only. My husband is waiting for a message to come through on the home computer and sometimes they end up on my iphone5 accounts. Yikes! He is not happy. Some messages come to my pc email and some only to my phone. But then, some come to both as they should. I need all mail to arrive at both home and on my iphone. I would so appreciate any help or advice given. Thank you!  Iphone 5c  IOS 7.1.2

    I'm not sure, but you might try this (instructions are from my 5s running iOS 7.1.2):
    On your iPhone, go to Settings -> Mail, Contacts, Calendars
    Find the account you're having the problem with
    Touch the arrow to the right of it, which will bring up a screen that has the account name, Mail and Notes
    Touch the account name. This brings up a settings screen for only that account.
    Go down to Advanced and touch that
    See what it says under Deleted Messages. If Remove is set to something really short, your iPhone might be deleting the messages before they have a chance to download onto another device.

  • The latest Premier Pro CC 2014 update forced me to convert and create version of my project while guaranteeing that the project would not be altered; however, the timelines are not the up to date versions I had.

    The latest Premier Pro CC 2014 update forced me to convert and create version of my project while guaranteeing that the project would not be altered; however, the timelines/sequences are not the up to date versions I had. I saved different version of this project for various purposes, but they were all named differently(i.e joe and mary wedding, joe and mary wedding 2, joe and mary wedding 3, joe and mary wedding 3.1).  I do not know if they just pulled the timelines from the earliest version, eradicated the data entirely, or something else.
    Since the program prompts me to create and save a new version for the updated premier, I still have the previous projects, but cannot open them.  I imagine they are unchanged, but cannot be sure.
    Thoughts? Is it possible to uninstall an update re-install it later?
    Please advise.
    Thank you.
    Brian

    Also...
    Add to right click menu of timelines an entry for "go to next keyframe" and "go to last keyframe" a la After Effects, we should also be able to assign a kb shortcut to this.
    There are buttons on either side of the create keyframe button to advance forward or backward in the effects control panel or timeline.
    You can also advance forward or backward in the effects control window by holding shift while dragging the playhead.
    Allow copy/paste of selection of audio/video effects, not just one at a time. Sure we can copy/paste attributes but since we can also copy/paste effects it would only make sense to allow to copy/paste a selection of effects.
    I guess I don't get this one. If I have 5 effects on a clip, I can simply command-click on the ones I want to copy over to the other clip.

  • Why can't Adobe continue to support and create updates.....

    Why can't Adobe continue to support and create updates for MAC G5 OS X Tiger?
    I'm sure I'm not the ONLY owner and operator of this MAC machine. I'm finding it
    VERY frustrating how your comany, JAVA and Apple of just written this machine off.
    You know, MAYBE I'd be more understanding if this MAC product or ALL MAC
    products weren't so reliable. However, like many MAC users out there
    there's NOTHING wrong with my machine or my current programs OTHER than the
    simple fact I can no longer update Flash player or Java... all because
    my machine is no longer supported.
    WHY can't updates continue to be made? This way,ALL consumers are happy:
    those who feel it wasteful economically and ecologically to
    replace a computer with a NEW computer, and those who just like to have the latest
    and greatest tech toys.

    MD Optofonik wrote:
    Dear God in heaven, I can't even simply make a basic edit to correct a spelling mistake.
    You can - click on the "Actions" link at bottom left of the post.
    As to the rest - nobody seems to like this forum, and what you're saying has been said on numerous occasions already.
    It's Adobe's fault for "buying in" this forum (sorry - "Social Business"  ) service, but it's Jive's fault for producing such a crappy solution in the first place.

  • Unable to Sync Video files after Itunes 9.0.3 and iPhone software update

    This is my problem with Itunes- After I the Software Update program installed iTunes 9.0.3 yesterday, and I upgraded the iPhone software (to 3.1.3.) shortly thereafter. The iPhone upgrade failed (it froze). When I restarted the computer, I had to restore the iPhone and then I synced. I could not sync my video files.
    The apps, music and "push" items sync perfectly. However, it ignores the Movies, Podcasts and iTunes U files.
    In terms of the location for these files, all of my Library and Media files are contained in a firewire external drive. They have been there since I started up with iTunes many years ago. All worked well before the Install/Upgrade.
    Problem is- iTunes ignores the pointer in Preferences/Advanced/Location and creates an empty folder, named iTunes in the Music library (in my Home directory) at every sync (even if I delete it, it recreates it on the new sync).
    Question-Why does iTunes ignore the pointer, and create a new empty folder in Home?
    Thanks for your help.

    Apparently Apple doesn't bother to test their software updates. This problem was introduced last September and has persisted through a number of updates that were supposed to address the bug. Very discouraging. I keeping holding out hope that an iTunes update will eventually fix this feature that worked fine for years before iTunes 9 was introduced.
    Unfortunately, it is impractical to go back to an earlier version of iTunes.
    I have reported this bugs several times (via iTunes feedback). If Apple actually reads the feedback, they never respond.
    It's not like there are other vendors or unknowns involved: current iMac 24, new iPod Touch, the latest version of iTunes and iPod OS.
    So what do we have to do to get Apple's attention? Stop buying music? Stop buying Apple devices? I'd love to buy the new iPad, but I'm darned if I will if they are unable or unwilling to fix this bug...

  • Help on Procedure and trigger for updating(urgent please)

    SQL> / Table A
    CTUT_ID CTUT_COMPANY_NAME CURRT_USER_ID FMIS_ID CREATE_DA UPDATE_BY UPDATE_DATE
    1234 A 15-APR-03
    2222 B 15-APR-03
    3333 C 15-APR-03
    4444 D 15-APR-03
    5555 E 15-APR-03
    6666 F 15-APR-03
    150282 G oRACLE 23-APR-03
    1 H 15-APR-03
    2 I 15-APR-03
    3 J 15-APR-03
    150343 K TIGER 24-APR-03
    150305 L EXAMPLE 23-APR-03
    150342 M SCOTT 24-APR-03
    sQL >/ Table B
    Empno     Empname UPDATE_BY UPDATE_DATE
    1 AA
    2 BB
    3 CC
    4 DD
    What i need to do is i need to create an update trigger on both tables
    like create a procedure
    1)In procedure i need to check like
    IF TABLEA.CURRT_USER_ID = (SELECT USER FROM DUAL)
    THEN
    UPDATE_BY = (CURRENT_USER_ID of CTUT_ID)
    FOR EXAMPLE CURRENT USER_ID IS SCOTT THEN
    UPDATE_BY = 150342
    UPDATE_DATE = SYSDATE
    ELSIF
    UPDATE_BY <=> (CURRENT_USER_ID of CTUT_ID)
    THEN
    MESSAGE('USER IS NOT IN TABLE);
    END IF;
    and call that procedure in the update triggers
    FOR BOTH TABLES TABLEA,TABLEB
    i CREATED A PROCEDURE BUT IT IS NOT WORKING
    ANY HELP PLEASE
    CREATE OR REPLACE PROCEDURE UPDATE(
    UPDATE_DATE out DATE,
    UPDATE_BY out VARCHAR2)
    IS
    Uuser varchar2(20);
    Udate date;
    Ufound number(1);
    BEGIN
    SELECT USER,SYSDATE
    INTO Uuser,Udate from dual;
    SELECT count(*),CTUT_ID into Ufound,Uctut_id
    FROM TABLEA
    WHERE CURRT_USER_ID = Uuser
    Group by Ctut_id;
    IF (UFOUND = 1) THEN
    UPDATE_DATE := UDATE;
    UPDATE_BY := UCTUT_ID;
    END IF;
    EXCEPTION WHEN NO_DATA_FOUND THEN
    RAISE_APPLICATION_ERROR(-20001,'User Does not Exist');
    END UPD_CONSTITUENT;
    CREATE A TRIGGER :
    CREATE OR REPLACE TRIGGER TU
    BEFORE INSERT ON TABLEA
    FOR EACH ROW
    BEGIN      
    UPDATE(:NEW.update_date,
         :NEW.update_BY);
    END IF;      
    END;
    SQL> update TABLEA
    2 set CTUT_COMPANY_NAME = 'SCOTT TEST'
    3 WHERE FMIS_USER_ID = 'N';
    update TABLEA
    ERROR at line 1:
    ORA-04091: table TABLEA is mutating, trigger/function may not see it
    ORA-06512: at "UPDATE", line 12
    ORA-06512: at "TU", line 1
    ORA-04088: error during execution of trigger 'TU'

    Hi Mara,
    You are right thats what i want
    I have a table A
    EmpNo Empname Currtuser_id Update_date Updateby
    1 Denis Oracle
    2 Scott Scott
    3 Mara MMara
    1)what i need to do is when any user tries to update the table Table A
    Then the Trigger or procedure should check whether user is exits in table A in column currtuser_id
    If his user id exits in table A
    Then allow him to update the TABLE A
    and insert his EMPNO in UPDATE_BY
    and SYSDATE in UPDATE_BY
    He will do all this process using forms
    But i need to have trigger or procedure in database level for table
    2) I have another table like 10 tables
    Suppose TABLE B
    When user tries to update TABLE B
    Then the Trigger or procedure should check whether user is exits in table A in column currtuser_id
    If his user id exits in table A
    Then allow him to update the TABLE B
    and insert his EMPNO in UPDATE_BY
    and SYSDATE in UPDATE_BY
    3) I need to have a common Procedure and call that procedure in all tables in UPDATE TRIGGER
    Thanks for your help
    Thanks

  • How to create an update page

    i want to create an update page using dreamweaver and record set, i succeded but it only updates the database with user id of 1. even if i login as another user with id of 3, it keeps updating the user with id of 1.please help me, a lost. below is my code:
    <?php require_once('Connections/conn_login.php'); ?>
    <?php
    if (!isset($_SESSION)) {
      session_start();
    $MM_authorizedUsers = "";
    $MM_donotCheckaccess = "true";
    // *** Restrict Access To Page: Grant or deny access to this page
    function isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) {
      // For security, start by assuming the visitor is NOT authorized.
      $isValid = False;
      // When a visitor has logged into this site, the Session variable MM_Username set equal to their username.
      // Therefore, we know that a user is NOT logged in if that Session variable is blank.
      if (!empty($UserName)) {
        // Besides being logged in, you may restrict access to only certain users based on an ID established when they login.
        // Parse the strings into arrays.
        $arrUsers = Explode(",", $strUsers);
        $arrGroups = Explode(",", $strGroups);
        if (in_array($UserName, $arrUsers)) {
          $isValid = true;
        // Or, you may restrict access to only certain users based on their username.
        if (in_array($UserGroup, $arrGroups)) {
          $isValid = true;
        if (($strUsers == "") && true) {
          $isValid = true;
      return $isValid;
    $MM_restrictGoTo = "login.php";
    if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) {  
      $MM_qsChar = "?";
      $MM_referrer = $_SERVER['PHP_SELF'];
      if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
      if (isset($_SERVER['QUERY_STRING']) && strlen($_SERVER['QUERY_STRING']) > 0)
      $MM_referrer .= "?" . $_SERVER['QUERY_STRING'];
      $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer);
      header("Location: ". $MM_restrictGoTo);
      exit;
    ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form1")) {
      $updateSQL = sprintf("UPDATE login SET username=%s, pwd=%s, `role`=%s, firstname=%s, lastname=%s, country=%s WHERE userID=%s",
                           GetSQLValueString($_POST['email'], "text"),
                           GetSQLValueString($_POST['pwd'], "text"),
                           GetSQLValueString($_POST['role'], "text"),
                           GetSQLValueString($_POST['firstname'], "int"),
                           GetSQLValueString($_POST['lastname'], "int"),
                           GetSQLValueString($_POST['country'], "int"),
                           GetSQLValueString($_POST['id1'], "int"));
      mysql_select_db($database_conn_login, $conn_login);
      $Result1 = mysql_query($updateSQL, $conn_login) or die(mysql_error());
      $updateGoTo = "index.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";
        $updateGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $updateGoTo));
    $colname_Recordset1 = "-1";
    if (isset($_GET['userID'])) {
      $colname_Recordset1 = $_GET['userID'];
      $_SESSION['userID'] = $_GET['userID'];
    $colname_Recordset1 = "-1";
    if (isset($_GET[''])) {
      $colname_Recordset1 = $_GET[''];
    mysql_select_db($database_conn_login, $conn_login);
    $query_Recordset1 = sprintf("SELECT userID, username, pwd, `role`, firstname, lastname FROM login WHERE userID = %s", GetSQLValueString($colname_Recordset1, "int"));
    $Recordset1 = mysql_query($query_Recordset1, $conn_login) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Scuba2u</title>
    <link href="styles.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <?php include('headerScuba2u.php'); ?>
    <div id="main">
        <div id="left">
          <h1>Registration Form</h1>
          <fieldset>
            <legend>Register for our website</legend>
            <form action="<?php echo $editFormAction; ?>" id="form1" name="form1" method="POST">
              <p>
                <label for="firstname">First Name</label>
                <input name="firstname" type="text" id="firstname" size="30" maxlength="40" />
              </p>
              <p>Last Name
                <label for="lastname"></label>
                <input name="lastname" type="text" id="lastname" size="30" maxlength="40" />
              </p>
              <p>Country
                <input name="country" type="text" id="country" size="30" maxlength="30" />
              </p>
              <p>Email
                <label for="email"></label>
                <input name="email" type="text" id="email" size="60" maxlength="60" />
              </p>
              <p>Password
                <label for="pwd"></label>
                <input name="pwd" type="password" id="pwd" size="10" maxlength="10" />
              </p>
              <p>
                <input name="role" type="hidden" id="role" value="guest" />
                <input name="id1" type="hidden" id="id1" value="<?php echo $row_Recordset1['userID']; ?>" />
                <input type="submit" name="submit" id="submit" value="Register" />
              </p>
              <input type="hidden" name="MM_update" value="form1" />
            </form>
          </fieldset>
        </div>
    </div>
    <?php include('footerScuba2u.php'); ?>
    </body>
    </html>
    <?php
    mysql_free_result($Recordset1);
    ?>

    Temporarily change your id1 field from a hidden field to a text field so you can see if it is being set correctly for the logged in user.

Maybe you are looking for

  • How do I update my Nik Plug Ins for LR 5 to the latest release?

    Nik has a new release (1.1.1.1) and the Plug In version I have in LR 5 is 1.1.1.0.  How do I update the Nik Plug In's?  I have Lightroom through the Creative Cloud and usually get my updates there.

  • 1TB WD Caviar Black SATA internal drive won't mount on desktop or Disk Util

    I just installed this brand new drive in bay B of my G5 tower...it doesn't appear on the desktop, and not in Disk Utility. Can a 1 TB SATA3 drive be functional in a G5? The owner's manual only mentions a maximum 250GB (or 500GB drive, don't recall) ;

  • Access query strings in a search results page with custom display template

    am trying to create a  custom display template in my search results page , so i went to download the itemdefault html file and renamed it and  saved as  different file.and  am started to updating. the issue i am facing here is : in my  search results

  • How do I make a Grid layout?

    Here should be an easy question for someone who knows Java, but for a newbee like me, it is difficult. I'm using a tutorial with Eclipse as my platform. Wherever possible I'm using the visual editor to make my code. The tutorial calls for Grid layout

  • Blending options, fx, effects, copy, CS4

    Hi. In PS CS4 In my layers palette, I used to be able to have an effect (ex. drop shadow) on a layer & drag that effect onto another layer so the layers would have the exact same effect. In CS4 when I drag an effect, I lose that effect from that laye