Application for vehicle tracking

Hello friends,
I am a beginner in oracle spatial and would be useful in the following cases:

I have a table of positions of a vehicle with [ID / Lat / Long]
I would like to extract the distance in meters for this vehicle.
I need help to create the table and extract this information.

Thanks to you all.

q shock,

My previous post answers the question you asked given the data and the information you provide (not)!
You will see that my new assignment ends with a nearly identical piece of SQL...

Your new assignment is much better but I had to do a lot of work to use it.

If you see how I built the answer, you will see how much more easy, faster
and the most convenient for yourself and all of the people involved, it would be if you provided data in the form
I reformatted your in (note the issue of internationalization with the, in the field of lat/long).

-- Construct table given what we know about its structure from the data
--
create table veiculo_obs (
  veiculo  number(10),
  datahora date,
  geom     sdo_geometry
);

-- Now let's add in the forum member's data
--
insert all
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 16:02:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-44.0505555555556,-19.9616666666667,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 16:04:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-44.0616666666667,-19.9561111111111,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 16:06:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-44.0633333333333,-19.95,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 16:08:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-44.0638888888889,-19.95,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 16:10:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-44.0641666666667,-19.95,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 16:16:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-44.0641666666667,-19.95,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 16:18:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-44.0638888888889,-19.95,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 16:19:13','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-44.0641666666667,-19.95,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 16:22:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-44.0625,-19.9519444444444,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 16:24:15','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-44.0625,-19.9519444444444,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 16:24:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-44.0630555555556,-19.9519444444444,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 16:26:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-44.0630555555556,-19.9586111111111,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 16:28:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-44.0652777777778,-19.9580555555556,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 16:30:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-44.0488888888889,-19.9630555555556,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 16:32:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-44.0277777777778,-19.9569444444444,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 16:34:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-44.0113888888889,-19.9491666666667,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 16:36:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-44.0077777777778,-19.9475,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 16:38:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-44.0075,-19.9416666666667,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 16:40:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-44.0075,-19.9375,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 16:42:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-44.0063888888889,-19.9280555555556,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 16:44:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-43.9941666666667,-19.915,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 16:46:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-43.9825,-19.9008333333333,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 16:48:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-43.9672222222222,-19.8855555555556,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 16:50:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-43.9502777777778,-19.8761111111111,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 16:52:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-43.9338888888889,-19.8672222222222,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 16:54:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-43.9275,-19.8719444444444,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 16:56:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-43.9283333333333,-19.8752777777778,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 16:58:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-43.9297222222222,-19.8788888888889,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 17:00:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-43.93,-19.8786111111111,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 17:02:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-43.9291666666667,-19.8777777777778,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 17:04:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-43.9275,-19.8813888888889,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 17:06:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-43.9275,-19.8813888888889,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 17:08:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-43.9272222222222,-19.8813888888889,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 17:10:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-43.9275,-19.8813888888889,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 17:12:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-43.9272222222222,-19.8813888888889,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 17:14:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-43.9275,-19.8816666666667,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 17:16:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-43.9275,-19.8813888888889,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 17:18:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-43.9275,-19.8813888888889,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 17:20:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-43.9275,-19.8813888888889,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 17:22:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-43.9275,-19.8813888888889,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 17:24:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-43.9275,-19.8816666666667,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 17:26:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-43.9275,-19.8813888888889,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 17:28:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-43.9275,-19.8813888888889,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 17:30:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-43.9275,-19.8813888888889,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 17:32:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-43.9275,-19.8813888888889,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 17:34:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-43.9275,-19.8813888888889,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 17:36:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-43.9275,-19.8813888888889,NULL),NULL,NULL))
into veiculo_obs (veiculo,datahora,geom) values (541870,to_date('23/05/2012 17:38:44','DD/MM/YYYY HH24:MI:SS'),SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-43.9275,-19.8813888888889,NULL),NULL,NULL))
select * from dual;
commit;

-- Here is my solution
--
select b.veiculo,
       to_char(b.datahora,'DD/MM/YYYY HH24:MI:SS') as start_datahora,
       to_char(c.datahora,'DD/MM/YYYY HH24:MI:SS') as end_datahora,
       round(sdo_geom.sdo_distance(b.geom,c.geom,0.005,'unit=M'),2) as dist,
       round(sum(sdo_geom.sdo_distance(b.geom,c.geom,0.005,'unit=M')) over (partition by c.veiculo order by c.datahora),2) as cdist
  from (select a.veiculo,
               a.datahora,
               lead(a.datahora,1) over (partition by a.veiculo order by a.datahora) as datahora2,
               a.geom
          from veiculo_obs a
       ) b,
       veiculo_obs c
 where b.datahora2 is not null
   and c.veiculo  = b.veiculo
   and c.datahora = b.datahora2;

