Creating a workspace via a trigger?

Hi all

I am new to the use of Workspace Manager and Oracle in a development environment and I am working on a development where multiple workspaces must be created whenever a developer wants to make a change to the database via a Java application.

My ultimate goal is a workspace to create before a release is made.
Is it possible in the form of a trigger that will allow the gaming tables, a name of workspace (possibly using the date and the OS developers username) and then commit changes disable versioning tables (or will trigger this part are part of an update after)?

If not, this could be done using a PL/SQL Package or is it not a very wise thing to do at all?

Concerning

Mark

Hi Mark,

Take note of what I wrote in the first reply in this thread. Whenever you allow privileges to ADMINISTRATOR of your application, the creation of workspaces, etc., there is always a risk associated with that.

But it's how grant you these privileges:

RUN DBMS_WM. GrantSystemPriv ('ACCESS_ANY_WORKSPACE, MERGE_ANY_WORKSPACE,)
CREATE_ANY_WORKSPACE, REMOVE_ANY_WORKSPACE, ROLLBACK_ANY_WORKSPACE',
'wm_developer', 'YES');

I will try to take a shot at your problem.

A possible solution using OWM would be this:

Once, to create a workspace, call it something meaningful, that this workspace will represent your current version.

In the application, to make change only in the workspace, you can just use SQL:
RUN DBMS_WM. CreateWorkspace ("myReleaseR123");

at this point your session working within the workspace

You perform the change of workspace LIVE or any other:

RUN DBMS_WM. GotoWorkspace ("LIVE");

And the final score, after having made all these changes within the workspace R123, you are ready to click a button and "committing" these changes in the LIVE of your data version: just to make this call:

RUN DBMS_WM. MergeWorkspace ("myReleaseR123");

As you can see it your application should not create workspaces alone, in this way, you don't have a lot of control and flexbility.

I don't want to get into too much detail, but simply take a part of the tasks of the admin application, it is a better design in this way.

I hope it's good for your beginning with OWM.

Serge

Tags: Database

