The use of group with into clause

Oracle forms 6i

Hai

While using a group function if is it possible to use would be to would adopt the how many times a record created one employee and to fill the number not in a variable

I tried like this, an error has occurred

SELECT count (*), barcode, bardate in temp_attendance cnt
where AT_DATE = bardate of bardate group, barcode;

Some allow you to set a good example

Thanks and greetings

Srikkanth.M

SELECT count (*), barcode, bardate in temp_attendance cnt
where AT_DATE = bardate of bardate group, barcode;

You choose 3 columns, but have only a returnitem, then how would that work?

select count(*),barcode,bardate into var1, var2, var3 from temp_attendance
where AT_DATE = bardate group by bardate,barcode;

But I guess you have more than one bardate for each barcode for a SELECT INTO will cause an exception-TOO_MANY_ROWS, so you could go with a slider-loop, as

FOR rec in (select count(*),barcode,bardate into var1, var2, var3 from temp_attendance
             where AT_DATE = bardate group by bardate,barcode) LOOP
  --do something with each record
END LOOP;

Tags: Oracle Development

Similar Questions

  • Total is not allowed in the USING of a FILTER operator clause.

    Hi I have expression gives error as 'Aggregate is not permitted in the USING of a FILTER operator clause.'

    FILTER ("scope of the opportunity'". "") Receipts closed"with the HELP of (possibility. "" Close Date "BETWEEN TIMESTAMPADD (SQL_TSI_MONTH,-12, RMAX (CAST"(Custom"objects 1. DATE_26 AS DATE))) AND TIMESTAMPADD (SQL_TSI_MONTH,-12, RMIN (CAST ("custom object 1". DATE_26 AS DATE)))

    I'm trying to filter the income for the previous year, and the year period specified in the instructions. Date ob custom 1.

    for example.
    at the command prompt, I chose period as 03/22/2010-04/22/2010.
    In this rev column should filter only for the period 03/22/2009-04/22/2009.
    Here I am capture Min and Max date and treat it as the interval to filter.


    No work around for this. Pointers.

    You do not need to write the case when, in the design of your prompt. Try to make as I mention below. I hope that it will work.
    In the quick design just choose the Date field and change sound Fx to CAST as the DATE. Define the operator as "is equal to or is in" control in the "calendar", default report and now set variable as variable presentation and name it as pvStartDate.
    Like wise rise to any field of any table time and cast still to this day. Follow the above procedure and name it as pvEndDate.
    Now in your design report for the 'scope of the chance. " "" Enclosed field recipes "that you have, change sound Fx as BOX WHEN AN (Opty.Close Date) = (YEAR (@pvStartDate) - 1) AND YEAR (Opty.Close Date) = (YEAR (@pvEndDate) - 1) AND MONTH (Date of Opty.Close) > = MONTH (Date of Opty.Close) AND of MONTH <= month(@pvenddate)="" and="" day(opty.close="" date)="">(@pvStartDate) = DAY (@pvStartDate) AND DAY (Opty.Close Date)<= day(@pvenddate)="" then="" revenue="" else="" null="">

    The CASE above WHEN should retrieve only the records of revenue including the body close date coming from the previous year to one chosen by guests and the order of the selected day/month.

  • What is the last recommendation on the use of Aperture with El Capitan system software?

    What is the last recommendation on the use of Aperture with El Capitan system software? I'm sure to BONE 10.11.x since I was a big user of Aperture?

    TIA,

    If you need a feature that has opening but Photos doesn't work, click here and follow the instructions.

    (141652)

  • I have a power shot sx HS 40 &amp; need information about the use of filters with this camera? Thank you ~.

    I have a power shot sx 40 & would like information on the use of filters with this device?

    Thank you ~.

    Hi Rainlily,

    You will need the # model Canon adapter filter f-DC67A to use filters on this camera, which costs about $25.00. Bower makes one for about $9.00 available in B & H and Bower products work well with the Canon. This adapter uses 67 mm filters. If you have not yet all filters, I would recommend Hoya or Tiffen filters as they are of high quality at reasonable prices. Do not get the expensive filters because in general they can cause color casts that may be difficult to view the process on. Have fun!

    Steve M.

  • The use of devices with Windows 8

    Hi all

    I saw many problems for people with questions about the use of Bluetooth with Windows 8 devices, especially after the upgrade.

    Take a look at this document, which covers:

    I hope that this document provides assistance.

    Good luck!

  • ERROR - 1051414 - cannot set the role of group with shared services [30:1101:JNDI error] error.

    Hi all

    I tried provide access to filter the group in both SSP and thru Maxl command but still get the error below. Any experience of this problem? If Yes, please let me know how you solved this problem.


    ERROR - 1051414 - cannot set the role of group with shared services [30:1101:JNDI error] error.


    Thanks in advance!

    Krishna

    Read the support document that I posted the link, prior to changes for openldap ensure you that it is saved.

  • The use of SSL with IE via httpService

    Hello

    I read the Wired article http://weblogs.macromedia.com/lin/archives/flex/security/index.cfm on the use of SSL with THE de Lin Lin, however I am confused as how to implement the changes that she mentions. Basically, she mentioned a couple of the reasons why the httpServices would not be able to load data in the event of connection via SSL. I've read about the Adobe TechNote at http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=fdc7b5c & SSP = rss_flashplayer_fdc7b5 c , but it was not clear either.

    1. How can I change the settings of the server have the correct header information?
    2. can I change something in the compiler Flex for SSL and IE?

    It works perfectly in FireFox and Safari, and retrieves the data without any problem. All ideas, information would be appreciated.

    Re 2) in my opinion, there is nothing that you can do on the side of Flex, there seems to be a problem with IE passing data to the FlashPlayer.

    (topic 1), depends on how you generate data on the server. We use Java servlets and the solution is to _not_ set non-cache on the answer when
    dealing with IE.

    R.

  • Need help with the use of GROUP BY in a select statement UNION

    I am writing a query that allows to combine a legacy system that interfaces it is trial balance in the Oracle of R12 GL.  It was only meant to continue for a month or two, but it is likely to continue for 6 months. Please Auditors Auditors, to provide proof that the system is in balance with Oracle GL.  By my verification requirements, I need to make a full reconciliation from the month of conversion (life in the amount of date), then PTD for each month. 

    The legacy account is placed in attribute1 on the lines of the journals. Uses of the old system balancing segments that are also used on the platform in Oracle for this division, i.e., Procure-to-Pay has been cut over Oracle, but not everything yet.  So, I can't count on the GL_BALANCES table for the info, I get from the JE_LINES.

    My problem is not the only request for the month.  But when I try to combine the queries with a Union, to aggregation of each measurement period in its own column, the group is necessary after each selected instruction rather than allowing me to put at the end of the UNION.  (When I put the group by at the end of the UNION, I have the 'not one group' function)

    So I get duplicate for each month of discrete measure accounts. When I duplicate in my Oracle database accounts, I can't count on the VLOOKUP function in excel to exactly match an account of inheritance.  I know there are more sophisticated ways to provide this output, but I'm hoping to get this info in a simple query.

    Thank you in advance for any advice you can provide

    Example of data output (the goal for me is to get the two rows to appear as one based on common points on the LEGACY_ACCOUNT and the ORACLE ACCOUNT

    The LEGACY ACCOUNT ORACLE ACCOUNT JUN_15 JUL_15 AUG_15 SEP_15 OCT_15 NOV_15 DEC_15
    010000001109000003584190-600552-1001-100231-000-0000-0000-000000-242961.040000
    010000001109000003584190-600552-1001-100231-000-0000-0000-00000192588.0200000

    Here is a simplified version of my code that returns both records.  In my research, I had found a number of conversations where it has been shown that the group could be put at the end of the select statement.  However, when I remove the group from the first select statement I get SQL error: ORA-00937: not a function of simple-group

    Select

    l.attribute1 LEGACY_ACCOUNT,

    C.SEGMENT1: '-' | C.SEGMENT2: '-' | C.SEGMENT3: '-' | C.SEGMENT4: '-' | C.SEGMENT5: '-' | C.SEGMENT6: '-' | C.SEGMENT7: '-' | COMBINATION OF C.SEGMENT8,

    JUN_15 TO_NUMBER('0').

    JUL_15, sum (NVL(l.accounted_dr,0.00)-NVL(l.accounted_cr,0.00)),

    TO_NUMBER('0') AUG_15.

    TO_NUMBER('0') SEP_15.

    TO_NUMBER('0') OCT_15.

    TO_NUMBER('0') NOV_15.

    DEC_15 TO_NUMBER('0')

    Of

    b GL.gl_je_batches,

    GL.gl_je_headers h,

    GL.gl_je_lines l,

    GL.gl_code_combinations c,

    GL.gl_je_sources_tl j

    where b.je_batch_id = h.je_batch_id

    and h.je_header_id = l.je_header_id

    and l.code_combination_id = c.code_combination_id

    and h.je_source = j.je_source_name

    and c.segment1 ('190 ', '191', '192', '193', '194', ' 195 ', ' 196',' 197', ' 198 ', ' 199',)

    ('200 ', '203', ' 205', '206 ', '330', '331', '332',' 333 ', ' 334',' 335', ' 336 ', ' 337')

    and j.language = 'en '.

    and h.PERIOD_NAME ("JUL-15'")

    Group

    l.attribute1,

    C.SEGMENT1: '-' | C.SEGMENT2: '-' | C.SEGMENT3: '-' | C.SEGMENT4: '-' | C.SEGMENT5: '-' | C.SEGMENT6: '-' | C.SEGMENT7: '-' | C.SEGMENT8

    UNION

    Select

    l.attribute1 LEGACY_ACCOUNT,

    C.SEGMENT1: '-' | C.SEGMENT2: '-' | C.SEGMENT3: '-' | C.SEGMENT4: '-' | C.SEGMENT5: '-' | C.SEGMENT6: '-' | C.SEGMENT7: '-' | COMBINATION OF C.SEGMENT8,

    JUN_15 TO_NUMBER('0').

    TO_NUMBER('0') JUL_15.

    AUG_15, sum (NVL(l.accounted_dr,0.00)-NVL(l.accounted_cr,0.00)),

    TO_NUMBER('0') SEP_15.

    TO_NUMBER('0') OCT_15.

    TO_NUMBER('0') NOV_15.

    DEC_15 TO_NUMBER('0')

    Of

    b GL.gl_je_batches,

    GL.gl_je_headers h,

    GL.gl_je_lines l,

    GL.gl_code_combinations c,

    GL.gl_je_sources_tl j

    where b.je_batch_id = h.je_batch_id

    and h.je_header_id = l.je_header_id

    and l.code_combination_id = c.code_combination_id

    and h.je_source = j.je_source_name

    and c.segment1 ('190 ', '191', '192', '193', '194', ' 195 ', ' 196',' 197', ' 198 ', ' 199',)

    ('200 ', '203', ' 205', '206 ', '330', '331', '332',' 333 ', ' 334',' 335', ' 336 ', ' 337')

    and j.language = 'en '.

    and h.PERIOD_NAME ("AUG-15'")

    Group

    l.attribute1,

    C.SEGMENT1: '-' | C.SEGMENT2: '-' | C.SEGMENT3: '-' | C.SEGMENT4: '-' | C.SEGMENT5: '-' | C.SEGMENT6: '-' | C.SEGMENT7: '-' | C.SEGMENT8

    order by 1

    Is there a good reason to make this period both as a series of trade unions?  This looks like a classic pivot for me query.  This will make a way through the tables and should get the desired results.

    Select l.attribute1 legacy_account,

    c.Segment1: '-' | c.Segment2: '-' | c.segment3: '-' | c.segment4: '-' |

    c.segment5: '-' | c.segment6: '-' | c.segment7: '-' | combination of c.segment8,

    sum (case when h.period_name = 'JUN-15'

    then nvl(l.accounted_dr,0.00)-nvl(l.accounted_cr,0.00)

    otherwise 0 end) jun_15,.

    sum (case when h.period_name = 'JUL-15'

    then nvl(l.accounted_dr,0.00)-nvl(l.accounted_cr,0.00)

    otherwise 0 end) jul_15,.

    - and similar to DEC - 15

    GL.gl_je_batches b, gl.gl_je_headers h, gl.gl_je_lines l.

    GL.gl_code_combinations c, gl.gl_je_sources_tl j

    where b.je_batch_id = h.je_batch_id

    and h.je_header_id = l.je_header_id

    and l.code_combination_id = c.code_combination_id

    and h.je_source = j.je_source_name

    and c.segment1 ('190', '191', '192', '193', '194', '195',' 196', ' 197',

    '198 ', '199', '200', '203', '205' ', 206',' 330 ', ' 331',

    "332 ', '333', '334', '335',' 336 ', ' 337')

    and j.language = 'en '.

    and h.period_name (' Jun-15', ' 15 JUL', ' AUG-15'... "" ")

    L.attribute1 group,

    c.Segment1: '-' | c.Segment2: '-' | c.segment3: '-' |

    c.segment4: '-' | c.segment5: '-' | c.segment6: '-' |

    c.segment7: '-' | c.segment8

    If you're on the 11G version of the database, you might want to look at the PIVOT keyword that will do the same thing in a more concise expression.

    John

  • without the use of grouping sets

    Dear expert;


    I need help in the creation of this report without the use of the grouping sets. Any help is appreciated

    Week                                                          hours

    John                                                            24

    Tim                                                             1

    Mark                                                           16

    Adam                                                          10

    Subtotal (30/06/2013-06/07/2013) 66

    Adam                                                           7

    Subtotal (07/07/2013-08/07/2013) 7

    Month Total                                                   73

    Any help is appreciated. Thank you.

    see examples of data below. Thank you

    create table info_mech
    (
    
    req_name varchar(1000),
    beginwork_date date,
    endwork_date date
    );
    
    insert into info_mech values ('John', to_date('07/01/2013 08:00:00', 'MM-DD-YYYY HH24:MI:SS'), to_date('07/01/2013 15:00:00', 'MM-DD-YYYY HH24:MI:SS'));
    
    insert into info_mech values ('John', to_date('07/02/2013 10:00:00', 'MM-DD-YYYY HH24:MI:SS'), to_date('07/02/2013 19:00:00', 'MM-DD-YYYY HH24:MI:SS'));
    
    insert into info_mech values ('John', to_date('07/05/2013 11:00:00', 'MM-DD-YYYY HH24:MI:SS'), to_date('07/05/2013 21:00:00', 'MM-DD-YYYY HH24:MI:SS'));
    
    insert into info_mech values ('Tim', to_date('07/02/2013 08:00:00', 'MM-DD-YYYY HH24:MI:SS'), to_date('07/02/2013 15:00:00', 'MM-DD-YYYY HH24:MI:SS'));
    
    insert into info_mech values ('Tim', to_date('07/04/2013 09:00:00', 'MM-DD-YYYY HH24:MI:SS'), to_date('07/04/2013 18:00:00', 'MM-DD-YYYY HH24:MI:SS'));
    
    
    insert into info_mech values ('Mark', to_date('07/01/2013 08:00:00', 'MM-DD-YYYY HH24:MI:SS'), to_date('07/01/2013 15:00:00', 'MM-DD-YYYY HH24:MI:SS'));
    
    insert into info_mech values ('Mark', to_date('07/02/2013 10:00:00', 'MM-DD-YYYY HH24:MI:SS'), to_date('07/02/2013 19:00:00', 'MM-DD-YYYY HH24:MI:SS'));
    
    insert into info_mech values ('Adam', to_date('07/05/2013 11:00:00', 'MM-DD-YYYY HH24:MI:SS'), to_date('07/05/2013 21:00:00', 'MM-DD-YYYY HH24:MI:SS'));
    
    insert into info_mech values ('Adam', to_date('07/08/2013 08:00:00', 'MM-DD-YYYY HH24:MI:SS'), to_date('07/05/2013 15:00:00', 'MM-DD-YYYY HH24:MI:SS'));
    
    
    
    
    

    Hello

    It's a good start.  Is this really what you want to GROUP BY?

    Group of (next_day (beginwork_date, 'Sunday') - 7 - next_day (beginwork_date, "Saturday))

    Looks like always, which evaluates to-6 or - 13, according to was looking for beginwork_date is a Saturday or not.  If you want something which returns a different value for each week?  I would like to use

    TRUNC (beginwork_date + 1, 'IW')

    which returns the Monday of the week even as beginwork_date.  (Always ISO weeks start on Mondays.  The 'magic number' 1 in the above expression reflects the fact that your startw week 1 day earlier, on Sunday.)

    UNION, you try will work.  Finally, you want 3 different levels of rollup, so eventually you will need a Union of 3 tracks, each with a GROUP BY clause to different.  Here's a different approach, which gets 3 copies of the same data and totals in a single GROUP BY:

    WITH cntr AS

    (

    SELECT LEVEL AS grouping_level

    OF the double

    CONNECT BY LEVEL<=>

    )

    unaggregated_data AS

    (

    SELECT THE CHECK BOX

    WHEN c.grouping_level<=>

    THEN TRUNC (i.beginwork_date + 1, 'IW')

    Week END AS

    CASE

    WHEN c.grouping_level = 1

    THEN i.req_name

    END AS req_name

    24 * (i.endwork_date - i.beginwork_date)

    As schedules

    c.grouping_level

    Info_mech I have

    CROSS JOIN cntr c

    WHERE i.beginwork_date > = DATE ' 01-07-2013'

    AND i.endwork_date<  date="">

    )

    SELECT CASE grouping_level

    WHEN 1

    THEN req_name

    WHEN 2

    THEN "subtotal (' |)" To_char (week - 1, ' MM/DD/YYYY' -)

    || To_char (week + 6, MM/DD/YYYY")')

    ANOTHER "Grand Total".

    END AS name_or_week

    The amount (in hours) AS total_hours

    Of unaggregated_data

    GROUP BY week

    grouping_level

    req_name

    ORDER a week

    grouping_level

    req_name

    ;

    This assumes that, on a given line of the table, beginwork_date is in the same week as endwork_date.  The sample data you posted include 1 row when this was not true:

    insert into info_mech values ('Adam', to_date (July 8, 2013 08:00 ',' ' DD-MM-YYYY HH24:MI:SS), to_date (July 5, 2013 15:00 ',' ' DD-MM-YYYY HH24:MI:SS));))

    Not only are the two dates in different weeks, but beginwork_date is later than endwork_date.  I assumed that was a typo and changed endwork_date to July 8.  With this change, the result I got is:

    NAME_OR_WEEK TOTAL_HOURS

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

    Adam                                          10

    John                                          26

    Mark                                          16

    Tim                                           16

    Subtotal (30/06/2013-07/07/2013) 68

    Adam                                           7

    Subtotal (07/07/2013-14/07/2013) 7

    Grand Total 75

    The last line is the total of all hours for all dates included.  In the query above, this means that the month of July 2013, because I've hardcoded the dates in the WHERE clause.  You can climatiqueLes WHERE clause for what you want, or omitted completely.

    Note how much more complicated the query above is that of the solution of GROUPING SETS below:

    WITH got_week AS

    (

    SELECT req_name

    TRUNC (beginwork_date + 1, 'IW') AS the week

    24 * (endwork_date - beginwork_date) AS hours

    Of info_mech

    WHERE beginwork_date > = DATE ' 01-07-2013'

    AND endwork_date<  date="">

    )

    SELECT THE CHECK BOX

    WHEN you GROUP (req_name) = 0

    THEN req_name

    WHEN you GROUP (week) = 0

    THEN "subtotal (' |)" To_char (week - 1, ' MM/DD/YYYY' -)

    || To_char (week + 6, MM/DD/YYYY")')

    ANOTHER "Grand Total".

    END AS name_or_week

    The amount (in hours) AS total_hours

    OF got_week

    GROUP BY GROUPING SETS ((semaine, req_name))

    (week)

    , ()

    )

    ORDER a week

    req_name

    ;

    GROUPING SETS will also be more effective.

  • The use of recovery with satellite Pro 300 disks?

    Hello
    I have a 300 satellite with recovery disc Pro, I want to give this to my daughter I copied all I need her and want to wipe it.
    would be very grateful if you could give me instructions step by step how use the recovery disc.

    Thank you

    To use the recovery disk is very simply.
    Just to follow up:

    -Start your laptop and press F12
    -When the boot menu appears recovery media in the optical disc drive
    -Choose the CD/DVD drive on the list and press ENTER
    -Follow the on-screen menu
    -There is nothing, you can choose or define. Just follow the menu and confirm with OK

    After the installation of recovery image let cell phone to complete the installation.
    Please note: recovery procedure will erase entire HARD disk and all data will be deleted. So, before you start installation save all your important data.

    All that s!

  • Question about the use of foil with HARD drive

    Hi all
    Please can someone tell me what a sheet of aluminum covering the hard drive for laptop for?
    I guessed that it's temperature.
    But some information I found says the opposite.

    "
    My Seagate hard drive hot enough during long extensions CD writing/Back Up...
    Everyone recommends the use
    the foil of Food Grade to dissipiate heat?
    In my experience, things hot wraped in paper Aluminium gets cooled quite quickly... »

    My old man was a problem of partition table, I got a new and reluctant to cover it with a sheet.

    What do you think about this?

    Sombatk

    Hello

    I have replaced several hard drives on some laptops but I have never used any further papers of aluminum and I have no problem with the temperature.
    In my opinion, it is not necessary.
    The cooling modules must be able to manage the temperature of the HARD drive.

  • The use of tables with void / vi

    Hello!

    I have a question about the correct method for the use of a Subvi to update an array of integers. How to pass the array to the Subvi, without creating a second table to the output (or what is returned)?

    It is for the calculation of the histogram data. Basically, I have a set of input values are evaluated to determine which bin location (array index) to increment the counter on. I then want to use the same Subvi to update table (let's call it "BinsIn", for the sake of discussion) and return to the main VI. Think in terms of textual programming I want to pass the array of reference, so I'm not wasting resources.

    I read a few posts that deal with using Ctl Refnum, but I don't know if that's what I want to do...

    Any help would be appreciated.

    Thank you

    Shaun

    Don't think in textual languages.  There is no difference in passing by reference and by value.  If the compiler determines that the input array can be reused as the output array, and then she'll do.  You can give him some advice that he should do by writing your code to perform operations "on the spot" (search for this term on this forum) and avoiding the functions requiring a copy the table as delete table.  Best thing to do is probably to write your code to make it work, then download it here so that other contributors can comment and help to make it more effective.

  • Confused about the use of accessors with classes.

    With a new assignment thought, it would be appropriate to increase the use of labview OO features. In my case, I'm trying to use a class to contain a bunch of different calculations. The calculations require multiple entries to finish so I built a control to take care of these data. My plan was to build separate methods for each calculation. This will allow to easily add new calculations and considering that many calculations depend on preliminary calculations seem to be an excellent opportunity to learn a new part of labview.

    My problem is to find an elegant way to complete this great control; I believe that I must write accessor vi to allow outside access to the objects. I don't know if there should be one vi for EACH parameter accessor, or if I can access these items in a cluster.

    I can only relate to the use of get / set in .NET and usually I would write one for each variable that I have access to. I'm not sure how to proceed in LabView. Any ideas would be great.

    I enclose a few images. One showing just a sumple calculation and one of my ctl. Still, my main question is what is the best way to populate the items in this list.

    -Chris

    Since there is no such thing in LVOOP as public members of class (and thank God / NOR) you must always provide accessors (getters/setters) to join the data members of the class outside of the classroom.

    Inside the method of class VI, there is no need for them since you can reach directly from the wire with bundle/unbundle (like photos).

    I've implemented a similar class that performs calculations and I chose to use the recursive calls to deal with the problem of some variables must be calculated before the others.

    I'm a member of the VI class called GetCalculatedVariable.vi which takes the name of the variable to calculate input (like typedefed enum).
    Inside of this VI have a structure dealing with a box for each variable that can be calculated.

    The inside of the box, I define the calculation, and if I ever need another variable, I here call GetCalculatedVariable.vi recursively.

    In addition, I also have a CalcBuffer so I don't have to call GetCalculatedVariable.vi more than once for each variable.

    The class also has a GetMeasuredVariable.vi which also uses the recursion in the same way, but works on my measurement files instead.

    The advantage is that my application code gets very clean because it contains only a single Subvi callto obtain and use any calculated variable.

    I also have a GetCalculatedVariables that takes an VariableNames array and returns an array of values.

    I hope this helps...

  • Advice on the use of APEX_JSON with a CLOB in the body as a string

    Hello all and thanks for any help in advance.

    I have the task of liaising with a 3rd party API via JSON to send information to our database.  First warning is the HOST for us is not and race so I have no way of properly this test until tomorrow, but I wanted to ask this question to try to overcome a potential problem.

    In the body of the JSON object, we must add a chunk of xml (already created/kept or can be created on the fly) and it must be validated on as a long string.  Now, this question is that the string can be up to 20000 characters long so when its processed is stored as a CLOB in the database (not made by me).

    Now my thoughts early to do this was to create a procedure allowing certain parameters get the relevant piece of data and xml stored as a CLOB.  Then and that's where I maybe need some tips, follow these steps.

    This host requires JSON in this format

    {

    'batchcode': 1234562,

    'XML string': 'THIS WILL BE a MASSIVE XML STRING',

    ""bounding ":" ",".

    "ID": "123456465",

    'field1 ':

    .

    .

    etc.

    }

    We currently have a few apex applications so I got a good look at the documentation and allows to generate the required using JSON:

    Thus to collect information of input parameters

    APEX_JSON. INITIALIZE_CLOB_OUTPUT;

    APEX_JSON. OPEN_OBJECT();

    APEX_JSON. WRITE ("batchcode," value from database");

    APEX_JSON. WRITE ("XML string ', our xml database that is stored as a CLOB string");

    APEX_JSON. WRITE (bounding "," value of database");

    APEX_JSON. WRITE ('ID', 'Value of database');

    .

    .

    .

    etc.

    APEX_JSON. CLOSE_OBJECT();

    Then validate using endpoint:

    APEX_WEB_SERVICE. () MAKE_REST_REQUEST

    p_url = > 'URL of the end point. "

    p_http_method = > 'MESSAGE ',.

    p_username = > API_USER,

    p_password = > API_KEY,.

    p_body = > apex_json.get_clob_output

    );

    Now assuming that my method is correct only the APEX_JSON. WRITING literally accept its entry as a type CLOB and he will be able to properly analyze or will it arrive at a mansion that will actually write the string itself?

    Edit I found that if I APEX_JSON. WRITE ("XML", "CLOB table column") that it exported the CLOB but not in the format I want.  This is due to the fact that my CLOB has characters like <>etc in II and the output is burning out in unicode, so for example <? XML version = "1.0" encoding = "UTF-8"? "> as stored in the object CLOB becomes \u003C?xml version=\"1.0\ ' encoding =------"UTF - 8\ '? \u003E\n in the output using APEX_JSON. To write.

    The only other way to do it, I think it is so divided in pieces as follows:

    SELECT ROWNUM as XML_PIECE_NO, TO_CHAR (SUBSTR (a.xmldoc, (ROWNUM-1) * 4000, 4000)) AS SECTION

    Of ast_xmldata one

    CONNECT (ROWNUM-1) * 4000 < = LENGTH (a.xmldoc)

    Then maybe concat in the JSON long xml string field.

    I hope I have explained what I want to do but if not please respond any help will be greatly appreciated.

    Concerning

    Post edited by: K4E

    EDIT I CAME FROM WITH a SOLUTION

    Post edited by: K4E - found solution 02/04/2016

    Thanks for the response of Christian, logical exit that way.

    Through some trial and error, I found a solution to my problem that seems effective enough without having to worry about unicode characters written.  There is seemingly a procedure without papers in the APEX_JSON package called apex_json.write_raw that does what it says.  All I had to do then was to use escape characters in my CLOB for things like "then I get a few good valid JSON in the format of the API, I work with love."

    Hope this helps someone else with the situation.

    K4E

  • NVIDIA GTX 970 will work for the use of CUDA with Adobe Premiere CC 2015?

    So it's my graphics card: https://www.amazon.com/gp/product/B00R3NK2LE/ref=oh_aui_detailpage_o05_s00?ie=UTF8 & psc = 1

    I don't think that I am currently using Nvidia CUDA with Adobe first CC 2015. My card is compatible with this feature?

    Also, if the answer is "Yes", when I install drivers Nvidia CUDA, I uncheck the display driver? Since I also use my rig for games, I want to make sure I'm not downgrading my display driver. Or is the necessary display CUDA driver?

    Thank you.

    It will work very well.

    You only need the CUDA for Mac pilot.  The normal display driver has everything you need for Windows.

Maybe you are looking for