-- Results
--
VEICULO START_DATAHORA      END_DATAHORA        DIST    CDIST
------- ------------------- ------------------- ------- -------
541870  23/05/2012 16:02:44 23/05/2012 16:04:44 1315.65 1315.65
541870  23/05/2012 16:04:44 23/05/2012 16:06:44 698.66  2014.3
541870  23/05/2012 16:06:44 23/05/2012 16:08:44 58.16   2072.46
541870  23/05/2012 16:08:44 23/05/2012 16:10:44 29.08   2101.54
541870  23/05/2012 16:10:44 23/05/2012 16:16:44 0       2101.54
541870  23/05/2012 16:16:44 23/05/2012 16:18:44 29.08   2130.62
541870  23/05/2012 16:18:44 23/05/2012 16:19:13 29.08   2159.69
541870  23/05/2012 16:19:13 23/05/2012 16:22:44 277.08  2436.77
541870  23/05/2012 16:22:44 23/05/2012 16:24:15 0       2436.77
541870  23/05/2012 16:24:15 23/05/2012 16:24:44 58.15   2494.93
541870  23/05/2012 16:24:44 23/05/2012 16:26:44 738.02  3232.95
541870  23/05/2012 16:26:44 23/05/2012 16:28:44 240.6   3473.56
541870  23/05/2012 16:28:44 23/05/2012 16:30:44 1802.57 5276.12
541870  23/05/2012 16:30:44 23/05/2012 16:32:44 2311.01 7587.14
541870  23/05/2012 16:32:44 23/05/2012 16:34:44 1919.51 9506.64
541870  23/05/2012 16:34:44 23/05/2012 16:36:44 420.64  9927.28
541870  23/05/2012 16:36:44 23/05/2012 16:38:44 646.43  10573.71
541870  23/05/2012 16:38:44 23/05/2012 16:40:44 461.26  11034.97
541870  23/05/2012 16:40:44 23/05/2012 16:42:44 1051.98 12086.96
541870  23/05/2012 16:42:44 23/05/2012 16:44:44 1930.38 14017.34
541870  23/05/2012 16:44:44 23/05/2012 16:46:44 1987.92 16005.26
541870  23/05/2012 16:46:44 23/05/2012 16:48:44 2328.09 18333.35
541870  23/05/2012 16:48:44 23/05/2012 16:50:44 2059.62 20392.97
541870  23/05/2012 16:50:44 23/05/2012 16:52:44 1978.5  22371.47
541870  23/05/2012 16:52:44 23/05/2012 16:54:44 849.12  23220.6
541870  23/05/2012 16:54:44 23/05/2012 16:56:44 379.19  23599.78
541870  23/05/2012 16:56:44 23/05/2012 16:58:44 425.4   24025.18
541870  23/05/2012 16:58:44 23/05/2012 17:00:44 42.33   24067.52
541870  23/05/2012 17:00:44 23/05/2012 17:02:44 126.99  24194.51
541870  23/05/2012 17:02:44 23/05/2012 17:04:44 436.2   24630.71
541870  23/05/2012 17:04:44 23/05/2012 17:06:44 0       24630.71
541870  23/05/2012 17:06:44 23/05/2012 17:08:44 29.09   24659.8
541870  23/05/2012 17:08:44 23/05/2012 17:10:44 29.09   24688.89
541870  23/05/2012 17:10:44 23/05/2012 17:12:44 29.09   24717.98
541870  23/05/2012 17:12:44 23/05/2012 17:14:44 42.33   24760.31
541870  23/05/2012 17:14:44 23/05/2012 17:16:44 30.75   24791.06
541870  23/05/2012 17:16:44 23/05/2012 17:18:44 0       24791.06
541870  23/05/2012 17:18:44 23/05/2012 17:20:44 0       24791.06
541870  23/05/2012 17:20:44 23/05/2012 17:22:44 0       24791.06
541870  23/05/2012 17:22:44 23/05/2012 17:24:44 30.75   24821.81
541870  23/05/2012 17:24:44 23/05/2012 17:26:44 30.75   24852.57
541870  23/05/2012 17:26:44 23/05/2012 17:28:44 0       24852.57
541870  23/05/2012 17:28:44 23/05/2012 17:30:44 0       24852.57
541870  23/05/2012 17:30:44 23/05/2012 17:32:44 0       24852.57
541870  23/05/2012 17:32:44 23/05/2012 17:34:44 0       24852.57
541870  23/05/2012 17:34:44 23/05/2012 17:36:44 0       24852.57
541870  23/05/2012 17:36:44 23/05/2012 17:38:44 0       24852.57               

 47 rows selected 