Similar Questions

  • Auto how to grant additional on a workspace rights when creating the workspace

    Hello

    We use APEX 5.0 and I want to GRANT additional rights on EACH workspace when it was created.

    So that I need, after you create a new workspace, perform the following Manual :-(

    GRANT CREATE SYNONYM, CREATE VIEW, CREATE the LINK DATABASE, CREATE the PUBLIC DATABASE LINK xxx where 'xxx' = Workspacename

    However still a manual task is not a good approach
    I wish I had the default GRANTS and others above, automatic!

    Is there a feature or setting that can do it for me?

    Maybe there's a default template that I can modify for my needs?

    Thanks in advance for your help

    concerning

    Detlef

    Detlef salvation,

    If you use the Admin app Instance to provide patterns and new workspaces, you can simply add grants to the APEX_GRANTS_FOR_NEW_USERS_ROLE role. When APEX creates the workspace schema, he travels all privilege that has been granted to this role and he gives to the new user. You may need to grant privileges WITH GRANT OPTION to APEX_050000 (and again when the power to APEX_050100, etc.).

    Kind regards

    Christian

  • Need help to create a workspace to keep my guides and leaders to a predefined dimension.

    Need help to create a workspace to keep my guides and leaders to a predefined dimension?

    Might be interesting to set up an action to do this.

    The next time that you create your folder of the workspace, an action, then you have this will define and at a click of a button you will have the same workspace each time.

  • Hi, I have Adobe Acrobat Professional. And I would like to create web forms via Adobe for my site. What I have? or is it included in my Acrobat Professional software?

    Hi, I have Adobe Acrobat Professional. And I would like to create web forms via Adobe for my site. What I have? or is it included in my Acrobat Professional software?

    When you say that web forms, do you mean HTML forms or PDF forms? For web forms, Adobe has a number of products, you can use, including FormsCentral and Dreamweaver. For PDF forms, you can create them with Acrobat.

    If you want to create HTML forms with FormsCentral, which calls the web forms, you will need a subscription for the FormsCentral service. The FormsCentral application that comes with 11 Acrobat is used to create local PDF forms, but if you want to create web forms with him you will need a subscription. Note that there is a free subscription, but it is quite limited.

  • Create 3D comments via Javascript

    Comments 3D can be interactively created within a 3D scene. Is there a way to create a 3D via Javascript comment? Something similar to the doc.addAnnot method, but for a 3D comment?

    I also posted this on the Javascript forum.

    Thank you.

    Replied here

  • Error creating analytic workspace

    When I try to create the analytic workspace using AWM I get following error.


    An error occurred creating analytic workspace TEST_AW

    Oracle. AWXML. AWException: An error occurred in space creating analytical work TEST_AW

    at oracle.olap.awm.dataobject.dialog.PropertyViewer.doCreateAction(PropertyViewer.java:495)

    at oracle.olap.awm.dataobject.dialog.CreateDialogHostActionThread.doAction(CreateDialogHostActionThread.java:55)

    at oracle.olap.awm.ui.dialog.ThreadedDialogActionThread.run(ThreadedDialogActionThread.java:49)


    The Version of database: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
    AWM version: 10.2.0.3.0A

    We have recently updated the database 11g to 10g. The user created in the role of olap_user.

    Can someone help me?

    Hello

    Have you tried updating your version of AWM?

    If the version of your database is 11.2.0.1 then I would recommend to use AWM 11.2.0.1A which you can find here:-http://www.oracle.com/technetwork/database/options/olap/olap-downloads-098860.html

    Thank you

    Stuart Bunby

    OLAP blog: http://oracleOLAP.blogspot.com
    OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
    OLAP OTN: http://www.oracle.com/technology/products/bi/olap/index.html
    DW OTN: http://www.oracle.com/technology/products/bi/db/11g/index.html

  • Error creating new workspace

    I logged in as admin and attempted to create a new workspace for a developer. In the last step, I got the error:


    ORA-04063: package body "FLOWS_030100.WWV_FLOW_SAMPLE_APP" contains errors ORA-06508: PL/SQL: called program unit is not found: 'FLOWS_030100.WWV_FLOW_SAMPLE_APP '.

    Error XXXXXXX commissioning.
    Back by demand.

    Help, please!

    Published by: user10255537 on Sep 16, 2008 06:47

    Looks like it's a failure when attempting to load the objects of the sample into the new workspace. Go in managing Service / function Configuration and toggle Create demonstration objects... on OFF.

    Try to create the workspace after that and see if it works. I don't know why the sample app installation may fail but it might make you move.

    Jason Aughenbaugh (aka. WileECoyote)
    Precision guesswork blog: http://citemreh.spaces.live.com

  • Capture camera IMAQ via DAQmx trigger operation

    Hi all

    I thought I could re - this poster in this forum to see if I get more ideas!

    I work with a PCIe-1427 card connected by link to a camera (SUI Goodrich) and also using a card PCI-6731 to which I attached a connection block M SCC-68 series.

    I managed to write code to control the .avi capture the camera and write separate code to control the lighting of optical switch connected to the SCC-68.

    The two lines of the optical switch Relay different info and I will in turn present this information to the camera for analysis.  Ideally, I'd like to trigger the acquisition of the capture of the camera with the optical switching so that each image contains information of a single channel only, but I still fell in the integration of the operation of DAQmx meter with IMAQ camera code.

    Is this possible?  I see 1 previous post by using a RTSI cable can I connect the two devices together (or alternatively use the DAQmx to produce a trigger on the digital).  Can someone offer information or an example on how to route signals via the RTSI to IMAQ DAQmx?  Also do I tuned regarding the generation of pulses to the switch that allows signals to pass through RTSI?

    I find it by running my camera and counter code in vi even both will work (not in sync)-if I connect the RTSI and select the camera settings to accept the RTSI triggers, if it was a simple solution?

    I would greatly appreciate any ideas you may have. my time runs out very quickly and is really distressing.

    Sincere greetings and thanks,

    Miika

    Miika salvation,

    If I understand what you try to do in VI you attached, you want the output of the counter of the task DAQ to serve the trig by buffer task it IMAQ via RTSI.

    To do this, use the property node of channel DAQmx to configure the output terminal of the impulse to be RTSI 0:

    Select property > counter output > Pulse > output terminal

    B. change the node property to write.

    C. create a constant and select/Dev1/RTSI0

    On your IMAQ configure Trigger VI, RTSI value as type, set to 0 the number of line, set the action to trigger each buffer and set the polarity to rising edge.

    Oh yes, make sure to connect the RTSI cable for two cards.  I forgot that before and felt really stupid later.

    -Jeff

  • Custom problem race workspace via the SSL protocol

    Hello

    If we try to run our workspace personalized via the SSL protocol, we get the following in the trace error message: * took place an error event: an error occurred during initialization of workspace. (ALC-WKS-007-049)

    So the stuff of successful connection... but then the error occurs while initializing the workspace .

    In the trace you can also see, that service of the workspace still tries to connect via http, but with the secure port: http://xxx.xxx.xxx.xx:8443 / work-server/messagebroker/amfpolling space

    When we use the Internet-Explorer, the problem only occurs on the first connection. The second time everything works fine.

    Unfortunately, we cannot solve the problem when you use other browsers (Firefox, Safari. Etc.)

    It would be great if someone could give a clue.

    Thank you!

    We use the next version of livecycle:

    Version: 8.2.1, GM

    Patch Version: SP2

    Service Pack Version: 8.2.2353.1.195587.2

    Trace debugging:

    -Built in 3729ms AuthenticatingApplication.

    -called createComponentsFromDescriptors to 3761ms.

    [SWF] /xyz/workspace-theme.swf - 496 567 bytes after decompression

    Finished loading the theme to 3997ms.

    -init called 3998ms.

    Workspace created string: id = work-survey-amf space, url = https://192.168.196.60:8443 / work-server/messagebroker/amfpolling space .

    -checkLogin-

    singleSignOn: SSO connection

    login: https://192.168.196.60:8443/um/login time = 4053 Ms

    an error event occurred: verification of credentials: credentials not found. connection is required. (ALC-WKS-007-149)

    -showLogin to 4240ms.

    [SWF] /xyz/LoadingCircle.swf - 673 bytes after decompression

    -doAuthenticate to 10171ms.

    Login: credentials

    login: https://192.168.196.60:8443/um/login time = 10176 Ms

    sendWorkspaceLogin: https://192.168.196.60:8443 / space work-server/authenticate , time = 10357ms.

    exit sendWorkspaceLogin: https://192.168.196.60:8443 / space work-server/authenticate , time = 10363ms.

    loginHandler

    loginSuccessHandler: time = 10455ms.

    Workspace created string: id = null, url = https://192.168.196.60:8443 / remote/messagebroker/amf access .

    the authentication expires in 6899; to re-authenticate timer set to 6869 s.

    = initialize()

    handleChannelFault - faultCode = Channel .connect .failed NetConnection.Call.BadVersion: url: ' http://192.168.196.60:8443 / work-server/messagebroker/amfpolling space '

    an error occurred: an error occurred during initialization of workspace. (ALC-WKS-007-049)

    an error occurred: an error occurred during initialization of workspace. (ALC-WKS-007-049)

    -showLogin to 10526ms.

    We had the same problem.  There is a patch for it: http://www.adobe.com/support/products/enterprise/support_knowledge_center_livecycle_ES_ser ver.html

  • How to export via the trigger star pxi to several dvices

    Hello

    I have huge problems to do this work and free time to try rarely. Joined my unfinished VI (SyncTrig - Test.vi) who needs to synchronize 9 x PXI-4472 & 1 x PXI-6713 on PXI-1006 chassis (made up of bus 3 x 6 slots). Master ST in the #2 Groove is DSA (PXI-4472), the rest 8 x DSA are inserted in slot #3-#10, and MIO (PXI-6713) is in slot #11. I need MIO to generate signals of x AO 2 (ao0:1 or ao6:7) of arbitrary length. DSAS acquire 72 x channels HAVE simultaneously until the last pair of samples AO is triggered (AO and I work at the same pace).

    I understand there are 2 ways to cynchronize a all these devices - to use reference clock 10 MHz from backplane, or Star trigger bus. Trigger the beginning of ST control is supposed to start all 10 devices. I couldn't do the 'references', examples and I managed to do the "StarTrigger" example works with 2 devices so I decided to stay with the latter. Of course, I hardly expect export usable for the PXI-6713 SampleClock and we hope to get help on this forum.

    Here are my 3 questions/dilemmas:

    1 grouping DSAS more in a single task & export clock via ST each

    I've separated the master of ST in the UpperTask export SampleClockTimebase via the bus ST and StartTrigger through the spine. The rest of the DSA are grouped in a single MiddleTask since NEITHER-DAQmx makes it easier for this type of devices PXI. In VI, UpperTask exports in a single PXI location.

    Is it possible to format the string to export the clock via ST to the multiple (all the) SHAS so they can all receive it grouped together in the unique MiddleTask? Or should I use a loop for export the time base clock 8 times and feed it 8 times for all slots #3-10?

    Please be specific.

    2 synchronization MIO with DSA master ST via bus from ST

    How can I use the TimingNode to implement SampleClockTimebase division, so that the PXI-6713 can use it in the #11 slot (LowerTask)? If this is not possible via the ST bus, can someone please show me what TimingNode (s) to use to export usable St master clock and get to MIO to synchronize the HAVE and AO closely?

    3 triggers of PXI chassis

    I left 2-7 as 'Dynamics' triggers to be available for NOR-DAQmx. Is it enough for the configuration shown above, from PXI devices occupy 2 of 3 independent buses in PXI-1006?

    BTW, I tried a different approach (SyncTrig - No. AO.vi), but the mistake of resting LowerTask just after his TimingNode power.

    Ladies and gentlemen, I hope power affirmative responses because the documentation is completely absent on synchronization PXI DAQmx and are completely dependent on WEB resources.

    Thank you in advance,


  • Create an account via a standard account admin

    I have Vista Home with two accounts, a one and one other admin account standard. See the profile of my admin account is corrupted and I can only log on my standard account. I want to create another account to replace the admin one, but how can I do this via the standard user account. I can not activate the hidden either Administrator account such that she has always blocked.

    You can not. You can enable the built-in Administrator by following the instructions below. Instructions are written generically so not everything can be there, but the methods are the same.

    If your single administrative user account is damaged (and that is why only a single user account is A Bad Thing), you will need to log on to the built-in Administrator (disabled by default in Vista) account. From there, you can create a new user account for yourself. In these cases, I prefer not to copy the whole profile to a new way to do not copy the bits corrupt. I prefer a new user account to copy the data (documents, photos, emails, etc.). Here are the instructions to do this. I assumed that you had only an administrative account, then you might want to take a look at the "general recommendations for setting Up user accounts in Vista" at the end of this post.

    All this requires a certain level of computer skills. You know better and that take the machine to a competent local computer tech (not a type of BigComputerStore/GeekSquad place) is the best solution for you.

    System restore - you can try first to do a system restore when things worked. If you had only one user account, then you can either try activating and connecting the built-in Administrator account as described below or start with a Vista installation DVD and do a restore of the system from there. See below for what to do if you do not have an installation DVD.

    Activating the built-in administrator - the first thing to do is to see if the administrator account is enabled by going in Mode safe. If there is no account of administrator user on the system, the built-in administrator may become activated it. Go in Safe Mode, press the F8 key as the computer starts. This will get you to the menu diagnosis. Select Safe Mode using the arrow key. If you see an icon for administrator on the Welcome screen, click it. The default password is white. Then go to control panel > user accounts and make changes.

    If you don't see an icon for the administrator on the homescreen mode safe - if you have an installation of Vista DVD (not a recovery DVDs), you can start the system with it. Select the default language, then select "repair your computer". Then select "Command Prompt". At the command prompt, type:

    NET user administrator / Active: Yes [Enter]

    Remove the installation DVD and reboot the system in normal Mode. You will see an icon for the administrator on the Welcome screen.

    If you do not have a Vista installation DVD (only have a recovery disk), the computer mftr. may have given you the option to repair the system Windows Vista (not a system recovery!) in the menu diagnosis. This menu of diagnosis is the same one where you can choose Safe Mode. If this isn't the case, you can do a repair file Vista bootable DVD in this link:

    http://NeoSmart.net/blog/2008/Windows-Vista-recovery-disc-download/

    Note: All the Neosmart recovery disk downloads are torrent files. There is a good explanation of the torrent on the site Web of Neosmart files. You will need a torrent as muTorrent client to get the files. Torrent client will download the .iso file with which to create the bootable DVD. You will need the third burning like Nero, Roxio or free ImgBurn software to burn the image .iso image file, not in the form of data.

    After net user, remove the bootable CD and restart the computer. You will now see an icon for administrator on the Welcome screen. Connect to this account.

    Create a new user account for yourself and by copying data from your damaged to her user account:

    1. you are now connected to the built-in Administrator account. Go to control panel > user accounts and create a new Standard user for your daily work. Let's call it "Sheldon" for this example. Also create an administrator user, called 'CompAdmin' (or 'Tech' or similar).

    2 Ouvrezunesession 'Sheldon' once for profile files are created. Now log off 'Sheldon' and 'CompAdmin '. In "CompAdmin", disable the built-in security administrator. Do this from a command prompt:

    Start > Search > type: cmd
    When cmd appears in the above results, right-click and choose "Run as Administrator". Provide the password/OK to the UAC prompt. Now, you will get the command prompt. Type:

    NET user administrator / active: No. [Enter] and exit the command prompt.

    3. always in 'CompAdmin', you want to open two windows explore side by side. Open computer and navigate to C:\Users\old-corrupted-account. Now, do that again, but navigate to C:\Users\Sheldon. Copy the data from 'old-corrupted-account' on records in 'Sheldon '. Remember your Favorites, bookmarks (if you use Firefox) and by e-mail if you use an email like Windows Mail client.

    4. When you are finished, log in to "Sheldon. All your stuff should be there. When you are sure to have what you need, you can remove the old man-corrupted-account control panel > user accounts.

    General recommendations for creating users in Vista:

    You absolutely don't want to have only one user account. As XP and all the other modern operating systems, Vista is a multi-user system with integrated system of accounts as default Administrator and comments. These accounts should be left alone because they are part of the structure of the operating system.

    In particular, you do not want one account user with administrative privileges on Vista because the administrator account integrated (normally only used in emergencies) is disabled by default. If you use as an administrator for your daily work, and this account is corrupt, things will be difficult. It is not impossible to activate the built-in administrator to rescue things, but there may be more that you want to do. Better not to put you in a bad situation at first.

    The user account that is for your daily work must be a Standard user, with the extra administrative user (call it something like 'CompAdmin' or 'Tech' or similar) only it for elevation purposes. As a user Standard is recommended for security reasons and will help protect your computer against infections. After you have created "CompAdmin", connect to it and change your normal user account Standard. Then log on to your regular account.

    If you want to go directly to the desktop and ignore the Welcome screen with the icons of the user accounts, you can do this:

    Start Orb > Search box > type: netplwiz [Enter]
    Click continue (or provide an administrator password) when you are prompted by UAC

    Uncheck "users must enter a user name and password to use this computer". Select a user account to connect automatically by clicking on the account you want to highlight and press OK. Enter the password for this user account (when it exists) when you are prompted. Leave blank if there is no password (null).

    MS - MVP - Elephant Boy computers - don't panic!

  • Cannot create the folder via the web INTERFACE

    Connect to Adobe Creative Cloud via the web

    Try to create a file with a specific name

    Error: the folder with this name already exists... If no folder appears.

    How can I fix?

    Or who can I speak to who has access to my account to look at?

    Check your hosts file.

    help for that and other adobe.com sure common connection problems read, http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html

    and I'm not sure that this is related to your error:

    Error: "unable to sync files" in the cloud of Adobe Creative

  • Create materialized view at the trigger.

    Hello

    I use version below:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    PL/SQL Release 11.2.0.1.0 - Production

    I created a materialized view query below:

    CREATE THE FSG1_FUND000 MATERIALIZED VIEW

    PCTUSED, PCTFREE 5 70

    Users TABLESPACE

    STORAGE (INITIAL 500K NEXT 500K)

    Refresh a start fast with (sysdate) next (sysdate + (1 / 1440))

    WITH rowid

    AS

    SELECT * FROM ABNDEV_T24. FSG1_FUND000@abndev;

    This Mview if any insert or update only (WITHOUT DELETING) are coming which should be copy to another table. But in mView trigger does not work.

    So pls advice me no alternative.

    Querys trigger:

    create or replace trigger trg_dummy

    after insert or update on FSG1_FUND000

    for each line

    Start

    If the insertion

    insert into FSG1_FUND001 (RECID, XMLRECORD) values (: new.) RECID,: new. XMLRECORD);

    elsif update then

    insert into FSG1_FUND001 (RECID, XMLRECORD) values (: new.) RECID,: new. XMLRECORD);

    end if;

    end;

    /

    Kind regards

    Villa

    Hello

    I learned and referred website as much as we can not able to create a trigger in MView (sorry we create trigger but none use of creation because in view no insert and update happened). So I drop completely the materialized view concepts and relaxation.

    Instead of, I have using the procedure to insert records in a table and then I created one by dbms_scheduler job.

    This discussion will be useful for any future reference.

    -procedure-

    create or replace procedure p2

    as

    Start

    INSERT / * + APPEND * / INTO FSG1_FUND000 SELECT * FROM FSG1_FUND000@remote;

    End; BluShadow

    /

    -----------------job--------------------

    Begin

    DBMS_SCHEDULER. () CREATE_JOB

    job_name-online "JOB4."

    job_type-online "PLSQL_BLOCK."

    JOB_ACTION => ' BEGIN p2; END;',

    start_date => SYSDATE,

    repeat_interval => ' FREQ = MINUTELY; INTERVAL = 5;',

    End_date => NULL,

    -Online TRUE, enabled

    comments => "Inserting a record in a table");

    end;

    /

  • Converter via the trigger to ordimage blob

    Hi, I'm doing trigger for blob convertion to ordimage but when I run it I errors what should I do to solve this problem?

    create or replace
    Obrazy.dodanie_id23233 RELAXATION
    AFTER INSERT OR UPDATE ON fotki
    FOR EACH LINE
    BEGIN
    INSERT INTO FOTKIORD (FOTKAID1, FOTKA1)
    VALUES (: NEW.fotkaid, ORDSYS.SI_STILLIMAGE (:NEW.fotka));)
    END;

    WARNING: oci_execute() function: ORA-29400: data IMG-00701 cartridge error: unable to set the properties of a collection of images ORA-06512: at "ORDSYS. ORDIMERRORCODES', line 75 ORA-06512: at "ORDSYS. ORDIMERRORCODES', line 65 ORA-06512: at "ORDSYS. ORDIMERRORCODES', line 29 ORA-06512: at "ORDSYS. ORDIMG_PKG', line 33 ORA-06512: at "ORDSYS. ORDIMAGE", line 945 ORA-06512: at"ORDSYS.SI_STILLIMAGE", line 58 ORA-06512: at the 'OBRAZY. DODANIE_ID23233', line 2 ORA-04088: error during execution of trigger "OBRAZY. DODANIE_ID23233' in C:\Program Files (x86)\Zend\Apache2\htdocs\upload.php on line 45

    994229 wrote:
    I created the trigger and it works fine, but for si_stillimag I can not why?

    Works fine for me:

    SQL> select  *
      2    from  v$version
      3  /
    
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE    11.2.0.3.0      Production
    TNS for 64-bit Windows: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    
    SQL> create table fotki(
      2                     fotkaid number not null,
      3                     fotka blob,
      4                     constraint fotki_pk primary key(fotkaid)
      5                    )
      6  /
    
    Table created.
    
    SQL> create table fotkiord(
      2                        fotkaid1 number not null,
      3                        fotka ordsys.si_stillimage
      4                       )
      5    segment creation immediate
      6  /
    
    Table created.
    
    SQL> create or replace
      2    trigger fotki_aiur
      3      after insert
      4         or update
      5      on fotki
      6      for each row
      7      begin
      8          insert
      9            into fotkiord
     10            values(
     11                   :new.fotkaid,
     12                   case
     13                     when :new.fotka is null then null
     14                     when dbms_lob.compare(:new.fotka,empty_blob()) = 0 then null
     15                     else ordsys.si_stillimage(:new.fotka)
     16                   end
     17                  );
     18  end;
     19  /
    
    Trigger created.
    
    SQL> -- NULL fotka
    SQL> insert
      2    into fotki
      3    values(
      4           1,
      5           null
      6          )
      7  /
    
    1 row created.
    
    SQL> -- empty_blob() fotka
    SQL> insert
      2    into fotki
      3    values(
      4           2,
      5           null
      6          )
      7  /
    
    1 row created.
    
    SQL> -- actual image fotka
    SQL> DECLARE
      2      v_blob blob;
      3      v_bfile BFILE := BFILENAME('TEMP','HONDA CR-V.jpg');
      4  BEGIN
      5      DBMS_LOB.CREATETEMPORARY(v_blob,TRUE);
      6      DBMS_LOB.fileopen(v_bfile,DBMS_LOB.file_readonly);
      7      DBMS_LOB.LOADFROMFILE(v_blob,v_bfile,DBMS_LOB.GETLENGTH(v_bfile));
      8      DBMS_LOB.FILECLOSE(v_bfile);
      9      INSERT
     10        INTO FOTKI
     11        VALUES(3,v_blob);
     12      DBMS_LOB.FREETEMPORARY(v_blob);
     13  END;
     14  /
    
    PL/SQL procedure successfully completed.
    
    SQL> select  *
      2    from  fotki
      3  /
    
       FOTKAID
    ----------
    FOTKA
    --------------------------------------------------------------------------------
             1
    
             2
    
             3
    FFD8FFE000104A46494600010101006000600000FFDB004300020101020101020202020202020203
    0503030303030604040305070607070706070708090B0908080A0807070A0D0A0A0B0C0C0C0C0709
    
       FOTKAID
    ----------
    FOTKA
    --------------------------------------------------------------------------------
    
    SQL> select  *
      2    from  fotkiord
      3  /
    
      FOTKAID1
    ----------
    FOTKA(CONTENT_SI(LOCALDATA, SRCTYPE, SRCLOCATION, SRCNAME, UPDATETIME, LOCAL), C
    --------------------------------------------------------------------------------
             1
    
             2
    
             3
    SI_STILLIMAGE(ORDSOURCE('FFD8FFE000104A46494600010101006000600000FFDB00430002010
    10201010202020202020202030503030303030604040305070607070706070708090B0908080A080
    
      FOTKAID1
    ----------
    FOTKA(CONTENT_SI(LOCALDATA, SRCTYPE, SRCLOCATION, SRCNAME, UPDATETIME, LOCAL), C
    --------------------------------------------------------------------------------
    7070A0D0A0A0B0C0C0C0C0709', NULL, NULL, NULL, '05-MAY-13', 1), 126992, 'JFIF', 6
    48, 1152, 'image/jpeg', '24BITRGB', 'JPEG', NULL, NULL, NULL, NULL, NULL, NULL)
    
    SQL>
    

    SY.

  • How to create a delay to a trigger function

    I have a problem, I create a function delay in the timeline with a trigger.

    I want my animation to play every 3 seconds until the next sym.stop and then play after 3 seconds.

    EJ. I have 3 triggers in the timeline panel:

    SYM. Stop (1000)

    SYM. Stop (2000)

    SYM. Stop (3000)

    My idea is to make a delay on all triggers, like this:

    SYM. Stop (1000)

    Delay.Play (2000)

    SYM. Play

    SYM. Stop (2000)

    Delay.Play (2000)

    SYM. Play

    SYM. Stop (3000)

    Delay.Play (2000)

    SYM. Play

    Because I don't know how to create a jQuery function, I pray for your help.

    THX

    You can use these codes for the delay in your triggers

    Put this code at the time 1000 in your time line

    //////////////////////////////////////////////////////////////////

    SYM. Stop();

    clearTimeout() (eventTimer);  Disable the time-out

    var eventTimer = window.setTimeout (function () {sym.play(1000) ()}; 2000); / / 2-second delay can play

    Zaxist

Maybe you are looking for

  • Attack of the kernel after upgrading to El Capitan

    I need help and fashionable of despair. I get an error Kernel attack (such as published in full below) and can rule out a hardware malfunction. My situation is unique in the sense that I had a MacBook 2011 Pro - I upgraded to El Capitan and began to

  • The high slope 3 14 yoga fan noise

    Hi, I recently bought a Lenovo Yoga 3 14 with Core i7-5500U and I have the impression that there could be a problem with the chip because the fan is almost constantly on and it is REALLY hard, and until this is ive only tasks such as web browsing and

  • HP 8460w: Date of manufacture rating help

    Do not understand how to get the date of manufacture of series #... [Personal information].  I checked the forum.  Still pretty confused.  Product # is: model XU100UT's 8460w, I discover expired warranty as of 2014... Thank you

  • HP psc 2410

    The device worked very well without any problem of software for a few years. The problem appeared on the starting upwards when going through its cycles. The transport of the lamp seems to hang up, with the use of the belt as he jumped, although the b

  • Whiel, try installing Microsoft Security Essentials, I get error 0x8007050a

    Original title: 0x8007050a error code Come back just my computer to the shop for a virus removal. Got it home and hooked up to the internet and tried to update essential security Microsoft. It didn't, got an error code of 0x80070a. Not good. Intend t