PL SQL Array comparisons (Looking for matches)

I have two tables and I am trying to derive a XML structure out of it, based on certain criteria.
The oracle version I am using is
     Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
     PL/SQL Release 9.2.0.7.0 - Production
     CORE     9.2.0.7.0     Production
     TNS for Solaris: Version 9.2.0.7.0 - Production
     NLSRTL Version 9.2.0.7.0 - ProductionStructure and Data
QUOTE_LINES
QUOTE_NO LINE_SEQ CLASS TYPE PERIOD RENT
100 001 MERC LEASE 12 680.00
100 002 MERC LEASE 10 775.00
100 003 JAG LEASE 10 785.00
QUOTE_ADTL
QUOTE_NO LINE_SEQ ADTL_SEQ ADDON CHARGE
100 001 001 GPS 199.99
100 002 001 XM 24.99
100 003 001 GPS 199.99
100 003 002 CHILDSEAT 25.99
There are two cursors to get information.
The first cursor is on the QUOTE_LINES table and the second one is on the QUOTE_ADTL table.
What the program is currently doing is opening the cursor on QUOTE_LINES, getting information, then moving to QUOTE_ADTL and appending this information.
So my XML String is being formed like this.
<QUOTE_LINE>
            <LINE_SEQ>001</ LINE_SEQ >
            <CLASS>MERC</CLASS>
            <PERIOD>12</PERIOD>
            <RENT>680.00</RENT>
            <QUOTE_ADTL>
                        <LINE_SEQ>001</LINE_SEQ>
                        < ADTL_SEQ>001</ADTL_SEQ>
                        <ADDON>GPS</ADDON>
                        <CHARGE>199.99</CHARGE>
</QUOTE_ADTL>
</QUOTE_LINE>
<QUOTE_LINE>
            <LINE_SEQ>002</ LINE_SEQ >
            <CLASS>MERC</CLASS>
            <PERIOD>10</PERIOD>
            <RENT>775.00</RENT>
            <QUOTE_ADTL>
                        <LINE_SEQ>002</LINE_SEQ>
                        < ADTL_SEQ>001</ADTL_SEQ>
                        <ADDON>XM</ADDON>
                        <CHARGE>24.99</CHARGE>
</QUOTE_ADTL>
</QUOTE_LINE>
<QUOTE_LINE>
            <LINE_SEQ>003</ LINE_SEQ >
            <CLASS>JAG</CLASS>
            <PERIOD>10</PERIOD>
            <RENT>785.00</RENT>
            <QUOTE_ADTL>
                        <LINE_SEQ>003</LINE_SEQ>
                        < ADTL_SEQ>001</ADTL_SEQ>
                        <ADDON>GPS</ADDON>
                        <CHARGE>199.99</CHARGE>
                        <LINE_SEQ>003</LINE_SEQ>
                        < ADTL_SEQ>002</ADTL_SEQ>
                        <ADDON>CHILDSEAT</ADDON>
                        <CHARGE>25.99</CHARGE>
</QUOTE_ADTL>
</QUOTE_LINE> The change that is required is to combine the unit lines if LINE_SEQ /CLASS /TYPE have the same values.
So the new XML will have to be something like this.
<QUOTE_LINE>
            <CAR>
            <LINE_SEQ>001</ LINE_SEQ >
            <CLASS>MERC</CLASS>
            <PERIOD>12</PERIOD>
            <RENT>680.00</RENT>
            </CAR>
            <CAR>
            <LINE_SEQ>002</ LINE_SEQ >
            <CLASS>MERC</CLASS>
            <PERIOD>10</PERIOD>
            <RENT>775.00</RENT>
            </CAR>
            <QUOTE_ADTL>
                        <LINE_SEQ>001</LINE_SEQ>
                        < ADTL_SEQ>001</ADTL_SEQ>
                        <ADDON>GPS</ADDON>
                        <CHARGE>199.99</CHARGE>
                        <LINE_SEQ>002</LINE_SEQ>
                        < ADTL_SEQ>001</ADTL_SEQ>
                        <ADDON>XM</ADDON>
                        <CHARGE>24.99</CHARGE>