Note 1: cdist is the DISTANCE EARNED
Note 2: You have several observations at the same point but different time (vehicle stopped?)

It looks like a solution/answer for me! Shows please.

concerning
Simon

Tags: Database

Similar Questions

  • Microsoft maps for GPS tracking devices

    Microsoft maps for GPS tracking devices. When you update maps for vehicle LANDSEAAIR location services. The current map is 1 year old?

    I bought a VICTORIA, tracking device.  The maps are provided by Microsoft.  The current map view is at least 1 year old.  When they are to day?

    I looked for a good time on the Microsoft site and ouldn can't even find the old map from 1 year to download.  I don't know when or if they update the cards (or what cards they use).  I couldn't find references to their own map products (such as Microsoft Streets and maps), but nothing for basting device enjoys or LANDSEAAIR.

    O suggest you try to contact Microsoft (well sponored and managed on the basis of Microsoft - this isn't really a Microsoft Forum - in the management, nobody comes here who can answer a question like that).  Try contacing Microsoft using one of the options here: http://support.microsoft.com/contactus/cu_inventory?ws=support.  I'm not sure which is best - perhaps a last on the right where he manages ' Con't find the information you need. "

    I hope this helps (although I really didn't anwer your question).

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Application packed - Expertise Tracker Trigger error

    Good people good day:

    I recently installed a packaged application titled "Expertise Tracker" {Application Express 4.2.1.00.08}. It is an EXCELLENT application that I would use. However, one of the triggers seems to have an error. The trigger in question is:

    BIU_EBA_SME_CONTACTS and is composed as follows:

    create or replace
    biu_eba_sme_contacts relaxation
    before insert or update on EBA_SME_CONTACTS
    for each line
    declare
    OV varchar2 (4000);
    NV varchar2 (4000);
    Start
    If the insertion
    If: NEW.ID is null
    then select to_number (sys_guid (), 'FBI')
    in: NEW.ID
    Double;
    end if;
    : NEW. CREATED: = LOCALTIMESTAMP;
    : NEW. CREATED_BY: = nvl (v ('APP_USER'), USER);
    *: New.row_key: = eba_sme_fw.compress_int (eba_sme_rowkey_seq.nextval); *
    end if;

    If the insert or update can
    : NEW. SETTING A DAY: = LOCALTIMESTAMP;
    : NEW. UPDATED_BY: = nvl (v ('APP_USER'), USER);
    end if;
    -Photo postings
    -Size (limit of 200 KB)
    If the update and: NEW. PHOTO_NAME is not null and (dbms_lob.getlength(:NEW.) nvl (PHOTO_BLOB), 0) > 204800 then
    raise_application_error (-20000, ' the size of the uploaded photo has over 200 KB.) Thanks to upload a smaller image. ") ;
    end if;
    -Mimetype (must be the picture)
    If (insert or update) and: new.photo_name is not null and not
    (
    NVL (:New.photo_mimetype, 'NULL') like '% of the image.
    or
    : new.photo_name as '%.jpg '.
    or
    : new.photo_name as '%.jpeg '.
    or
    : new.photo_name as '%.png '.
    or
    : new.photo_name as '%.gif '.
    or
    : new.photo_name as '%.bmp '.
    or
    : new.photo_name as '%.tif '.
    or
    : new.photo_name as '%.tiff '.
    ) then
    raise_application_error (-20000, ' the uploaded file was not an image.) Thank you to upload an image file. ") ;
    end if;
    end;

    Oracle triggers an error ' •trigger ' SCHEME. " ' BIU_EBA_SME_CONTACTS' is not valid and does not re-validation ". After looking into the trigger and you try to run the script, I get the following error * "Error (13.69): PLS-00357: Table, view or sequence reference ' EBA_SME_ROWKEY_SEQ.» ' NEXTVAL' not allowed in this context. *
    It seems as if line 17 is written by mistake. How can I fix?

    Thank you for your help.

    Published by: AquaNX4 on March 16, 2013 05:30

    The pleasures of learning PL/SQL-understand-you what the question was?

    Initially, this syntax is allowed in 11g

    my_variable := my_sequence.nextval;
    

    I was trying to describe some simple pseudocode for you, that you have tried incorporating - but it is essentially the code that was added.

    declare
      l_key number;
    begin
      select my_sequence.nextval
      into l_key
      from dual;
      my_variable := l_key;
    end;
    

    As described here (but this does not improve performance)
    http://docs.Oracle.com/CD/B28359_01/server.111/B28279/Chapter1.htm#autoId77

    Scott

  • Why do I receive alerts in iPhone mirror on my watch for an application for which I turned off mirroring alerts iPhone?

    Why do I receive alerts in iPhone mirror on my watch for an application for which I turned off mirroring alerts iPhone?

    Watch OS 3.0

    iOS 10.0.1

    Hello

    You should find that restart both devices solves this problem.

    The two put together, and then restart your iPhone first:

  • I could not update or install applications for weeks, so I disconnected my Apple ID and rebooted the phone but now I can't reconnect! The error is: unable to connect to the iTunes Store. I should w8 for ios10 and hope that it will be fixed by the new ios?

    I could not update or install applications for weeks, so I disconnected my Apple ID and rebooted the phone but now I can't reconnect! The error is: unable to connect to the iTunes Store. I should w8 for ios10 and hope that it will be fixed by the new ios? Cause don't want to reset my phone.

    You have tried: If you can not connect to the iTunes Store - Apple Support ?

    And I tried to do a soft-reset/reboot the phone?

  • Can I allow an application for one person on my family share but does not allow for each other?

    Can I allow an application for one person on my family share but does not allow for each other?

    You can't delegate who has access and who doesn't have access to the applications. You can lock devices with age restrictions, so only items appropriate age are at their disposal. Or you can hide your list purchases. The purchased app can then be displayed when you want to share with someone else, then be hidden again once the application is downloaded on their device.

    I hope this helps.

    SI10

  • How to disable notification "e-mail % has already been added as an application for mailto links"? Its popping up whenever I connect.

    I am constantly this message and it quite disturbing. Please, help me to turn it off.
    What I found in Google is this link, and there is no answer.

    http://StackOverflow.com/questions/8415394/how-was-add-application-for-mailto-links-enabled-in-Firefox

    Message is:
    E-mail % has already been added as an application for mailto links

    Hello

    Sorry for this problem, it is very annoying sound! This occurs whenever you try to click on a link of e-mail on the Web sites, or is it at other times? It seems that there is a problem with the default mail client specified in Firefox. The first think you should do is verify that the e-mail client that you are using is indeed defined as the default system. Depending on the client you use, this could be done in a number of different ways.

    The other thing you could try is to reset Firefox, which restores the common Firefox settings that can cause problems. Don't worry, you won't lose your bookmarks saved, passwords and other important things, but it will restore all the other settings, leaving you with a fresh start.

    If you think something would open to try, here are the instructions: Refresh Firefox – reset the parameters and modules

    Please let me know if this solves the problem, so I can check this off my list of todo - or please let me know if you need help, and I'll have to do this new sort it out for you!

    Thank you
    David

  • OMEN of HP for laptop - 15-5001na: I need all applications for an omen of HP

    Can I have applications for my laptop (HP Omen) please. I restarted my laptop which means that I deleted my apps and I tried to install all my apps but I unfortunately couldn't find the Apps that I got when I started to use my laptop for example, I could not find the application of control of harbinger of HP and one more for the NVIDIA graphics card and I think that something else : This app has all the applications that I had at the beginning. Please answer as soon as possible. THX.

    Hello

    First of all, make sure that you have installed the utility HP System event on the link below.

    http://ftp.HP.com/pub/SoftPaq/sp73001-73500/sp73248.exe

    Then, install the following:

    Omen Ops Central.

    Control of omen.

    NVIDIA software.

    You can also download the Performance Advisor tool from the link on the next page.

    HP Performance Advisor.

    Find other software/drivers on your Product Page.

    Kind regards

    DP - K

  • What are the original applications for the iPhone 6 s. I had to sync to my iPhone 3g to my new 6s in order to maintain my contacts. can someone please send screenshots of an iPhone running 6s with applications shown. I need pages outside the home page.

    What are the original applications for the iPhone 6 s. I had to sync to my iPhone 3g to my new 6s in order to maintain my contacts. Unfortunately, I lost a lot of these new applications. can someone please send screenshots of an iPhone running 6s with applications shown. I need pages other than the home page. Thank you!

    'Stock' apps are part of the installation of iOS and cannot be removed, so there is nothing to verify or prove.

    When you move to a new phone, just need restoring your old backup phone and compatible applications will be synchronized to the new.

  • Facebook application for Toshiba Journ.E touch

    Hi guys

    (1) my Toshiba - DAY tablet. E TOUCH doesn't have the application for facebook of begging, when I bought it.
    I try to find the virtual store and I have noy could find it.
    Can you please help me where I can find this application?

    (2) what video format (wma etc.) should I use to see my videos in full screen of analysis, because I see them ever smaller.

    Thank you

    Takis

    (1) the question is: this Facebook application is available in store?
    If you can't find it in the online store, then it is not exist.

    (2) Journ.E touch supports a display resolution of 800 x 600 pix and AVI, Mpeg4, 3GP, FLV, WMV video formats are supported

  • I want to learn to make applications for iOs. Where should I start?

    Hello. I want to learn to make applications for iOs. Where should I start?

    The following may help: https://developer.apple.com/library/ios/referencelibrary/GettingStarted/Developi OSAppsSwift /

  • AT300 - need driver USB to develop an application for Android

    Hello

    I'm a new Tablet AT300.
    I'm developing an application for Android in Eclipse.

    I want to debug on it but I need a usb driver as explained here:
    http://developer.Android.com/tools/Extras/OEM-USB.html

    But I found Toshiba on other tablets like the Archos, I use to download on their website.
    Could you tell me where I can find the driver.

    Kind regards

    VPM

    If you are making reference to the use of 'Android Debigging Mode' that light, then using the standard driver of Google in the Android SDK should work.

    But with that you need to add the device ID in the INF for her.

  • Y at - it a safe application for concatenating several files into one .rtf?

    Y at - it a safe application for concatenating several files into one .rtf?

    Why do you do this?

    Is it arril (3D image files) or .rtf (Rich Text Format) files?

  • Messaging applications for iPod Touch 2 g?

    I have an iPod Touch 2nd generation, 4.2.1. I would like to message people, but all of the apps I've tried either are not compatible with the iPod Touch or need a higher iOS updated. I connected my device to iTunes and tried to update, but it seems that I'm already on the last update for the 2nd generation. Any ideas?

    Old Apps

    applications for ios 4.2.1: Apple support communities

    Apple Club

    HT4972 Touch 4.2.1 game applications: Apple Support communities

    Apps for 4.2.1 (also works for 3.1.3)

    Tip - find 4.2.1 apps that work on a...: Apple Support communities

    To more easily find compatible applications:

    iOSSearch - Search the iTunes store for compatible applications.

    Apple Club - filter by version of iOS iPhone apps.

    From when iOS 7 was released, Apple can now download the latest compatible version of some applications (iOS 4.2.1 and later only)

    Install the latest compatible version of an application on a previous version of iOS or OS X

    App Store: Download the old Versions applications

    You must first download the not compatible version on your computer. Then when you try to buy the version on your iPod you will be offered a version compatible If there.

  • I can't download the application for mac windows phone. The message: you are interested in the content is now available in the store. How can I synchronize microsoft limia and macbook?

    I can't download the application for mac windows phone. The message: you are interested in the content is now available in the store. How can I synchronize microsoft limia and macbook?

    Contact Ms and ask them.  Only they dictate where their application is made available.

Maybe you are looking for

  • No control are completely

    I run Windows 7 64 bit. I was about to install a new machine and, in the process, done something to cause Firefox to not display much of the formatting in the pages I visit. The missing information includes background color and contours and colors, t

  • Use of the utilities of the Toolkit in scripts

    I would like to automate for administrators of windows and want to use the windows resource kit utilities in my script. Microsoft approves the use of the resource kit utilities in the scripts that are used on multiple servers. Is there any need or ag

  • Windows xp does not recognize the nexus s 4g phone as an mp3 player

    My new Nexus s android phone is recognized as a material in my top of desktop with windows XP

  • several errors - error: 0x8000006a, VB Script, run-time error error line 10

    original title: help How to fix errors on regesty, I keep getting error messages, progam does not not about everything I opened and running to slow down. Scan damaged object errors error: 0x8000006a VB Script executed error error line 10 O Code S: 80

  • Download on the Microsoft site for Windows 7 installation disc.

    As a first step please check the product key. I typed in the figure of 25 key product exactly as described on the Microsoft Certificate, attached to my office when I bought it new. The o/s was preinstalled by the manufacturer Fujitsu-Siemens. Microso