line of three columns

I need to make a line of three columns on my new sensitive site and all columns must be different sizes 20% Center column 60% left column and right column 20%.

This is what I have at the moment

# three column line {}

Width: 33.3333333%;

float: left;

padding: 0px 0px 0px 0px! important;

margin:-20px 0px 0px 0px;

}

Any help would be appreciated.

Thank you, Jeff Lane

Insert the code in red below so that is the code shown in black below.

Left

(NEW SITE) Carpet of corridors that new site is under construction

Carpet, vinyl, desk pads, rolled and contract flooring

Right

We carpet of corridors and

Flooring services (Bristol)

Then add the following css:

I have IDS to use for containers because you have a lot of weird css default settings that frankly I can't asked go sift through however to know where all rubbish from - ID Yes completely overide default values.

It's ok of course until you get to mobile then you need to work on a way to move the around, so the two apart from those who are on top and the center one is stacked below - flexbox might work. One good thing about Bootstrap (Hoooooray Finally I found a good point) he built in function to do.

Tags: Dreamweaver

Similar Questions

  • Mail, display in three columns

    Hello.

    I use the classic view in the mail, and I was stupid enough to shoot this the middle line down, convinced that I could get it back. Which I did not! When I go to the bottom line (see photo), the cursor changes to is should, but I can't seem to make this final so I recover the sight of three columns!  I tried to get out of the classic view and the same thing happens - no view of three columns...

    I went through everything on the menu line and preferences. I called Apple Care in my country, without success.

    You smart guys have helped me before, so now I have to count on you!

    Interesting, I switched to the classic view for your research problem, and now I can not get either back.

    And now, even with the normal display mode, I can't return the section overview.

  • How to create a layout three columns of expandable width?

    Hi all

    Using JDeveloper 12.1.3.

    I am trying to create a three-column page layout, two rows, with the column widths of 40%, 10%, 40% and 50% line heights, 50%.  If it's important, the middle column could be a fixed width.  In HTML, it would be something like below:


    <table>
         <tr style="height:50%">
              <td rowspan="2" style="width:40%"></td>
              <td rowspan="2" style="width:10%"></td>
              <td style="width:40%"></td>
         </tr>
         <tr  style="height:50%">
              <td></td>
         </tr>
    </table>  
    

    Any suggestions on how I would go all this in the ADF?  < af:panelSplitter > does not have a % value and < af:gridLayout > is not working correctly or the other.

    I intend to put the tables completely stretched in the 1st and 3rd columns and a group of buttons in the 2nd column.  The end result is looks a bit like a personalized shuttle component.

    Hello

    Why do you use for the design of ADF page html tags?

    for use of three column layout - panelStrtechLayout

    She start, Center, end, high and low side and you can set the width in pixels for each facet according to your requirement

    Here's the value upper and lower facet width 0px use only 3 columns

    Thank you

  • I was unable to copy a text of three columns in the layout of text.

    Hi all

    Referring to the Lightroom 5.7 x Version: as mentioned in the subject line: I want to have a text of three columns on a page (text of three different languages). I've edited the text in Word 2013 and copied into the full text page in the book module, but the format did not show up. Does anyone know a work around to get this resolved?

    Thanks and greetings

    uepeter

    You must open the triangle next to character in the Panel Type and set the columns to 3. Then paste the text and format to suit.

  • I tried to view my tabs on other computers and received this message: XML Parsing Error: undefined entity location: on: sync-tabs line number 7, column 1: the window id = "tabs-display" ^ How can I fix?

    "Error message has been: XML Parsing Error: undefined entity location: on: sync-tabs line number 7, column 1: window (weeks =" "3 =" "4 =" "5 =" "7 =" "< =" "^ =" "a =" "Add - on. =" "it y =" ' am = "" a = "" and = "" are = "" avg = "" believe = "" time = "" but = "" impossible = "" some = "" computers = "" firefox = "" for = "" I = "" I = "" id = 'tabs-view' in = "" installed.. = "" it = "" months) = "" = "" on. "" "" "" "" = "" or = "" other = "" p = "" paid = "" remember = "" running = "" sometimes = "" sync = "" tabs = "" version = "" look a = "" was = "" we = "" some = "" when = "" windows = "" worked = "" > < / window > "

    Hello!

    Can you give us some details? When this message display? Is in your phone or your computer? What is your language? More information you can give us the best.

    You use the add-on and Firefox 4? If so, I'll ask you to disable and remove the add-on: Sync is now part of the Firefox browser and you don't need the add-on. [https://bugzilla.mozilla.org/show_bug.cgi?id=644894 some users solved this problem by uninstalling the add-on.]
    ]

  • Divide the line into several columns

    Hi all

    I have a question where I want to divide the line into multiple columns based on the delimiter ' |'.

    Staging of Table structure: People_STG, I have people in it.

    Create table People_STG(col1 varchar2(4000));


    Insert into People_STG(Emp_id|) User name | FirstName. LastName. JobTitle | hire_date | Location_id)


    SELECT REGEXP_SUBSTR ( COL1, '[^,|]+', 1, 1) EMP_ID,
           REGEXP_SUBSTR ( COL1, '[^|]+', 1, 2) USERNAME,
           REGEXP_SUBSTR ( COL1, '[^,|]+', 1, 3) FIRSTNAME,
           REGEXP_SUBSTR ( COL1, '[^,|]+', 1, 4) LASTNAME,
           REGEXP_SUBSTR ( COL1, '[^,|]+', 1, 5) JOBTITLE,
           REGEXP_SUBSTR ( COL1, '[^,|]+', 1, 6) HIRE_DATE,
           REGEXP_SUBSTR ( COL1, '[^,|]+', 1, 7) LOCATION_ID
    FROM PEOPLE_STG
    WHERE length(regexp_replace(COL1, '[^|]', '')) = 14;
    

    But I am facing a problem here, as in some lines, function is null, but when I run the above query, it is not recognizing the empty element and inserting Hire_date values of function and location_id in Hire_date where function is null.

    for example: 1 | akash51 | Akaksh | C | 22/11/14 | 15

    Here the function is null, so when I run top to divide query it will insert 11/22/14 in the function column and 15 in Hire_Date.

    Please need help on this one.

    Oracle Version: 11.2 g

    Thanks in advance,

    Akash.

    There are different techniques to cope with this.  Is a simple...

    SQL > ed
    A written file afiedt.buf

    1 with t as (select 1 | akash51 |) Akaksh | C | 22/11/14 | 15' as col1 of union double all the
    2 Select 2 | akash52 | Akaksh | C | Jobs jobs | 23/11/14 | 15' of the double
    3            )
    4  --
    5. end of test data
    6  --
    7 select trim (REGEXP_SUBSTR (COL1, ' [^, |] +', 1, 1)) EMP_ID,.
    8 toppings (REGEXP_SUBSTR (COL1, ' [^, |] +', 1, 2)) USERNAME,.
    9 garnish (REGEXP_SUBSTR (COL1, ' [^, |] +' 1, 3)) FIRSTNAME,
    10 pads (REGEXP_SUBSTR (COL1, ' [^, |] +' 1, 4)) LASTNAME,.
    11 garnish (REGEXP_SUBSTR (COL1, ' [^, |] +' 1, 5)) JOBTITLE,.
    12 pads (REGEXP_SUBSTR (COL1, ' [^, |] +', 1, 6)) HIRE_DATE,.
    13 garnish (REGEXP_SUBSTR (COL1, ' [^, |] +' 1, 7)) location_id
    14 * from (select replace (col1, ' |)) ',' | as col1 of t)
    SQL > /.

    EMP_ID USERNAME FIRSTNAME LASTNAME, JOBTITLE HIRE_DATE LOCATION_I
    ---------- ---------- ---------- ---------- ---------- ---------- ----------
    1 akash51 Akaksh C 22/11/14 15
    2 akash52 Akaksh C Job 23/11/14 15

  • About concatation, all the lines in a column

    Dear friends,

    I have to concatinate all lines as a column based on a whim of the key column.

    col1col2COL3COL4col5
    481TC_View4TC_View_A
    381TC_View3TC_View_B
    281TC_View2TC_View_C
    181TC_View1TC_View_D
    I need output like below
    col2col5
    81TC_View_A, TC_View_B, TC_View_C, TC_View_D

    I appreciate your help in this regard.

    Thank you

    Ravi

    Hi Ravi,

    That's exactly what the aggregate LISTAGG function:

    SELECT col2

    , LISTAGG (col5, ' / ') WITHIN GROUP (ORDER BY col5) AS all_col5s

    FROM table_x

    GROUP BY col2

    ORDER BY col2

    ;

    If you would care to post CREATE TABLE and INSERT statements for your sample data, and then I could test this.

  • lines to the column and summation

    Hi everyone, I am using oracle 10g consider the following data:

    WITH the data as {}

    SELECT 'XTR' mntrid, ctid 'AAA', ' hi tech' description, code "SPRING", 123.23 amount OF double UNION ALL

    SELECT 'XTR' mntrid, ctid 'AAA', ' hi tech' description, code "SPRING", 111.23 amount OF double UNION ALL

    SELECT 'XTR' mntrid, ctid 'AAA', ' hi tech' description, code to 'PAY', 666.23 amount OF the dual UNION ALL

    SELECT 'XTR' mntrid, ctid 'AAA', ' hi tech' description, code to 'PAY', 888.23 amount OF the double UNION

    SELECT "XTR2' mntrid, ctid 'BBB', ' Hi tech2' description, code to 'PAY', 333.23 amount OF the dual UNION ALL

    SELECT "XTR2' mntrid, ctid 'BBB', ' Hi tech2' description, code to 'PAY', 222.23 amount OF double UNION ALL

    SELECT mntrid "XTR3", "CCC" ctid, ' hi tech 3 ' description, code 'PC', 777.23 amount OF double

    }

    I would like secret lines at column and add the amounts.  my output should be like this

    MNTRID CTID DESCRIPTION MAIN PC PAYROLL

    XTR AAA hi tech 234,46 1554.46

    XTR2 BBB Hi tech2 555.46

    CCC XTR3 Hi Tech 3 777.23

    what I do is converting lines to the column and the display of the sum.  for example, for mntrid = XTR I get the sum of all MAIN lines and the lines all PAY and PC.

    Since there is no line of PC for XTR I display null.

    can someone help me write a query that displays the output in oracle 10g above?

    Hello

    elmasduro wrote:

    It's great Frank. Thank you very much.

    I have a request.  What happens if I want to add total main grad, wages, the pc? How would I do that.

    output

    Total general AFFID CTID DESCRIPTION MAIN PAY PC

    XTR AAA hi tech 234.46 1554,46 1788.92

    XTR2 BBB Hi tech2 555,46 555.46

    CCC XTR3 Hi Tech 3 777,23 777.23

    It's just plain old garden-variety SUM:

    SELECT Mntrid

    ctid

    Description

    , SUM (CASE WHEN code = "MAIN" THEN rise END) AS main

    , SUM (CASE code WHEN = "SALARY" THEN rise END) AS pay

    , SUM (CASE WHEN code = 'PC', THEN rise END) AS pc

    , The SUM of (amount) AS grand_total-* NEW *.

    FROM the data

    GROUP BY mntrid

    ctid

    Description

    ;

  • Last lines of a column disappear

    Hello

    I have InDesign CC 2015 and I use it with OS Yosemite. I had several problems, including frequent them crashing. Now there's a new: the last lines of a column at the end of the page disappear and jump into the next column. I tried to solve the problem in a number of ways: save the original Word document as a .txt, by copying and pasting, exporting the identity as IDML document. I even checked the disk permissions on my hard drive. All useless. Any suggestions?

    Thank you.

    Mira Caselius

    This is caused by an Option keep, probably in the style of paragraph of this subsection or after it.

  • Failed to insert a new line with a column generated sequence id

    Hello

    I'm trying to insert a new row in a table containing a column of sequence according to db, used as the primary key.

    Here is the code for the custom method of the corresponding AM I use to insert the new line:

    Line row2 = getCaAppointments1 () .createRow ();
    row2.SetAttribute ("Member ID", Member ID);
    row2.SetAttribute ("Status", "Planned");
    row2.SetAttribute ("CreatedBy", coachId);
    row2.SetAttribute ("CreationDate", date);
    AppointmentId will be generated by the sequence
    DBSequence newId = row2.getAttribute("AppointmentId") (DBSequence);
    SequenceImpl s = new SequenceImpl ("XX_CA_APPOINTMENT_ID", getDBTransaction());
    Long next = newId.getSequenceNumber () .longValue ();
    System.out.println ("Got sequence as id:" + newId);
    row2.SetAttribute ("AppointmentId", newId);
    row2.SetAttribute ("CoachId", coachId);
    row2.SetAttribute ("Type", "0");
    row2.SetAttribute ("AppointmentNumber", 0);
    row2.SetAttribute ("PlannedDate", Department of justice);
    getCaAppointments1 (.insertRow (row2));

    I put the attribute EO 'AppointmentId' to use a DBSequence. I tried different combinations to get the sequence Id and insert a line. Nothing worked well and I'm unable to insert a new line.

    If I avoid using the attribute 'AppointmentId' and that you try to insert a row, it will fail with the error below:

    ORA-01400: cannot insert NULL into ('APPS'. "" "" XX_CA_APPOINTMENTS '. "" APPOINTMENT_ID") ORA-06512: at line 1

    Tried to insert the new row using BCTester but I am struck by the same error it (I was unable to change the value of the "AppointmentId" column when inserting the line because this column is read-only and it showed as - 2 value).

    I guess, since the attribute of column/is already marked to use a DBSequence, the value should be assigned by default and I shouldn't hit "cannot insert the value NULL to the column.
    Did I miss something necessary to trigger the sequence to automatically generate new Id and assign it to the new line before it is created?

    Please let me know the fix.

    Thanks in advance
    Rouhaud

    Hello

    Oracle changes this behavior each version, so I hope that its still OK.
    If you have a trigger on the table that inserts the value of the id if none is preset, then mark it as DBSequence, or be it the number.

    Now for your entity, just generate the impl class and override the method create, kind of old school, I know, but it never fails.
    In the create just add the code to your sequence you had:

    SequenceImpl seqImpl = new SequenceImpl("", thisTransaction);
    Number idValue= s.getSequenceNumber();
    setAttribute("Id", idValue);
    

    -Anton

  • Problem with displaying even field in three columns

    Hello
    I use developer reports 11g and I created a report that only shows a field (column), which is the id_number as output but I have a problem now.
    I would like to display the id_number in three columns on one page to save paper, that is, I want to show the 20 first id_numbers (1-20) in a column down, and then display the next 20 id_numbers (21-40) on the second column on the same page and 20 (41-60) on the third column always on the same page. If there are more than 60 id_numbers, they should be printed on the next page into three columns, and so on until all id_numbers are displayed. How can I achieve this? Could you help me please?
    Thank you.

    You are welcome.

  • lines to the column for large number of files

    my version of the database is 10 gr 2


    I want to transfer the lines to the column... .i have seen examples of small no records, but how can it be done if there are more the 1,000 records in a table...?

    Here is the example of data I'd like to change to column
    SQL> /
    
    NE              RAISED                         CLEARED                        RTTS_NO        RING                                                                               
    --------------- ------------------------------ ------------------------------ -------------- -----------------------------------------------------------------------------------
    10100000-1LU    22-FEB-2011 22:01:04/28-FEB-20 22-FEB-2011 22:12:27/28-FEB-20                SR-10/ ER-16/ CR-25/ CR-29/ CR-26/ RIDM-1/ NER5/ CR-31/ RiC600-1                   
                    11 01:25:22/                   11 02:40:06/
    
    10100000-2LU    01-FEB-2011 12:15:58/06-FEB-20 05-FEB-2011 10:05:48/06-FEB-20                RIMESH/ RiC342-1/ 101/10R#10/ RiC558-1/ RiC608-1                                   
                    11 07:00:53/18-FEB-2011 22:04: 11 10:49:18/18-FEB-2011 22:15:
                    56/19-FEB-2011 10:36:12/19-FEB 17/19-FEB-2011 10:41:35/19-FEB
                    -2011 11:03:13/19-FEB-2011 11: -2011 11:08:18/19-FEB-2011 11:
                    16:14/28-FEB-2011 01:25:22/    21:35/28-FEB-2011 02:40:13/
    
    10100000-3LU    19-FEB-2011 20:18:31/22-FEB-20 19-FEB-2011 20:19:32/22-FEB-20                INR-1/ ISR-1                                                                       
                    11 21:37:32/22-FEB-2011 22:01: 11 21:48:06/22-FEB-2011 22:12:
                    35/22-FEB-2011 22:20:03/28-FEB 05/22-FEB-2011 22:25:14/28-FEB
                    -2011 01:25:23/                -2011 02:40:20/
    
    10100000/10MU   06-FEB-2011 07:00:23/19-FEB-20 06-FEB-2011 10:47:13/19-FEB-20                101/IR#10                                                                          
                    11 11:01:50/19-FEB-2011 11:17: 11 11:07:33/19-FEB-2011 11:21:
                    58/28-FEB-2011 02:39:11/01-FEB 30/28-FEB-2011 04:10:56/05-FEB
                    -2011 12:16:21/18-FEB-2011 22: -2011 10:06:10/18-FEB-2011 22:
                    03:27/                         13:50/
    
    10100000/11MU   01-FEB-2011 08:48:45/22-FEB-20 02-FEB-2011 13:15:17/22-FEB-20 1456129/       101IR11 RIMESH                                                                     
                    11 21:59:28/22-FEB-2011 22:21: 11 22:08:49/22-FEB-2011 22:24:
                    52/01-FEB-2011 08:35:46/       27/01-FEB-2011 08:38:42/
    
    10100000/12MU   22-FEB-2011 21:35:34/22-FEB-20 22-FEB-2011 21:45:00/22-FEB-20                101IR12 KuSMW4-1                                                                   
                    11 22:00:04/22-FEB-2011 22:21: 11 22:08:21/22-FEB-2011 22:22:
                    23/28-FEB-2011 02:39:53/       26/28-FEB-2011 02:41:07/
    
    10100000/13MU   22-FEB-2011 21:35:54/22-FEB-20 22-FEB-2011 21:42:58/22-FEB-20                LD MESH                                                                            
                    11 22:21:55/22-FEB-2011 22:00: 11 22:24:52/22-FEB-2011 22:10:

    could you do something like that?

    with t as (select '10100000-1LU' NE,   '22-FEB-2011 22:01:04/28-FEB-2011 01:25:22/' raised ,  '22-FEB-2011 22:12:27/28-FEB-2011 02:40:06/' cleared from dual union
                  select '10100000-2LU', '01-FEB-2011 12:15:58/06-FEB-2011 07:00:53/18-FEB-2011 22:04:56/19-FEB-2011 10:36:12/19-FEB-2011 11:03:13/19-FEB-2011 11:16:14/28-FEB-2011 01:25:22/',
                  '05-FEB-2011 10:05:48/06-FEB-2011 10:49:18/18-FEB-2011 22:15:17/19-FEB-2011 10:41:35/19-FEB-2011 11:08:18/19-FEB-2011 11:21:35/28-FEB-2011 02:40:13/' from dual
                     )
    select * from(
    select NE,   regexp_substr( raised,'[^/]+',1,1) raised, regexp_substr( cleared,'[^/]+',1,1) cleared  from t
    union
    select NE,   regexp_substr( raised,'[^/]+',1,2) , regexp_substr( cleared,'[^/]+',1,2) cleared  from t
    union
    select NE,   regexp_substr( raised,'[^/]+',1,3) , regexp_substr( cleared,'[^/]+',1,3) cleared  from t
    union
    select NE,   regexp_substr( raised,'[^/]+',1,4) , regexp_substr( cleared,'[^/]+',1,4) cleared  from t
    union
    select NE,   regexp_substr( raised,'[^/]+',1,5) , regexp_substr( cleared,'[^/]+',1,5) cleared  from t
    union
    select NE,   regexp_substr( raised,'[^/]+',1,6) , regexp_substr( cleared,'[^/]+',1,6) cleared  from t
    union
    select NE,   regexp_substr( raised,'[^/]+',1,7) , regexp_substr( cleared,'[^/]+',1,7) cleared  from t
    union
    select NE,   regexp_substr( raised,'[^/]+',1,8) , regexp_substr( cleared,'[^/]+',1,8) cleared  from t
    union
    select NE,   regexp_substr( raised,'[^/]+',1,9) , regexp_substr( cleared,'[^/]+',1,9) cleared  from t
    union
    select NE,   regexp_substr( raised,'[^/]+',1,10) , regexp_substr( cleared,'[^/]+',1,10) cleared  from t
    union
    select NE,   regexp_substr( raised,'[^/]+',1,11) , regexp_substr( cleared,'[^/]+',1,11) cleared  from t
    )
    where nvl(raised,cleared) is not null
    order by ne
    
    NE     RAISED     CLEARED
    10100000-1LU     28-FEB-2011 01:25:22     28-FEB-2011 02:40:06
    10100000-1LU     22-FEB-2011 22:01:04     22-FEB-2011 22:12:27
    10100000-2LU     28-FEB-2011 01:25:22     28-FEB-2011 02:40:13
    10100000-2LU     19-FEB-2011 10:36:12     19-FEB-2011 10:41:35
    10100000-2LU     19-FEB-2011 11:03:13     19-FEB-2011 11:08:18
    10100000-2LU     19-FEB-2011 11:16:14     19-FEB-2011 11:21:35
    10100000-2LU     06-FEB-2011 07:00:53     06-FEB-2011 10:49:18
    10100000-2LU     01-FEB-2011 12:15:58     05-FEB-2011 10:05:48
    10100000-2LU     18-FEB-2011 22:04:56     18-FEB-2011 22:15:17
    

    You should be able to do without all these unions using a connection by but I can't quite make it work
    the following does not work, but perhaps someone can answer.

    select NE,   regexp_substr( raised,'[^/]+',1,level) raised, regexp_substr( cleared,'[^/]+',1,level) cleared from t
     connect by  prior  NE = NE and   regexp_substr( raised,'[^/]+',1,level) = prior regexp_substr( raised,'[^/]+',1,level + 1)
    

    Published by: pollywog on March 29, 2011 09:38

    Here it is with the type clause that gets rid of all unions.

    WITH t
            AS (SELECT '10100000-1LU' NE,
                       '22-FEB-2011 22:01:04/28-FEB-2011 01:25:22/' raised,
                       '22-FEB-2011 22:12:27/28-FEB-2011 02:40:06/' cleared
                  FROM DUAL
                UNION
                SELECT '10100000-2LU',
                       '01-FEB-2011 12:15:58/06-FEB-2011 07:00:53/18-FEB-2011 22:04:56/19-FEB-2011 10:36:12/19-FEB-2011 11:03:13/19-FEB-2011 11:16:14/28-FEB-2011 01:25:22/',
                       '05-FEB-2011 10:05:48/06-FEB-2011 10:49:18/18-FEB-2011 22:15:17/19-FEB-2011 10:41:35/19-FEB-2011 11:08:18/19-FEB-2011 11:21:35/28-FEB-2011 02:40:13/'
                  FROM DUAL)
      SELECT *
        FROM (SELECT NE, raised, cleared
                FROM t
              MODEL RETURN UPDATED ROWS
                 PARTITION BY (NE)
                 DIMENSION BY (0 d)
                 MEASURES (raised, cleared)
                 RULES
                    ITERATE (1000) UNTIL raised[ITERATION_NUMBER] IS NULL
                    (raised [ITERATION_NUMBER + 1] =
                          REGEXP_SUBSTR (raised[0],
                                         '[^/]+',
                                         1,
                                         ITERATION_NUMBER + 1),
                    cleared [ITERATION_NUMBER + 1] =
                          REGEXP_SUBSTR (cleared[0],
                                         '[^/]+',
                                         1,
                                         ITERATION_NUMBER + 1)))
       WHERE raised IS NOT NULL
    ORDER BY NE
    

    Published by: pollywog on March 29, 2011 10:34

  • Help please with three columns

    Hi all

    I was faced with a presentation of three columns to incorporate images inserted on the right. Please visit http://www.greenpatchwebsites.com/ridgeway/index2.html

    For now I've resorted to a background image, but I'm not satisfied with the quality and lack of positioning in relation to the text.

    I looked at a lot of sites false re / three columns etc. but I cannot get it to work. As you will see in the associated css there are a lot of divs because the area in full expansion and I get a mess.

    An expert here would be very welcome and thank you in advance.

    I was able to, or really get your point:

    Refer to the following image. This is how your page should be:

    • OuterWrapper that contains

      • Header
      • leftBar
      • MiddleBar
      • RightBar
      • Footer

    6 in all div tags will suffice. Make sure that you create these DIVs, as described by the borders. Then put your content accordingly.

    Kind regards

    Vinay

  • How to query start a new line in the column?

    How to query start a new line in the column?

    Exam

    SELECT ID, username | host name, details of xxx;

    on the 2 column, I need result below:

    Username ID | hostname in detail
    1 user1 xxxxxx
    host1
    2 user2 xxxxxx
    host2

    Kind regards
    Suradech

    Something like that?

    SQL> WITH tbl AS (SELECT 1 id,'user1' uname,'xxx' dtl,'host1' hname FROM DUAL UNION ALL
      2               SELECT 2 id,'user2' uname,'yyy' dtl,'host2' hname FROM DUAL UNION ALL
      3               SELECT 3 id,'user3' uname,'zzz' dtl,'host3' hname FROM DUAL
      4               )
      5  SELECT id,uname||dtl||chr(10)||hname FROM tbl;
    
            ID UNAME||DTL||CH
    ---------- --------------
             1 user1xxx
               host1
    
             2 user2yyy
               host2
    
             3 user3zzz
               host3
    
  • Each line in individual columns in a SQL query

    Hi Experts,
    BANNER                                                                          
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production          
    PL/SQL Release 11.1.0.7.0 - Production                                          
    CORE     11.1.0.7.0     Production                                                      
    TNS for 32-bit Windows: Version 11.1.0.7.0 - Production                         
    NLSRTL Version 11.1.0.7.0 - Production          
    -- DROP TABLE RENDER_VALUES;
    CREATE TABLE RENDER_VALUES
    (
        ID          INTEGER PRIMARY KEY,
        FIELD_NAME  VARCHAR2(1000),
        FIELD_VALUE VARCHAR2(1000)
    );
    INSERT INTO RENDER_VALUES(ID,FIELD_NAME,FIELD_VALUE)VALUES(1,'CropX','10.31234');
    INSERT INTO RENDER_VALUES(ID,FIELD_NAME,FIELD_VALUE)VALUES(2,'CropY','20.31234');
    INSERT INTO RENDER_VALUES(ID,FIELD_NAME,FIELD_VALUE)VALUES(3,'Height','100');
    INSERT INTO RENDER_VALUES(ID,FIELD_NAME,FIELD_VALUE)VALUES(4,'Width','200');
    COMMIT;
    SELECT FIELD_NAME,FIELD_VALUE FROM RENDER_VALUES;
    FIELD_NAME     FIELD_VALUE
    CropX          10.31234
    CropY          20.31234
    Height          100
    Width          200
    I need the output voltage:
    CropX          CropY          Height     Width
    10.31234     20.31234     100     200
    Just for example... I gave four values in the column field name... There may be values of number (n) to that and to get each line
    in individual columns... How can I do something like that?

    V dia

    Hello

    Here is an example of a VARCHAR2 variable usage in PL/SQL.

    VARIABLE     dj     REFCURSOR
    
    CREATE OR REPLACE FUNCTION           dept_by_job
    RETURN  SYS_REFCURSOR
    IS
         -- dept_by_job returns a SYS_REFCURSOR that has
         -- one row for every department in scott.emp and one
         -- column for every job, showing the number of employees
         -- in that department with that job.
    
         return_csr     SYS_REFCURSOR;
         select_txt     VARCHAR2 (5000);
    BEGIN
         -- 1st part of query is fixed
         select_txt := 'SELECT       deptno ';
    
         -- 2nd part of query depends on what's in the table
         FOR  r  IN ( SELECT DISTINCT  job
                        FROM              scott.emp
                   ORDER BY            job
                 )
         LOOP
              select_txt := select_txt || ', COUNT (CASE WHEN job = '''
                                    || r.job
                              || '''     THEN 1 END)     AS '
                              || r.job
                              || '_cnt ';
         END LOOP;
    
         -- Last part of query is fixed
         select_txt := select_txt || ' FROM       scott.emp'
                               || ' GROUP BY       deptno'
                         || ' ORDER BY       deptno';
    
         OPEN  return_csr
         FOR   select_txt;
    
         RETURN  return_csr;
    END     dept_by_job
    ;
    /
    SHOW ERRORS
    
    EXEC  :dj := dept_by_job;
    
    PRINT :dj
    

    Otherwise, as you have provided a test table, here's an example suitable for your test table:

    CREATE OR REPLACE FUNCTION           pivot_rv
    RETURN  SYS_REFCURSOR
    IS
         return_csr     SYS_REFCURSOR;
         select_txt     VARCHAR2 (5000);
    BEGIN
         -- 1st part of query is fixed
         select_txt := 'SELECT       ';
    
         -- 2nd part of query depends on what's in the table
         FOR  r  IN ( SELECT DISTINCT  field_name
                        ,                    ROW_NUMBER () OVER (ORDER BY id)     AS rnum
                        FROM              render_values
                   ORDER BY            rnum
                 )
         LOOP
              select_txt := select_txt || CASE
                                   WHEN  r.rnum > 1
                                   THEN  ','
                                       END
                                    || 'MAX (CASE WHEN field_name = '''
                                    || r.field_name
                              || '''     THEN field_value END)     AS "'
                              || r.field_name
                              || '"';
         END LOOP;
    
         -- Last part of query is fixed
         select_txt := select_txt || ' FROM      render_values';
    
         OPEN  return_csr
         FOR   select_txt;
    
         RETURN  return_csr;
    END     pivot_rv
    ;
    

    Published by: Frank Kulash, January 15, 2010 10:42

Maybe you are looking for

  • Windows 7 install professional help

    I want to buy Windows 7 Professional to install on my computer which is now Windows XP Pro SP3. I don't want to lose all my apps, documents, emails etc. so I would really like to do a professional conversion. I don't know how to find a pro that I can

  • WiFi driver for HP 15 r0006TX

    Hello I'm not able to find the Wifidrivers for my laptop HP 15 r0006tx, I use windows 7 64-bit OS. I installed the driver of network which enabled the LAN but not able to see the wireless connection icon in the system tray. The Wifi led on the wifi o

  • Monitor VGA connect to laptop

    How to connect a vga monitor to my inspiron n7010 just to verify that the monitor is the device?

  • Update hard drive of 320 GB to 1 TB

    I'm running out of space in my HD (320 GB).  I used the windows backup and restore for full backup of my drive and then did a full restore for the bigger drive.  The problem was that the program kept them were leaving the same size as the original dr

  • BlackBerry Smartphones why don't my characters the show SMSing left?

    I have the 9900 and I don't get free texts, so I need to know the number of characters I have left. All phones tend to show it. Is this a setting turned off?