</QUOTE_ADTL>
</QUOTE_LINE>
<QUOTE_LINE>
            <LINE_SEQ>003</ LINE_SEQ >
            <CLASS>JAG</CLASS>
            <PERIOD>10</PERIOD>
            <RENT>785.00</RENT>
            <QUOTE_ADTL>
                        <LINE_SEQ>003</LINE_SEQ>
                        < ADTL_SEQ>001</ADTL_SEQ>
                        <ADDON>GPS</ADDON>
                        <CHARGE>199.99</CHARGE>
                        <LINE_SEQ>003</LINE_SEQ>
                        < ADTL_SEQ>002</ADTL_SEQ>
                        <ADDON>CHILDSEAT</ADDON>
                        <CHARGE>25.99</CHARGE>
</QUOTE_ADTL>
</QUOTE_LINE>Edited by: abhijit74 on Dec 18, 2008 6:46 AM (Added code tags).

btw you can use ** tags when posting code to improve readability. See the FAQ.                                                                                                                                                                           

Similar Messages

  • Looking for Thunderbolt 2 RAID Array options that can match the new Mac Pro's quietness -- or at least come close!

    Maybe it is too early to talk about anything beyond the Pegasus2 Series (http://www.promise.com/promotion_page/promotion_page.aspx?region=en-global&rsn=1 00) when it comes to Tunderbolt 2 storage options. Looking for something on the order of 8 to 12 usable TB of redundant storage or possibly a JBOD option of 4 bays. This is coming close but I do not think it is Thunderbolt 2 (http://www.g-technology.com/products/g-raid-thunderbolt).
    Either way -- looking for users experience not only on usable Thunderbolt 2 solutions but more importantly noisiness. I want to upgrade my existing Mac Pro to one of the new ones and I have found the old one to be nearly unnoticable in a quiet desktop environment. Would love to find the same peace and quiet when migrating to the new form factor that is going to need external storage to match what I have been used to inside the old Mac Pro.

    Not your quiet storage, but then I would put it in a cool closet or small room off to the side :-)
    http://www.macgurus.com/store/Item/ARC8050 ( I was assuming but maybe not, that it would support RAID6 which is always preferable for larger arrays. Seems to have most features you want for 8 drives). MacGurus "Burly" are never quiet but they are rugged and well tested.
    Migrating storage will be a concern. I don't like the noise from my older SATA OWC dual-drive metal enclosure though suppose to be 'acceptable' unless they have improved the fans they are out for me.
    OWC for Thunderbolt products.
    Helios enclosure (the new dual-slot Helios PCIe chassis)
    … moving various hard drives into Thunderbolt cases
    USB3 hard drive enclosure.
    For those without eSATA enclosures, a simple eSATA to USB3 adapter might do the trick.
    USB3 is plenty fast to house two hard drives.
    OWC Mercury Elite Pro Dual.
    Available now starting at about $430.
    review of the OWC Mercury Elite Pro Dual.
    Some upcoming new TB2 enclosures:
    http://www.sonnettech.com/product/thunderbolt/index.html
    http://gigaom.com/2013/12/21/the-technology-gap-between-the-old-and-new-mac-pro- could-cost-you-a-mini/

  • Looking for and SQL query to match CTI OS agent login ID with the Directory Number (instrument)

    Hi All,
    I am looking for an SQL query to request the HDS database to find out which Directory Number / instrument  was associated with a specific CTI OS agent login ID.
    Has anyone done such a query before ?
    Thanks and Regards
    Nick

    Hi,
    this should work in 8.0 and 8.5:
    SELECT
    ag.PeripheralNumber AS [LoginID],
    al.Extension,
    al.LogoutDateTime
    FROM [instance]_hds.dbo.Agent_Logout al
    JOIN [instance]_awdb.dbo.Agent ag ON al.SkillTargetID = ag.SkillTargetID
    Of course, replace [instance] with the ICM instance.
    The query returns a table with three columns, first is the login ID aka PeripheralNumber, Extension is... well, the agent's extension, and LogoutDateTime is the timestamp when the agent logged out.
    G.

  • Looking for an SQL query to retreive callvariables + ECC from a RUN SCRIPT RESULT (Translation to VRU)

    Hi Team,
    I am looking for an SQL query to check the data (ECC + CallVariable) received following a RUN SCRIPT RESULT when requesting an external VRU with a Translation Route to VRU with a "Run External Script".
    I believe the data are parsed between the Termination Call Detail + Termination Call Variable .
    If you already have such an SQL query I would very much appreciate to have it.
    Thank you and Regards
    Nick

    Omar,
    with all due respect, shortening a one day's interval might not be an option for a historical report ;-)
    I would recommend to take a look the following SQL query:
    DECLARE @dateFrom DATETIME, @dateTo DATETIME
    SET @dateFrom = '2014-01-24 00:00:00'
    SET @dateTo   = '2014-01-25 00:00:00'
    SELECT
    tcv.DateTime,
    tcd.RecoveryKey,
    tcd.RouterCallKeyDay,
    tcd.RouterCallKey,
    ecv.EnterpriseName AS [ECVEnterpriseName],
    tcv.ArrayIndex,
    tcv.ECCValue
    FROM Termination_Call_Variable tcv
    JOIN
    (SELECT RouterCallKeyDay,RouterCallKey,RecoveryKey FROM Termination_Call_Detail WHERE DateTime > @dateFrom AND DateTime < @dateTo) tcd
    ON tcv.TCDRecoveryKey = tcd.RecoveryKey
    LEFT OUTER JOIN Expanded_Call_Variable ecv ON tcv.ExpandedCallVariableID = ecv.ExpandedCallVariableID
    WHERE tcv.DateTime > @dateFrom AND tcv.DateTime < @dateTo
    With variables, you can parametrize your code (for instance, you could write SET @dateFrom = ? and let the calling application fill in the datetime value in for you).
    Plus joining two large tables with all rows like you did (TCD-TCV) is never a good option.
    Another aspect to consider: all ECC's are actually arrays (always), so it's not good to leave out the index value (tcv.ArrayIndex).
    G.

  • Reg: PLS-00418: array bind type must match PL/SQL table row type error

    I am trying to access a table of records through JDBC OracleCallableStatement. I am able to do it fine for all mappings except for the ones below
    TYPE CAT_CD_TYPE IS TABLE OF A.B %TYPE INDEX BY BINARY_INTEGER;
    TYPE ORG_CD_TYPE IS TABLE OF C.D %TYPE INDEX BY BINARY_INTEGER;
    Column B is CHAR(1) and Column D is CHAR(2). I am trying to register the out parameters of Oraclecallablestatement as
    cstmt.registerIndexTableOutParameter(2, 2000, OracleTypes.CHAR, 0);
    cstmt.registerIndexTableOutParameter(3, 2000, OracleTypes.CHAR, 0);
    All the other mappings work fine. These two fail with the error
    SQLException in invokeDBPackage() : ORA-06550: line 1, column 32:
    PLS-00418: array bind type must match PL/SQL table row type
    ORA-06550: line 1, column 35:
    PLS-00418: array bind type must match PL/SQL table row type
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    I tried other OracleTypes mappings too but no luck so far.
    Any advice on this would be greatly appreciated.

    Hi,
    I'm not sure it's reasonable to expect someone to sift through that much stuff.
    Which parameter is it having a problem with?
    Can you modify the following to reproduce the behavior?
    Thanks
    Greg
    create package mypack5 as
    TYPE v2array is table of emp.ename%type index by BINARY_INTEGER;
    PROCEDURE test_it(thearray IN v2array, numrecs out number);
    END;
    CREATE or replace PACKAGE BODY MYPACK5 AS
    PROCEDURE test_it(thearray IN v2array, numrecs out number)
    IS
    begin
    numrecs := thearray.count;
    END;
    END;
    using System;
    using System.Data;
    using Oracle.DataAccess.Client;
    public class indexby
    public static void Main()
    OracleConnection con = new OracleConnection("data source=orcl;user id=scott;password=tiger;");
    con.Open();
    OracleCommand cmd = new OracleCommand("mypack5.test_it", con);
    cmd.CommandType = CommandType.StoredProcedure;
    OracleParameter Param1 = cmd.Parameters.Add("param1", OracleDbType.Varchar2);
    Param1.Direction = ParameterDirection.Input;
    Param1.CollectionType = OracleCollectionType.PLSQLAssociativeArray;
    Param1.Size = 3;
    string[] vals = { "foo", "bar", "baz" };
    Param1.Value = vals;
    OracleParameter Param2 = cmd.Parameters.Add("param2", OracleDbType.Int32, DBNull.Value, ParameterDirection.Output);
    cmd.ExecuteNonQuery();
    Console.WriteLine("{0} records passed in", Param2.Value);
    con.Close();
    }

  • How to look for a certain value in a database using sql

    Hello everyone. How do you do this in SQL? Or, is there a way to look for a certain value in a database? What I'm trying to do is this:
    I want to look for the exact value "abcdefg" in the database so that oracle will return me details on the following that contains the said value:
    1. the name of the table(s)
    2. the column/field name(s)
    Note: "abcdefg" could exist in different tables with different column names with different data types.
    Any help is much appreciated. Thanks.
    UPDATE: What about if I just want to check those fields/columns with string data types?
    Message was edited by:
    dongzky
    Message was edited by:
    dongzky

    Just a teeny tweek
    DECLARE
       l_dummy   VARCHAR2 (4000);
    BEGIN
       FOR rec IN (SELECT table_name
                     FROM all_tables)
       LOOP
          FOR rec2 IN (SELECT column_name
                         FROM user_tab_cols
                        WHERE table_name = rec.table_name)
          LOOP
             BEGIN
                EXECUTE IMMEDIATE    'select 1 from '
                                  || rec.table_name
                            || ' where to_char('
    || rec2.column_name
    || ') = ''CAS'' and rownum = 1'
                             INTO l_dummy;
                DBMS_OUTPUT.PUT_LINE (rec.table_name || ' ' || rec2.column_name);
             EXCEPTION
                WHEN NO_DATA_FOUND
                THEN
                   NULL;
             END;
          END LOOP;
       END LOOP;
    END;

  • Looking for a particular vlaue in a id array

    i have a program which generates me 1000000 sample values ie a array of 1 million values.in this 0ne million values i need to look for a particular range of values ie allthe values in the array are 4 and then they ia a value like say 10 and some more values. i need to detect the values greeater than four and then take the 20 values from the index where it is detected. i may have hundered of this pattern in the million samples.

    I am attaching a VI which does what you want. The diagram is pretty straight-forward. Let me know if you don't understand anything.
    Regards,
    Khalid
    Attachments:
    chkarray.vi ‏34 KB

  • Looking for SQL Solution to Very Unique Problem

    Hello,
    New here, thanks. I have what I think is an interesting problem. I really don't want to post it because the background and explanation is rather lengthy. It has to do with one table that holds some general info; there is a unique numeric primary key. Associated with this table are three different tables identical in structure, having only two fields: the primary key, and a code. The three tables correspond to test results performed by a different individual. For each entry in the main table, where there is one and only one entry for the primary key, the same test could have been performed one, two, or three times. So there could be one, two, or three different sets of codes describing the test results. Only one set of the test result codes is the correct one. And there is a hierarchy that determines which is the correct set of codes. Say the main table is called LR. LR is linked to three different tables, each of which has the exact same structure. The relationship between LR and each of these three tables is one to many. Call the three tables that hold test results SCR, QC, and PT. Some assumptions can be made. In the table LR there are two flag fields: Q_STATUS and P_STATUS whose values each are either Y or N. If P_STATUS=Y, then we are guaranteed a set of test result codes in the table PT, and this set of codes is always the final word; always the correct results. If P_STATUS=N but Q_STATUS=Y, then we are guaranteed to have a set of test result codes in the table QC, and if this is the case, then this set of codes is the final word. Now if P_STATUS=N and Q_STATUS=N, then we know there is a set of test result codes in the SCR table, we know there is one and only one set of test result codes, hence this set is the correct one. Another assumption that can be made, for any row in the LR table, there will ALWAYS be at least one set of test result codes in the SCR table. There may or may not be a set of test result codes in the QC and PT tables, and the flags in the LR table indicate if either is the case. Hope this makes sense so far. For many years I have been trying to figure out one SQL statement that will return the correct set of test result codes. Often I have to analyze data that relies on the results of a test (e.g. how many tests had the code 850 in the year 2011?). That's a simple example, but you get the idea. Since I have to determine which set of test result codes is the correct one to use, I've always had to rely on writing a PL/SQL procedure anytime I have to work with test result codes. I tend to use a conditional: IF (P_STATUS=Y) THEN /*the right answer is in the table PT*/ ELSIF (Q_STATUS=Y) THEN /*the right answer is in the table QC*/ ELSE /*the right answer is in the table SCR*/. I have a document with a little more detail, and an example. Or maybe this makes absolute sense to someone out there and they know exactly what to tell me! And let me say this is not a critical issue for me. I've been searching for this SQL statement for about 10 years now. I consider myself pretty proficient with SQL, but definitely not a guru. I'm thinking the solution I'm looking for might rely one some kind of full outer join on all three of the tables SCR, QC, and PT and then if those results could be linked to the LR table, and then maybe in the SQL statement use of DECODE might do it. I want one SQL statement that will return me the correct set of testing result codes. Hope this all makes sense. To anyone who has read it I thank you very much. I would be very happy to provide my document with further explanation and an example. Any response is greatly appreciated. Guess I have to keep coming back here now to see if anyone responded. Oh, I might add that we use a very old version of Oracle (8.0.3) but, if all goes according to plan, we should migrate to the most current version within the next year.
    Thanks,
    John Cardella
    Edited by: BluShadow on 21-Feb-2012 13:52
    Email address removed for your own benefit, unless of course you'd like spam bots to pick it up and send you lots of rubbish?

    Why do I keep three tables. Each sample that is evaluated is always screened by what I will call a "tech." Every so many cases the test must be repeated for quality control. If the findings of the initial testing or of a quality control test are found to contain abnormal results, then the test must also be repeated, this time looked at by a doctor. So I have what I refer to as the "main" table; the one that holds final data, which in my example I explained the two "flag" fields that indicate if the test was repeated. Every time a test is evaluated it is done by the same person, and the findings of an individual testing, or screening, are a set of test result codes. There is the "main" control table which I have called LR in my example. The reason I have the other three tables: one is used to store the test results of the initial screening (always done); one is used to hold the test results of a quality control case (may or may not be done); and one is used to hold the test results of an abnormal case that was screened by a doctor (may or may not be done). There is a separate table for each individual who may have done a screening.
    Let us consider the results of just one case. In the table LR we have something like this:
    | KEY | P_STATUS | Q_STATUS |
    | 100 | Y | Y |
    By default, for any entry in the LR table there is always a set of codes in the SCR table. We know a quality control was performed because QC_STATUS=Y, and we know it was screened by a doctor because P_STATUS=Y. So we would have three different sets of findings, each in one of the three tables:
    SCR TABLE: QC TABLE:
    | KEY | CODE | | KEY | CODE | | KEY | CODE |
    | 100 | 014 | | 100 | 13R | | 100 | 13R |
    | 100 | 13R | | 100 | 150 | | 100 | 170 |
    | 100 | 150 | | 100 | 170 | | 100 | 180 |
    | 100 | 160 | | 100 | 190 |
    The values in the three tables represent the findings of three different people who screened the test sample. Now suppose I combined all the data, I would suppose it would look something like this:
    | KEY | P_STATUS | Q_STATUS | KEY | CODE | KEY | CODE | KEY | CODE |
    | 100 | Y | Y | 100 | 014 | null | null | null | null |
    | 100 | Y | Y | 100 | 13R | 100 | 13R | 100 | 13R |
    | 100 | Y | Y | 100 | 150 | 100 | 150 | null | null |
    | 100 | Y | Y | 100 | 160 | null | null | null | null |
    | 100 | Y | Y | null | null | 100 | 170 | 100 | 170 |
    | 100 | Y | Y | null | null | null | null | 100 | 180 |
    | 100 | Y | Y | null | null | null | null | 100 | 190 |
    Since P_STATUS=Y I would want the result set returned to be {13R, 170, 180, 190}.
    But suppose P_STATUS=N and Q_STATUS=Y then I would want the result set to be {13R, 150, 170}
    And if P_STATUS=N and Q_STATUS=N then I would want {014, 13R, 150, 160}
    Of all of the sets of test results codes, only ONE is ever the final word (i.e. the right answer).
    So what I was trying to do is find a query that would give me what I want. And my apologies if there is a major design flaw. I always thought it was not that bad. But then I am no SQL guru either.
    To anyone who has read on further my most humble thanks. I really did not mean to waste anyone's time or be a pain in the ass.
    Thanks Again,
    -JC

  • Looking For Free Good Tutorial To Learn SQL For 8i

    Hello all,
    I am looking for a free good tutorial to learn SQL for Oracle 8i.
    If anyone got any links or resources, kindly suggest.
    Thanks in advance.

    I am looking for a free good tutorial to learn SQL for Oracle 8i.8i has been unsupported for years. If you're just starting out, you might as well learn the latest.

  • Where does iTunes Match look for my music files?

    When iTunes Match scans my "library" which library is it looking at - simply the list of songs within the iTunes interface? Or is it looking for the actual music files? How does keeping most of your music on an external hard drive affect this process?

    I don't know this for sure, but I suspect the scan process is reading the 'iTunes Library.itl" file and not scanning the actual files. So keeping your files on an external drive shouldn't affect the scan, although I would recommend having the external HDD connected to your computer while the scan in is progress just in case.

  • Looking for the oracle equivalent of T-SQL 'SELECT TOP n'

    Hi,
    I'm looking for the Oracle equivalent of T-SQL 'SELECT TOP n'
    and can't find any. There is SAMPLE(n) function but it supposed
    to pick up random values and I'm not sure if it's possible to
    make it select top values. Please help 8-)
    Thanx

    Hi Marina.
    Oracle does not have a functionality like SQL Server for TOP
    selection. The ROWNUM option should be used with great care and
    you may get unreliable results.
    Try looking at Metalink
    Doc ID: 291065.999
    Doc ID: 267329.999
    - They discuss this issue, and solutions.

  • T-SQL and CLR types for return value do not match

    Hi I am trying to create a CLR function to call a webservice, the CLR function return data type is double, whether I try
    to create this as a table valued funcion or a scalar to return a distance travelled value I am receiving the error below. I've tried changing data types around in the CLR side and the SQL side but keep receiving the same error message, any help would be appreciated,
    Thank you,
    [Microsoft.SqlServer.Server.SqlFunction(Name = "DistanceCalc")]
    public static Double DistanceCalc(Double SrcLat, Double SrcLong,
    Double DestLat, Double DestLong)
    MileageWS ws = new MileageWS();
    ws.Url = "http://test.isp.ca/Distance.asmx";
    int intUom = 0; // 0 = Mile, 1 = KM
    RouteType RouteMethod = RouteType.Practical;
    Requester RequestedFrom = Requester.LinkRoute;
    Double distance;
    distance = ws.GetDistanceInfoForLonLat(SrcLat, SrcLong, DestLat, DestLong, intUom, RouteMethod, RequestedFrom);
    return distance;
    CREATE FUNCTION DistanceCalc
    @SrcLat as float, @SrcLong as float,
    @DestLat as float, @DestLong as float
    RETURNS TABLE (Distance float)
    External NAME CLRfunctions.RIFunctions.DistanceCalc
    GO
    Error received when try to Create function ...
    1, Level 16, State 2, Procedure pcMiler, Line 6
    CREATE FUNCTION for "pcMiler" failed because T-SQL and CLR types for return value do not match.

    You defined at table-valued CLR function, but I think you meant to define a scalar CLR function. That might be the cause of the error.
    RETURNS TABLE (Distance float)
    should be
    RETURNS (Distance float)

  • Looking for a way to search artists in Apple TV from iTunes Match?

    Looking for a way to search artists in Apple TV from iTunes Match similar to searching for a movie in Netflix.  

    I'm not sure I understand. You access iTunes Match via the music section, there are different categories and you select artist to search through the artists in your music library.

  • Looking for volunteers to write application comparison articles

    There are a number of "what's the best?", "easiest to configure", and "lightest", questions that come up frequently in the forums: Image viewer, PDF/document viewer, tiling window manager, floating window manager, desktop environment, text editor, IDE, web browser, terminal emulator, ETC. And while there's very good documentation on some of the individual pieces in the wiki, there isn't as much on comparisons between them.
    In order to help keep the forums from an endless cycle of repetition, we're looking for volunteers to add some application comparison articles to the wiki. The entries don't need to be comprehensive on individual programs, and there should be every attempt made to not unnecessarily duplicate what's already been written. Basic information on things like keyboard friendliness, lightness, text and/or graphic mode, and the like is encouraged though.
    We'd like to use this page as the starting point:
    http://wiki.archlinux.org/index.php/Common_Apps
    Don't use it for the comparisons themselves, but put a link to the articles under the correct category. The page is already good as it is, although it needs both more entries and to be linked to in the Archwiki Table of Contents for higher visibility (please).
    Of course the articles are not for flame wars or opinions. It's a place where users can go to get a good general view of how apps stack up against each other.
    Report back any progress made here.

    skottish wrote:
    There's going to some gray areas, but most it falls into categories. For instance, having separate pages for IDE and text editors is probably silly. Vim is both a text editor and an IDE depending on how it's set up. So is Geany, SciTE, Texmaker, Emacs, ETC. Putting them all together makes sense.
    The two categories of window managers (tiling and floating), as well as DE deserve their own pages. What do you do with E17 then? It's as much a DE as it is a WM. If ended up in the floating WM page, as well as the DE page, that'd be fine. And no, it's tiling module doesn't make it a tiling WM.
    PDF viewers and document viewers should probably be lumped together because almost all document viewers can view PDF files. Image viewers should get their own page. Same with terminal emulators.
    Stuff like GIMP, Inkscape, and Blender probably don't need a comparison page. Even though other stuff can duplicate parts of their functionality, they're pretty much special programs in the Linux world.
    Why three pages for WM/DEs ? Put them all in one page, but separate tables or whatever.

  • Looking for a SQL statement

    Looking for a sql statement that returns me one row which is made up of data of two rows but display it side by side instead of one row followed by other row.
    e.g
    Col1
    1
    2
    2 Rows selected
    How can i display it as
    Col1
    1 2
    1 Row selected
    Appreciate any responses.
    TIA
    DS
    null

    How to find the last sql statement executed in oracle .
    thanks
    B.B.Padhi
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by SANJAY KUMAR ([email protected]):
    i have table san with column rl having values 11, 12. Then write the SQL as:
    select a.rl, n.rl from san a,( select b.rl from san b where b.rl in (select rl from san) ) n
    where a.rl < n.rl;
    It will give u approprate result.
    Thanks!<HR></BLOCKQUOTE>
    null

Maybe you are looking for