Really a line-in?

I just bought a D630 and looking through the manual online, it does not mention the Mic as a component line socket snap as well. But, looking in Control Panel > Sound > recording tab it shows both a microphone input but also a line-in input.

Can someone please check if it is really a line-in input


Tags: Dell Laptop

Similar Questions

  • Lines dynamic height Blackberry

    Hello. I work with RichTextField inside TableRowManager Blackberry. I've just stuck with something. I want to get variable height for each line, but I just got height for each line.

    I've tried "setRowHeight (int arg0, int arg1)", but it gives an error because it is just valid for 'setRowHeight (int arg0).

    Is there an alternative to use a method like setRowHeight undocumented?

    Please give me help. Thank you

    Here is my code:

    public class ImageListField extends ListField implements ListFieldCallback {
        Vector rows;
        Vector satu;
        Vector dua;
        Vector tiga;
        Font font1;
        int totalHeight = 0;
        int fontHeight;
        TableRowManager row;
    
        public ImageListField(int indeks, Vector ayat) {
            rows = new Vector();
            satu = new Vector();
            dua = new Vector();
            tiga = new Vector();
    
            for(int i=0; i			 

    Two recommendations:

    (1) stop to develop using this level of JDE.  Any device released with that OS level can and should have been upgraded to OS 5.0.  You will find much better to work with OS 5.0.

    (2) stop using the JDE, develop using Eclipse.  You can import projects JDE.

    Back to your question, from memory, that some people have reported success limited using lines of variable height by using the method that you found undocumented, but there have been more than people who noted that it makes the ListField react badly especially scrolling.  So if you really need lines of variable height, then I recommend you plan to create a line with a HorizontalFieldManager.

    ListField is a great control to manage hundreds of rows of data, but that, to compromise, in this case with the line height.  If you have only a few rows to display, then you should get an adequate return with managers.

  • How to make SQL * more count the comment and blank line numbers?

    Hello

    Parameter
    Value of the parameter
    Oracle versionEnterprise Edition Release 11.2.0.1.0 - 64 bit
    OPERATING SYSTEMLinux Fedora Core 17 (X86_64)

    I would like to know, is it possible to force SQL * Plus to provide the number of the current in the source file line whenever there is an error? I often put in the first line of my script SQLBLANKLINES the VALUE ON that I may be able to put several consecutive blank lines in my code (I do that sometimes, when I find that it is appropriate to make my code more readable or a sequence of instructions which I believe make their logic more comprehensible for the reader of the Group)

    Now the problem is that SQL * Plus will ignore these empty lines and whenever there is an error, the line number in the error message does not match the actual line number in the source file, but it seems to be the last non-empty line in the file.  Consider the following example:

    SET SQLBLANKLINES ON;

    DECLARE
        var PLS_INTEGER := 10;
    BEGIN


       
        var := 20
    END;
    /

    In the code above on line 9 (also counting blank lines), there is an error (no semicolon at the end of the var: = 20) but when I run the script

    SQL * also, here is the error message I get


    SQL > @myscript.sql;

    END;

    *

    ERROR on line 8:

    ORA-06550: line 8, column 1:

    PLS-00103: encountered the symbol "END" when expected in the following way:

    * & = - + ; <>/ is mod remains not rem

    < an exponent (*) > <>or! = or ~ = > = < = <>and like2 or

    like4 likec between | submultiset of type multiset Member

    The symbol ';' was replaced by 'END' continue.


    SQL >


    As you can see the error message indicates that the error was found on line 8, while in the file, it's really on line 9

    As long as the number of lines in the script is limited, this may not be a problem and we can quickly find the actual line number in the code that causes the error, but for a code, including hundreds (or even thousands) of lines and with many comments and blank lines, find line number given by SQL * error message more becomes complicated.

    So my question: is it possible to make SQ * more properly draw the line numbers, as they appear in the source file?

    Thanks in advance,

    Kind regards

    Dariyoosh

    Hi, Dariyoosh,

    The line numbers in error messages are always from the beginning of the statement, but not the file.  The back-end which checks the errors and generates the error message, has no idea if this statement has appeared in your file, even if the statement was in a file at all, or if it comes from multiple files, each with its own line 1.

    You can divide your scripts into parts, so that the long statements, which may lead to error messages, are each in a separate file, so the statement starts on the line 1 of the file.

    For example, you can call a script called fubar.sql, which looks like this:

    SET SQLBLANKLINES ON;
    
    @@fubar_1
    

    Which calls another script, called fubar_1.sql, located on the same directory as fubar.sql, that looks like this

    DECLARE
        var PLS_INTEGER := 10;
    BEGIN
    
        var := 20
    END;
    /
    

    You never call him directly fubar_1.

  • Whereas maintenance for my printer deskjet 1051

    I can't seem to find the area of maintenance for my printer hp deskjet 1051, I need to clean my things cartrigue can someone help me? my printer print pants really bad lines

    Contact HP for help with this, because it's clearly a hardware problem and not a problem Windows or Microsoft.

  • How to eliminate a double connection of GBA?

    Hello

    When you use a cisco 2811 for terminal server connectivity server, I get Ganymede login and password prompts twice:

    1) Firstly, the server terminal server Cisco 2811

    (2) second, from the console of the connected device is also configured to Ganymede.

    Is it possible to remove the prompt Ganymede login and password generated by the server terminal server Cisco?

    James,

    What is the exact configuration of the lines?

    Did you really:

    line 2/0/0 0 / 2 / 15

    from what I remember and the description of the command, you must:

    [ATS] [beginning] [end] of the line where start and end are integers. You can check the correct line number 'see the line.

    What is your output to see the race. start line

    I have a feeling that somehow your config does not reach the right line

  • ALTER table move online in an encrypted tablespace

    Hello

    Our DBA want to put all our data in encrypted storage.

    Once they create encrypted tablespaces, we will have to do «alter table move online...» "orders for encrypted storage space around the tables.

    Has anyone here done already?   Keeps the table moved really 'on-line' (available at query/insert/update) during the move?  Or will we have to wait some time stop/downtime while the tables are moved?
    What about the tables with long or CRAFT?

    Thank you!

    KSandberg and to add to the recall of John that only ITO tables can be moved online, if the table needs to be moved offline the indexes would be invalid until rebuilt.  If the table is an IOT I suggest you rebuild the index online after the move because even if the indexes are always used the logical ROWID is more pointing to the correct location and access of the index will be less effective that will you rebuild the index.

    - -

    The dbms_redefinition package could be an alternative solution if you need to move the tables no - ITO online.

    - -

    HTH - Mark D Powell.

  • GATHER_PLAN_STATISTICS

    Hi all

    Unfortunately, I am not able to understand why I can't see column E-lines and A-lines. Try to explain better:

    (1) alter session:

    ALTER session set statistics_level = "ALL".

    (2) execution of the query with the indicator GATHER_PLAN_STATISTICS

    explain plan for

    Select / * + GATHER_PLAN_STATISTICS * / employe_id, last_name, job_id

    employees

    where job_id = "AD_VP."

    (3) look at the plain execute:

    SELECT plan_table_output

    Of

    TABLE (DBMS_XPLAN. Display ('plan_table', NULL, 'typical'))

    (4) the output is

    Hash value of plan: 1019430118

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

    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |

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

    |   0 | SELECT STATEMENT |            |     2.    68.     2 (0) | 00:00:01 |

    |   1.  TABLE ACCESS BY INDEX ROWID | EMPLOYEES |     2.    68.     2 (0) | 00:00:01 |

    |*  2 |   INDEX RANGE SCAN | EMP_JOB_IX |     2.       |     1 (0) | 00:00:01 |

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

    Information of predicates (identified by the operation identity card):

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

    2 - access ("JOB_ID" = 'AD_VP')

    Note

    -----

    -dynamic sample used for this survey (level = 2)

    (5) I'd like to see the cardinality really A-LINES and the cardinality of estimante E-LINES;

    but it is not this information; Why?

    Thank you

    Really a lot;

    francy77 wrote:

    I have run the query, the statistics fired but do not see A (ctual) line

    No you have not run the query, at least not according to what you posted.  See if you can spot the differences between that and what you posted:

    SQL > alter session set statistics_level = "ALL";

    Modified session.

    SQL > select / * + GATHER_PLAN_STATISTICS * /.
    2 empno, ename
    scott.emp 3
    4 where deptno = 20;

    EMPNO, ENAME
    ---------- ----------
    7369 SMITH
    7566 JONES
    7788 SCOTT
    7876 ADAMS
    7902 FORD

    SQL > select *.
    table 2 (Dbms_Xplan.Display_Cursor (NULL, NULL, 'LAST ALLSTATS'));

    PLAN_TABLE_OUTPUT
    ---------------------------------------------
    SQL_ID, 4gkknj0n0y8dn, number of children 0
    -------------------------------------
    Select / * + GATHER_PLAN_STATISTICS * /.
    EmpNo, ename
    from scott.emp
    where deptno = 20

    Hash value of plan: 3956160932

    ---------------------------------------------------------------------------------------------
    | ID | Operation | Name | Begins | E - lines. A - lines.   A - time | Pads | Bed |
    ---------------------------------------------------------------------------------------------
    |*  1 |  TABLE ACCESS FULL | EMP |      1.      5.      5. 00:00:00.01 |       8.      6.
    ---------------------------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):
    ---------------------------------------------------

    1 - filter ("DEPTNO" = 20)

    18 selected lines.

    John

  • want to understand the stages of executing pl/sql code

    Hello all;

    I want to know the logic of programming for the pl/sql code, what I have written;

    because I was late yesterday to resolve the simple error.

    > > It's link https://forums.Oracle.com/thread/2565867

    OK now that I have written my code same lineup, but few changes:

    now it's working.  as I said above, I want to know the programming logic "flow of execution steps" of pl/sql code

    1 DECLARE

    2 a number: = 10;

    3 number of b: = 20;

    Number 4 c;

    5 procedure findmin (x IN number, are there in numbers, number of Z OUT) IS

    6 BEGIN

    7 < < BLOCK1 > >

    8 x if you can

    9 z: = x;

    10 other

    11 z: = y;

    12 end if;

    13 END;

    BEGIN 14

    15 < < BLOCK2 > >

    16 findmin(a, b, c);

    17 DBMS_OUTPUT. Put_line (c);

    18 * END;

    19.

    10

    PL/SQL procedure successfully completed.

    > > Is this process flow?  > >

    1. the declaration part.

    2 during playback findmin online no 5 then control passes to the line not 16.

    3. after receving input values, control passes back to 5

    4. then compiler executes the code accordingly.

    Question: how many compiler Oracle will execute code written?

    8f953842-815B-4D8C-833d-f2a3dd51e602 wrote:

    1. the declaration part.

    2 during playback findmin online no 5 then control passes to the line not 16.

    3. after receving input values, control passes back to 5

    4. then compiler executes the code accordingly.

    Question: how many compiler Oracle will execute code written?

    1. any declaration section is processed in order to declare and allocate the space/memory etc.  Including declaring the procedure in scope in memory (the procedure is not executed)

    2 execution block to get the code begins with the first statement after BEGIN

    3. the procedure is called in memory with the parameters passed to it.

    4. when the procedure completes execution returns to the statement in the main execution block, after the procedure call.

    Note:

    The compiler is not executing code, it compiles just in memory or stored in the database (depending on whether it is an anonymous block or the stored procedure / package etc..)

    The code isn't really jump 'line by line', because at the time when it is run, it is compiled down to a pcode (or native code if this is allowed), and which may contain several intermediate statements to run the underlying process.  The compiled code however keep track of line numbers of source code of error for the purposes of statement internally.

  • Having trouble getting the web addresses to break down page. Any suggestions?

    I do a book that refers to several pages of blog all along. In the notes, where the blog addresses are given, InDesign is really spacing lines and break too early, especially after the oblique bars followed words with hyphens between them. It is obvious that one or two of the words, with their hyphens, would take on the top line. I tried to add space bars after hyphens, but it won't force words before my space entered upward. I tried using optional hyphens in places, and that no longer works. The only way I can do that is to put soft returns in and I don't know that I like the idea of that. Any suggestions?

    Try to set the paragraph style for notes to use a single line rather than the paragraph composer composers and add your discretionary breaks where you want that to happen.

  • Split with REGEXP_SUBSTR text

    Need to separate a piece of sections of text ino. Each section begins with the recognizable title by its tracking number by the dashboard in the spaces. Example:
    with a as
    (
    select
    '1 - Title of section -1-
    One - two, three: four
    five* six& seven^ eight
    2 - Title of section "2"
    Nine ten eleven twelve
    thirteen (!@#$%^&*()) fourteen
    34 - Title of section 34
    Fifteen, sixteen; "seventeen"
    eighteen (\|/) nineteen...twenty.' NOTES from DUAL
    )
    select 
    NOTES
    , null PAR1
    , null PAR2
    , null PAR3
    from a
    The output should be
    NOTES                              PAR1                          PAR2                                 PAR3
    -----------------------------------------------------------------------------------------------------------------------------------------
    1 - Title of section -1-           1 - Title of section -1-      2 - Title of section "2"             34 - Title of section 34
    One - two, three: four             One - two, three: four        Nine ten eleven twelve               Fifteen, sixteen; "seventeen"
    five* six& seven^ eight            five* six& seven^ eight       thirteen (!@#$%^&*()) fourteen       eighteen (\|/) nineteen...twenty.
    2 - Title of section "2"
    Nine ten eleven twelve
    thirteen (!@#$%^&*()) fourteen
    34 - Title of section 34
    Fifteen, sixteen; "seventeen"
    eighteen (\|/) nineteen...twenty.

    Your data there really new lines in there?

    SQL> ed
    Wrote file afiedt.buf
    
      1  with a as
      2  (
      3  select
      4  '1 - Title of section -1-
      5  One - two, three: four
      6  five* six& seven^ eight
      7  2 - Title of section "2"
      8  Nine ten eleven twelve
      9  thirteen (!@#$%^&*()) fourteen
     10  34 - Title of section 34
     11  Fifteen, sixteen; "seventeen"
     12  eighteen (\|/) nineteen...twenty.' NOTES from DUAL
     13  )
     14  select NOTES
     15        ,replace(regexp_replace(replace(notes,chr(10),'`'),'^([0-9]+ - .*?)([0-9]+ - .*?)([0-9]+ - .*?)$','\1'),'`',chr(10)) PAR1
     16        ,replace(regexp_replace(replace(notes,chr(10),'`'),'^([0-9]+ - .*?)([0-9]+ - .*?)([0-9]+ - .*?)$','\2'),'`',chr(10)) PAR2
     17        ,replace(regexp_replace(replace(notes,chr(10),'`'),'^([0-9]+ - .*?)([0-9]+ - .*?)([0-9]+ - .*?)$','\3'),'`',chr(10)) PAR3
     18* from a
    SQL> /
    
    NOTES                                    PAR1                                     PAR2                             PAR3
    ---------------------------------------- ---------------------------------------- ---------------------------------------- ----------------------------------------
    1 - Title of section -1-                 1 - Title of section -1-                 2 - Title of section "2"                 34 - Title of section 34
    One - two, three: four                   One - two, three: four                   Nine ten eleven twelve                   Fifteen, sixteen; "seventeen"
    five* six& seven^ eight                  five* six& seven^ eight                  thirteen (!@#$%^&*()) fourteen           eighteen (\|/) nineteen...twenty.
    2 - Title of section "2"
    Nine ten eleven twelve
    thirteen (!@#$%^&*()) fourteen
    34 - Title of section 34
    Fifteen, sixteen; "seventeen"
    eighteen (\|/) nineteen...twenty.
    

    Note: this relies on you is that you can specify a character to convert the Chr (10) that does not exist in the data.

  • Illustrator refuses thin features

    I paint this simple background in Illustrator, all vectors on a loan for the web (800px X 600px) document. Most of the lines is 1 pt thickness, but when I try to change SOME lines to 0.5pt, the program refuses to change. I can change all the lines to a thicker size. And some other lines allow me to change to 0.5 pt. But the random lines will not any thinner than 1 pt. It's so weird!

    I tried with the online tool as well as the pen tool. No difference. Illustrator seems just to choose randomly, what lines I can thin. I restarted Illustrator, and when that doesn't work, I rebooted my machine. No change. I tried to start a new line, with 0.5pt thickness of the line chosen in advance and once I finish the vector, the change automatically to 1 pt line?  It not is also not a question of scale because I tried drawing really long lines - thinking that maybe the lines I drew were too small on the small scale for Illustrator - but even long lines wouldn't let me change to 0.5 pt.

    That is what it is? Help, please!

    Let me guess: the lines that do not accept the change for 0.5 pt are horizontal or vertical:

    in web mode, you cannot create a stroke that is less than a pixel. But a diagonal line going because the frame will be zig zag: get it?

    G

  • Display of the audit report

    Hello.
    I work with a bunch of provider (I can't change the data model) that is running some logging activity of audit of the java interface. A report is needed in order to identify who does what to change (old and new) and when.

    The system stores a matrix as of several thresholds that are applied to new accounts, because they are introduced into the system.
    WITH matrix_table AS ( -- no indexes or constraints
    SELECT '20090101' matrix_date, '000' attr_type, 20 percent_1, 40 percent_2, 'A' rate_1, 'D' rate_2,  5 amount_1, 10 amount_2 FROM dual UNION ALL
    SELECT '20090101' matrix_date, '001' attr_type, 40 percent_1, 60 percent_2, 'B' rate_1, 'E' rate_2, 10 amount_1, 15 amount_2 FROM dual UNION ALL
    SELECT '20090101' matrix_date, '002' attr_type, 60 percent_1, 80 percent_2, 'C' rate_1, 'F' rate_2, 15 amount_1, 20 amount_2 FROM dual UNION ALL
    SELECT '20090101' matrix_date, '003' attr_type, 80 percent_1, 99 percent_2, 'D' rate_1, 'G' rate_2, 20 amount_1, 25 amount_2 FROM dual UNION ALL
    SELECT '20100101' matrix_date, '000' attr_type, 21 percent_1, 41 percent_2, 'A' rate_1, 'E' rate_2,  4 amount_1,  9 amount_2 FROM dual UNION ALL
    SELECT '20100101' matrix_date, '001' attr_type, 41 percent_1, 61 percent_2, 'B' rate_1, 'F' rate_2,  9 amount_1, 14 amount_2 FROM dual UNION ALL
    SELECT '20100101' matrix_date, '002' attr_type, 61 percent_1, 81 percent_2, 'C' rate_1, 'G' rate_2, 14 amount_1, 19 amount_2 FROM dual UNION ALL
    SELECT '20100101' matrix_date, '003' attr_type, 81 percent_1, 99 percent_2, 'D' rate_1, 'H' rate_2, 19 amount_1, 24 amount_2 FROM dual UNION ALL
    SELECT '20110101' matrix_date, '000' attr_type, 22 percent_1, 42 percent_2, 'A' rate_1, 'F' rate_2,  3 amount_1,  8 amount_2 FROM dual UNION ALL
    SELECT '20110101' matrix_date, '001' attr_type, 42 percent_1, 62 percent_2, 'B' rate_1, 'G' rate_2,  8 amount_1, 13 amount_2 FROM dual UNION ALL
    SELECT '20110101' matrix_date, '002' attr_type, 62 percent_1, 82 percent_2, 'C' rate_1, 'H' rate_2, 13 amount_1, 18 amount_2 FROM dual UNION ALL
    SELECT '20110101' matrix_date, '003' attr_type, 82 percent_1, 99 percent_2, 'D' rate_1, 'I' rate_2, 18 amount_1, 23 amount_2 FROM dual)
    SELECT * FROM matrix_table;
    When a manual adjustment is made to the matrix already attached to an account, the java application stores a record of who made the change in an audit table
    WITH manual_adjustment AS ( -- no indexes or constraints
    SELECT '1234' account_no, '20100809' change_date, '234512' change_time, 'John Doe' change_user FROM dual UNION ALL
    SELECT '1234' account_no, '20100810' change_date, '001546' change_time, 'John Doe' change_user FROM dual)
    SELECT * FROM manual_adjustment;
    and a record of the new matrix associated with the account in another table audit
    WITH audit_record AS ( -- no indexes or constraints
    SELECT 'Account Matrix' tablename, 'add' change_type, '20100809' change_date, '234508' change_time, 'jdoe' change_user, '1234,000,22,41,A,E,4,9'   change_data FROM dual UNION ALL
    SELECT 'Account Matrix' tablename, 'add' change_type, '20100809' change_date, '234509' change_time, 'jdoe' change_user, '1234,001,41,61,B,F,9,14'  change_data FROM dual UNION ALL
    SELECT 'Account Matrix' tablename, 'add' change_type, '20100809' change_date, '234510' change_time, 'jdoe' change_user, '1234,002,61,81,C,G,14,19' change_data FROM dual UNION ALL
    SELECT 'Account Matrix' tablename, 'add' change_type, '20100809' change_date, '234511' change_time, 'jdoe' change_user, '1234,003,81,99,D,H,19,24' change_data FROM dual UNION ALL
    SELECT 'Account Matrix' tablename, 'add' change_type, '20100809' change_date, '001543' change_time, 'jdoe' change_user, '1234,000,21,41,A,E,4,9'   change_data FROM dual UNION ALL
    SELECT 'Account Matrix' tablename, 'add' change_type, '20100809' change_date, '001544' change_time, 'jdoe' change_user, '1234,001,41,61,B,F,9,14'  change_data FROM dual UNION ALL
    SELECT 'Account Matrix' tablename, 'add' change_type, '20100809' change_date, '001545' change_time, 'jdoe' change_user, '1234,002,61,81,C,G,14,19' change_data FROM dual UNION ALL
    SELECT 'Account Matrix' tablename, 'add' change_type, '20100809' change_date, '001546' change_time, 'jdoe' change_user, '1234,003,81,99,D,H,19,24' change_data FROM dual)
    SELECT * FROM audit_record;
    The example above shows one changed once a John Doe and then changed back. Java process appears to record the date and time the change occurs and the audit_record values do not match exactly the time of the manual_adjustment.

    The audit based on the test data report must provide who changed what and when. When to use the date/time of the response (s) stored in manual_adjustment. What should identify the item changed values prerequisites audit_record or the matrix_table initial if no previous audit_record value exists. So in the example, John Doe has first made a change to the item of data of 1 percent, and since no prior audit were recorded in audit_record, the matrix_table is compared to (I made the order of the data in the columns matrix_table and audit_record.change_data). The old value is retrieved from matrix_table, and the new value is retrieved from audit_record. Then, John Doe has reversed the change to the data item for 1 percent. Since a pre-audit was recorded at audit_record, the most recent (s) audit_record are compared to the previous audit_record (s). The old value is retrieved from the previous audit_record and the new value is retrieved from the most recent audit_record.
    Changed By Changed When      Account Attribute Element   Old Value New Value
    ---------- ----------------- ------- --------- --------- --------- ---------
    John Doe   20100809 23:45:12 1234    000       Percent 1 21        22
    John Doe   20100810 00:15:46 1234    000       Percent 1 22        21
    The audit report must be presented as a database view (all current reports use a database view that is queried by other software for editing).

    I have trouble to determine how to approach the question from the point of view SQL. The analysis of the change_data by commas with REGEXP_SUBSTR is quite simple and I don't have the ability to create functions to determine certain values, but at that time, I also try to tune and feel that I am limit myself to the approach already too. Any suggestions?


    Thank you
    Luke

    Oracle 10 g 2

    Published by: Luke Mackey on Aug 10, 2010 08:35
    Table of audit_record has been fixed.

    Published by: Luke Mackey on August 10, 2010 09:03
    Add a description of how the audit report values are obtained.

    Hi, Luke,.

    Sorry, that it lasted so long.
    It is not enough:

    WITH    manual_adjustment_d     AS
    (
         SELECT    change_user          AS changed_by
         ,       TO_DATE ( change_date || change_time
                           , 'YYYYMMDDHH24:MI:SS'
                     )          AS changed_when
         ,       account_no                AS account
         FROM       manual_adjustment
    )
    ,     change_history          AS
    (
         SELECT     TO_DATE ( change_date || change_time
                           , 'YYYYMMDDHH24:MI:SS'
                     )          AS changed_when
         ,     change_user
         ,             REGEXP_SUBSTR (change_data, '[^,]+', 1, 1)     AS account
         ,             REGEXP_SUBSTR (change_data, '[^,]+', 1, 2)     AS attr_type
         ,      TO_NUMBER (REGEXP_SUBSTR (change_data, '[^,]+', 1, 3))     AS percent_1
         ,      TO_NUMBER (REGEXP_SUBSTR (change_data, '[^,]+', 1, 4))     AS percent_2
         ,             REGEXP_SUBSTR (change_data, '[^,]+', 1, 5)     AS rate_1
         ,             REGEXP_SUBSTR (change_data, '[^,]+', 1, 6)     AS rate_2
         ,      TO_NUMBER (REGEXP_SUBSTR (change_data, '[^,]+', 1, 7))     AS amount_1
         ,      TO_NUMBER (REGEXP_SUBSTR (change_data, '[^,]+', 1, 8))     AS amount_2
         FROM     audit_record
         WHERE     tablename     = 'Account Matrix'
         AND     change_type     = 'add'
              --
        UNION ALL
              --
         SELECT  TO_DATE ( matrix_date
                   , 'YYYYMMDD'
                   )     AS changed_when
         ,     NULL          AS change_user
         ,     NULL          AS account
         ,       attr_type, percent_1, percent_2, rate_1, rate_2, amount_1, amount_2
         FROM     matrix_table
    )
    ,     got_change_num     AS
    (
         SELECT     ch.*
         ,     ROW_NUMBER () OVER ( PARTITION BY  attr_type
                                   ORDER BY          changed_when
                           )         AS change_num
         FROM    change_history        ch
    )
    ,     elements          AS
    (
         SELECT  1 AS element_num, 'Percent 1' AS element_name      FROM dual     UNION ALL
         SELECT  2,               'Percent 2'                      FROM dual     UNION ALL
         SELECT  3,               'Rate 1'                      FROM dual     UNION ALL
         SELECT  4,               'Rate 2'                      FROM dual     UNION ALL
         SELECT  5,               'Account 1'                      FROM dual     UNION ALL
         SELECT  6,               'Account 2'                      FROM dual
    )
    ,     got_diff          AS
    (
         SELECT     ma.*
         ,     ar.attr_type     AS attribute
         ,     el.element_num
         ,     el.element_name
         ,     CASE     el.element_name
                   WHEN  'Percent 1'  THEN  TO_CHAR (pr.percent_1)
                   WHEN  'Percent 2'  THEN  TO_CHAR (pr.percent_2)
                   WHEN  'Rate 1'         THEN      pr.rate_1
                   WHEN  'Rate 2'         THEN      pr.rate_2
                   WHEN  'Account 1'  THEN  TO_CHAR (pr.amount_1)
                   WHEN  'Account 2'  THEN  TO_CHAR (pr.amount_2)
              END                AS old_value
         ,     CASE     el.element_name
                   WHEN  'Percent 1'  THEN  TO_CHAR (ar.percent_1)
                   WHEN  'Percent 2'  THEN  TO_CHAR (ar.percent_2)
                   WHEN  'Rate 1'         THEN      ar.rate_1
                   WHEN  'Rate 2'         THEN      ar.rate_2
                   WHEN  'Account 1'  THEN  TO_CHAR (ar.amount_1)
                   WHEN  'Account 2'  THEN  TO_CHAR (ar.amount_2)
              END             AS new_value
         FROM     manual_adjustment_d     ma
         JOIN     user_table          ut     ON     ma.changed_by     = ut.user_name
         JOIN     got_change_num          ar     ON     ar.changed_when     BETWEEN ma.changed_when - ( 10          -- seconds before
                                                                    / (24 * 60 * 60)
                                                                    )
                                                 AND     ma.changed_when + ( 5          -- seconds after
                                                                    / (24 * 60 * 60)
                                                                    )
                             AND     ar.change_user     = ut.user_code
            JOIN     got_change_num          pr     ON     ar.attr_type     = pr.attr_type
                             AND     ar.change_num     = pr.change_num     + 1
            CROSS JOIN     elements     el
    )
    SELECT       changed_by
    ,       changed_when
    ,       account
    ,       attribute
    ,       element_name     AS element
    ,       old_value
    ,       new_value
    FROM       got_diff
    WHERE       old_value     != new_value
    ORDER BY  changed_when
    ,            element_num
    ;
    

    As always, to understand a query that uses subqueries, run each auxiliary request by himself and watch its result set.
    Manual_adjustment_d of the subquery is just the corresponding columns of manual_adjustment, with the date converted to DATE.
    Subquery change_history is a combination of audit_record and matrix_table, with the converted data in common columns common and converted to DATEs dates.
    Subquery got_change_num is change_history, with a new column, change_num, added, to make it easy to find the last change before a given change.
    Elements of subquery contains a line for each item that you level. You can have a real table like that, in the case of shich you don't need the subquery. This is necessary for the non swivel data between 1 column on 6 rows and 6 columns on 1 line.
    Got_diff of the subquery is where most of the work takes place. He joined manual_adjustment_d in two rows of got_change_num: (1) the line has the same user and "almost the same" time and (2) the previous row for the same attribute. As posted, a row of got_change_num will be condered as "almost at the same time" like a row of mandual_adjustment_d if it is dated not earlier than 10 seconds ealeir and not later than 5 seconds following line in manual_adjustment_d. You can easily change that. Got_diff also of the Nations United-pivot of the data on a separate line for each item.
    As often happens, the main query plays the same role in this query as the final step takes place in the Tour de France: not much changes, and the results of this part are all that matters. In this case, change is all that really unchanged lines are ignored. The only reason why I haven't done this in got_diff was I wanted to use the alias old_value and new_value, rather than repeat the CASE expressions.

    I'm sure that the query can be a bit shortened and consierably more effective.
    Returned could be simplified if you have stored your dates in the DATE columns.
    It would be easier and more effective if you knew that all data checked, including the data of matrix_table, was audit_record. Then we wouldn't need matrix_table in this request at all, and we wouldn't have to reconcile the different ways of you these two tables to store the same data.

  • Design in Dreamweaver

    Is it possible to draw lines in Dreamweaver? At the moment I am adding a copy of Θcran and text in Dreamweaver then having to add arrows and lines by using FrontPage. It's really faffy lines do not look right and the arrows appear above or below what they were when I drew the on FrontPage!

    It would be great if someone could give me some advice.

    Thank you very much
    Chantelle

    > Thanks for the reply. What this means drawing arrows not working?

    Yes.

    > I inserted a copy of Θcran and I am keen to point to specific areas
    > the image by using the arrows.

    You need to add the arrows in an image editor or screen capture software
    like SnagIt.

    Then insert the picture (complete with the arrows) in the page using DW.

    --
    Concerning

    John Waller

  • Need for the sql query to have several columns in a single coulumn

    Hi all

    I need create the query to have several columns in a single column with several lines.

    Select a.customer_trx_id, a.previous_customer_trx_id
    of ra_customer_trx_all one
    where a.customer_trx_id =: customer_trx_id

    Here, a.customer_trx_id and a.previous_customer_trx_id are in two columns. I need to put them in a single column.

    Say: the foregoing is output
    --------------------------------------------------------------------------------
    a.customer_trx_id a.previous_customer_trx_id

    --------------------------------------------------------------------------------
    123456 87654

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

    Need for a single column

    As


    --------------------------------------------------------------------------------
    123456
    87654

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

    Please do the needful. Please note that it is not the UNION.

    Thank you
    Abdul

    Hello

    You want a way to confirm that what looks like two rows is really a line?

    Here are three ways:

    (1) count the lines:

    WITH  my_original_querry     AS
    (
         select  a.customer_trx_id || CHR(13)
                          || a.previous_customer_trx_id     as id
         from      ra_customer_trx_all     a
         where      a.customer_trx_id      = 274881
    )
    SELECT     COUNT (*)
    FROM     my_original_query;
    

    (2) in SQL * Plus, have SQL * more count them for you:

    SET     FEEDBACK     1
    
    select  a.customer_trx_id || CHR(13)
                     || a.previous_customer_trx_id     as id
    from      ra_customer_trx_all     a
    where      a.customer_trx_id      = 274881;
    

    (3) implicitly count them with the ROWNUM Pseudo-column

    select  a.customer_trx_id || CHR(13)
                     || a.previous_customer_trx_id     as id
    ,     ROWNUM
    from      ra_customer_trx_all     a
    where      a.customer_trx_id      = 274881;
    
  • having display problems with my macbook air, first version of 2015. When I turn on my macbook, after boarding the password, then press on enter three lines (not really they look more like flashes coming from the top of the screen appear) in

    having display problems with my macbook air, first version of 2015. When I turn on my macbook, after boarding the password, then press on enter three lines (not really they look more like flashes coming from the top of the screen appear) in the colors Blue, green and red.

    also when I turn off my laptop just until the display on the top of the screen that is 2 and a half inch thick green line appears and goes about a second.

    help someone?

    Thank you

    Howdy Yaser of zoysia,

    It seems that your screen displays some graphical anomalies when you connect to your user name. I would use these troubleshooting steps in the following article on the resolution of screens:

    Restart your Mac in safe mode to reset the default display resolution.

    If booting safe mode doesn't resolve the problem, reset your Mac NVRAM and SMC to reset the video ports on your Mac to their default values.

    From: get help with graphics issues on external displays connected to your Mac.

    Thank you for using communities of Apple Support.

Maybe you are looking for

  • Multimedia playback on another platform

    Hi everyone, this is the first time that I ask the question on this forum. My question is that I do a lot of pages documents and I have iMac, iPad, so no problem reading media (videos in iMovie), which is not integrated into the documents page. But h

  • HP ENVY laptop - 17 t-s000 CT: replacement of battery charger adapter

    I would buy a second battery charger adapter, but I can't find it on the HP website.

  • Boot Manager is missing (cause and solution)

    This is based on my experience cause: partition (usually c) system and repartioning deleting it. example you have 200 GB in the c drive and removing his score to a new partiton 2 or 100 GB and 100 GB and decreases its volume to get a new drive unallo

  • Satellite L500 - 13D - from Vista to Win7 - HOW?

    I bought yesterday laptop (Satellite L500 - 13D).I installed Vista 64 bit and I want to upgrade to Windows 7, because it is no longer compatiblewith all the other programs on my old PC (I used XP). Do I need special drivers for this and where can I g

  • HP Officejet J6480: j6480

    In the last week, my printer does not print envelopes. I saved envelopes and they will print on plain paper, but will not print on envelopes. It acts like it is printing and envelope comes out blank.