Editing a Table using ice

Hello

I have developed a website that includes a table showing a list of log entries.

Using InContext Editing works fine on all other areas in the Web site... .but my clients complain that they cannot use to (1) increase / decrease the size of the table add/remove journal entries or (2) use the built-in CSS styles to change the color of the row/column (for example).

I would be very grateful for all the help and a solution to this problem.

Best wishes, Simon

Very well... With the help of your code (as is - shown above)...

This is the code that I created, using "repeatable group", "repeated regions", "editable regions"...

NOTE * wrap the table with "tbody" instead of using all of the

as the "extensible" Group (there another reason that I will not go, but you will get better results in the end). Dreamweaver will try to wrap up the whole
by default.


 
   
     
       
       
       
     
     
       
       
       
     
     
       
       
       
     
   
 
DATEMEETING / EVENTHOST
Dec 11Working Group of airlines

(Airspace)
CAA
14 DecAviation health
Working Group
DfT

With this code, I got these results in the ice:

"Options are ""Add region ' - 'region to duplicate' - ' delete region' - 'Move Up or Down'

That should do it for you... Let me know if you have any other questions...

Good luck

- Tom

Tags: InContext Editing

Similar Questions

  • Please I want to know can I use rich text editing like table, font... color in Thunderbird

    Please I want to know can I use rich text editing like table, font... color in Thunderbird

    Yes, you simply dial your email in HTML mode, which supports Thunderbird. If you search online you will find many, many guides on this topic.

    See you soon,.
    Dave

  • Change the Tables using Incontext?

    How I can change tables using Incontext or is there a better way to display the information?  I have the code from the table below.

    Thank you

    Jeremy

    < table width = "100%" border = "0" >
    < b >
    < td colspan = "4" align = "center" > < strong class = "schedule_header" > Varsity schedule/results < facilities > < table >
    < /tr >
    < class tr = "schedule_text" >
    < td align = "center" class = "schedule_text" > < Date strong > < / strong > < table >
    < td align = "center" > < strong > time < facilities > < table >
    < td align = "center" > < strong > opponent < facilities > < table >
    < td align = "center" > < strong location > < / strong > < table >
    < /tr >
    < b >
    < td align = "left" > < span class = "schedule_text" > Friday, September 4, 2009 </span > < table >
    < td align = "left" > < span class = "schedule_text" > 19:00 </span > < table >
    < td align = "left" > < span class = "schedule_text" > Richfield </span > < table >
    < td align = "left" > < span class = "schedule_text" > Richfield high school </span > < table >
    < /tr >
    < b >
    < td align = "left" > < span class = "schedule_text" > Friday, September 11, 2009 </span > < table >
    < td align = "left" > < span class = "schedule_text" > 19:00 </span > < table >
    < td align = "left" > < span class = "schedule_text" > St. Thomas Academy </span > < table >
    < td align = "left" > < span class = "schedule_text" > current school </span > < table >
    < /tr >
    < b >
    < td align = "left" > < span class = "schedule_text" > Friday, September 18, 2009 </span > < table >
    < td align = "left" > < span class = "schedule_text" > 19:00 </span > < table >
    < td align = "left" > < span class = "schedule_text" > Tartan </span > < table >
    < td align = "left" > < span class = "schedule_text" > Tartan school </span > < table >
    < /tr >
    < b >
    < td align = "left" > < span class = "schedule_text" > Friday, September 25, 2009 </span > < table >
    < td align = "left" > < span class = "schedule_text" > 19:00 </span > < table >
    < td align = "left" > < span class = "schedule_text" > Henry Sibley </span > < table >
    < td align = "left" > < span class = "schedule_text" > current school </span > < table >
    < /tr >
    < b >
    < td align = "left" > < span class = "schedule_text" > Friday, October 2, 2009 </span > < table >
    < td align = "left" > < span class = "schedule_text" > 19:00 </span > < table >
    < td align = "left" > < span class = "schedule_text" > Mahtomedi </span > < table >
    < td align = "left" > < span class = "schedule_text" > Mahtomedi </span > < table >
    < /tr >
    < b >
    < td align = "left" > < span class = "schedule_text" > Friday, October 9, 2009 </span > < table >
    < td align = "left" > < span class = "schedule_text" > 19:00 </span > < table >
    < td align = "left" > < span class = "schedule_text" > North High School </span > < table >
    < td align = "left" > < span class = "schedule_text" > current school </span > < table >
    < /tr >
    < b >
    < td align = "left" > < span class = "schedule_text" > Wednesday, October 14, 2009 </span > < table >
    < td align = "left" > < span class = "schedule_text" > 19:00 </span > < table >
    < td align = "left" > < span class = "schedule_text" > South St. Paul </span > < table >
    < td align = "left" > < span class = "schedule_text" > current school </span > < table >
    < /tr >
    < b >
    < td align = "left" > < span class = "schedule_text" > Wednesday, October 21, 2009 </span > < table >
    < td align = "left" > < span class = "schedule_text" > 19:30 </span > < table >
    < td align = "left" > < span class = "schedule_text" > Chanhassen </span > < table >
    < td align = "left" > < span class = "schedule_text" > Chanhassen high school </span > < table >
    < /tr >
    < b >
    < td align = "left" > < table >
    < td align = "left" > < table >
    < td align = "left" > < table >
    < td align = "left" > < table >
    < /tr >
    < b >
    < td colspan = "4" align = "center" class = "schedule_header" > < strong B team schedule/results > < / strong > < table >
    < /tr >
    < b >
    < td align = "center" class = "schedule_text" > < Date strong > < / strong > < table >
    < td align = "center" class = "schedule_text" > < strong > time < facilities > < table >
    < td align = "center" class = "schedule_text" > < strong > opponent < facilities > < table >
    < td align = "center" class = "schedule_text" > < strong location > < / strong > < table >
    < /tr >
    < b >
    < td align = "left" class = "schedule_text" > Thursday, September 3, 2009 < table >
    < td align = "left" class = "schedule_text" > 16:00 < table >
    < td align = "left" class = "schedule_text" > < table > Richfield
    < td align = "left" class = "schedule_text" > school Richfield < table >
    < /tr >
    < b >
    < td align = "left" class = "schedule_text" > Thursday, September 10, 2009 < table >
    < td align = "left" class = "schedule_text" > 16:00 < table >
    < td align = "left" class = "schedule_text" > Academy St. Thomas < table >
    < td align = "left" class = "schedule_text" > current < table > school
    < /tr >
    < b >
    < td align = "left" class = "schedule_text" > Thursday, September 17, 2009 < table >
    < td align = "left" class = "schedule_text" > 16:00 < table >
    < td align = "left" class = "schedule_text" > < table > Tartan
    < td align = "left" class = "schedule_text" > high school Tartan < table >
    < /tr >
    < b >
    < td align = "left" class = "schedule_text" > Thursday, September 24, 2009 < table >
    < td align = "left" class = "schedule_text" > 16:00 < table >
    < td align = "left" class = "schedule_text" > Henry Sibley < table >
    < td align = "left" class = "schedule_text" > current < table > school
    < /tr >
    < b >
    < td align = "left" class = "schedule_text" > Thursday, October 1, 2009 < table >
    < td align = "left" class = "schedule_text" > 16:00 < table >
    < td align = "left" class = "schedule_text" > < table > Mahtomedi
    < td align = "left" class = "schedule_text" > Mahtomedi high school < table >
    < /tr >
    < b >
    < td align = "left" class = "schedule_text" > Thursday, October 8, 2009 < table >
    < td align = "left" class = "schedule_text" > 16:00 < table >
    < td align = "left" class = "schedule_text" > North High School < table >
    < td align = "left" class = "schedule_text" > current < table > school
    < /tr >
    < b >
    < td align = "left" class = "schedule_text" > Tuesday, October 13, 2009 < table >
    < td align = "left" class = "schedule_text" > 16:00 < table >
    < td align = "left" class = "schedule_text" > South St. Paul < table >
    < td align = "left" class = "schedule_text" > current < table > school
    < /tr >
    < b >
    < td align = "left" class = "schedule_text" > < table >
    < td align = "left" class = "schedule_text" > < table >
    < td align = "left" class = "schedule_text" > < table >
    < td align = "left" class = "schedule_text" > < table >
    < /tr >
    < b >
    < td colspan = "4" align = "center" class = "schedule_header" > < rank of 9th forts > calendar/results < facilities > < table >
    < /tr >
    < b >
    < td align = "center" class = "schedule_text" > < Date strong > < / strong > < table >
    < td align = "center" class = "schedule_text" > < strong > time < facilities > < table >
    < td align = "center" class = "schedule_text" > < strong > opponent < facilities > < table >
    < td align = "center" class = "schedule_text" > < strong location > < / strong > < table >
    < /tr >
    < b >
    < td align = "left" class = "schedule_text" > Friday, September 4, 2009 < table >
    < td align = "left" class = "schedule_text" > 15:45 < table >
    < td align = "left" class = "schedule_text" > < table > Richfield
    < td align = "left" class = "schedule_text" > current < table > school
    < /tr >
    < b >
    < td align = "left" class = "schedule_text" > Friday, September 11, 2009 < table >
    < td align = "left" class = "schedule_text" > 15:45 < table >
    < td align = "left" class = "schedule_text" > Academy St. Thomas < table >
    < td align = "left" class = "schedule_text" > St. Thomas Conservatorium < table >
    < /tr >
    < b >
    < td align = "left" class = "schedule_text" > Friday, September 18, 2009 < table >
    < td align = "left" class = "schedule_text" > 15:45 < table >
    < td align = "left" class = "schedule_text" > < table > Tartan
    < td align = "left" class = "schedule_text" > current < table > school
    < /tr >
    < b >
    < td align = "left" class = "schedule_text" > Friday, September 25, 2009 < table >
    < td align = "left" class = "schedule_text" > 15:45 < table >
    < td align = "left" class = "schedule_text" > Henry Sibley < table >
    < td align = "left" class = "schedule_text" > high school Henry Sibley < table >
    < /tr >
    < b >
    < td align = "left" class = "schedule_text" > Friday, October 2, 2009 < table >
    < td align = "left" class = "schedule_text" > 15:45 < table >
    < td align = "left" class = "schedule_text" > < table > Mahtomedi
    < td align = "left" class = "schedule_text" > current < table > school
    < /tr >
    < b >
    < td align = "left" class = "schedule_text" > Friday, October 9, 2009 < table >
    < td align = "left" class = "schedule_text" > 15:45 < table >
    < td align = "left" class = "schedule_text" > North High School < table >
    < td align = "left" class = "schedule_text" > < table > TBA
    < /tr >
    < b >
    < td align = "left" class = "schedule_text" > Wednesday, October 14, 2009 < table >
    < td align = "left" class = "schedule_text" > 15:45 < table >
    < td align = "left" class = "schedule_text" > South St. Paul < table >
    < td align = "left" class = "schedule_text" > SSP - Ettinger Field < table >
    < /tr >
    < b >
    < td align = "left" class = "schedule_text" > < table >
    < td align = "left" class = "schedule_text" > < table >
    < td align = "left" class = "schedule_text" > < table >
    < td align = "left" class = "schedule_text" > < table >
    < /tr >
    < b >
    < td align = "left" class = "schedule_text" > < table >
    < td align = "left" class = "schedule_text" > < table >
    < td align = "left" class = "schedule_text" > < table >
    < td align = "left" class = "schedule_text" > < table >
    < /tr >
    < /table >

    Event is on line.

    You could use a region group repeated on the TBODY element around each section of calendar/results and have a region that is repeated for each event. The cells in a table to the line of the event could be regions editable for details of the event.

    In this way, you can add, remove, rearrange and change events.

    You cannot use another repeating region group to manage the categories of events (Add/Remove) (Varsity, team B, 9th year) because of the repeating region groups cannot be nested.

    Here is the code:


                                         

                                            Varsity schedule/results
                                         
                                         
                                            Date
                                            Time
                                            Opponent
                                            Location
                                         
                   
                                         
                                            Friday, September 4, 2009
                                            19:00
                                            Richfield
                                            Richfield High School
                                         
                                         
                                            Friday, September 11, 2009
                                            19:00
                                            School of Saint Thomas
                                            Current High School
                                         
                                         
                                            Friday, September 18, 2009
                                            19:00
                                            Tartan
                                            Tartan high school
                                         
                                         
                                            Friday, September 25, 2009
                                            19:00
                                            Henry Sibley
                                            Current High School
                                         
                                         
                                            Friday, October 2, 2009
                                            19:00
                                            Mahtomedi
                                            Mahtomedi
                                         
                                         
                                            Friday, October 9, 2009
                                            19:00
                                            North High School
                                            Current High School
                                         
                                         
                                            Wednesday, October 14, 2009
                                            19:00
                                            South St. Paul
                                            Current High School
                                         
                                         
                                            Wednesday, October 21, 2009
                                            19:30
                                            Chanhassen
                                            Chanhassen High School
                                         
                                         
                                           
                                           
                                           
                                           
                                         
                   
                                         
                                            B team schedule/results
                                         
                                         
                                            Date
                                            Time
                                            Opponent
                                            Location
                                         
                   
                                         
                                            Thursday, September 3, 2009
                                            16:00
                                            Richfield
                                            Richfield High School
                                         
                                         
                                            Thursday, September 10, 2009
                                            16:00
                                            School of Saint Thomas
                                            Current High School
                                         
                                         
                                            Thursday, September 17, 2009
                                            16:00
                                            Tartan
                                            Tartan high school
                                         
                                         
                                            Thursday, September 24, 2009
                                            16:00
                                            Henry Sibley
                                            Current High School
                                         
                                         
                                            Thursday, October 1st, 2009
                                            16:00
                                            Mahtomedi
                                            Mahtomedi High School
                                         
                                         
                                            Thursday, October 8, 2009
                                            16:00
                                            North High School
                                            Current High School
                                         
                                         
                                            Tuesday, October 13, 2009
                                            16:00
                                            South St. Paul
                                            Current High School
                                         
                                         
                                           
                                           
                                           
                                           
                                         
                   
                                         
                                            9th grade schedule/results
                                         
                                         
                                            Date
                                            Time
                                            Opponent
                                            Location
                                         
                   
                                         
                                            Friday, September 4, 2009
                                            15:45
                                            Richfield
                                            Current High School
                                         
                                         
                                            Friday, September 11, 2009
                                            15:45
                                            School of Saint Thomas
                                            St. Thomas Academy
                                         
                                         
                                            Friday, September 18, 2009
                                            15:45
                                            Tartan
                                            Current High School
                                         
                                         
                                            Friday, September 25, 2009
                                            15:45
                                            Henry Sibley
                                            Henry Sibley High School
                                         
                                         
                                            Friday, October 2, 2009
                                            15:45
                                            Mahtomedi
                                            Current High School
                                         
                                         
                                            Friday, October 9, 2009
                                            15:45
                                            North High School
                                            TBA
                                         
                                         
                                            Wednesday, October 14, 2009
                                            15:45
                                            South St. Paul
                                            SSP - field Ettinger
                                         
                                         
                                           
                                           
                                           
                                           
                                         
                                         
                                           
                                           
                                           
                                           
                                         
                       
                                    

    Kind regards

    Dan Popa

  • Creating external Tables using the EXECUTE IMMEDIATE in PL/SQL

    Hi guys,.

    I am trying to create an external Table using the EXECUTE IMMEDIATE in a procedure and I managed to compile and no errors were generated. But when I try to run it from sql using the exec command I get the following error:

    ------------------------------------------------------------------------
    ERROR on line 5:
    ORA-00911: invalid character
    ORA-06512: at "GEO. TEST_DDL', line 4
    ORA-06512: at line 5

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

    I tried to check the whole statement to create the external table, but I can't find where is the error. Surprisingly, if I simply run the command table create external on sqlplus it works, but not a procedure.

    If anyone can help with ideas or experience?

    Geoffrey Kossami

    The error means that there is an identifier somewhere that starts with a nonalphanumeric. This is a typical mistake of editing. A procedure compiles correctly is not of course because the underlying dynamic sql running is OK. Which of course only be resolved when you try to run it.

    There is certainly a problem with the text you provide to be run as a piece of dynamic sql code. You should try to watch it with dbms_output and run this code in sqlplus. But your problem is with the code you run as dynamic PL/SQL, it is not itself compilable.

    Jack

  • How can I resize the window of my table using the node of furniture? Thank you

    Hello

    I want to first the size of the window of my table using its property node but I can't put it to "write".

    If anyone knows if this is possible?

    Thank you

    User

    Hello

    Some properties are 'read only' and there is not that you can do about it.

    However, to set the size of your chart, you can use the "conspiracy area.size" (I don't know how it was translated into french) can be found here:

    Hope this helps

  • How replot a table using plotXY without creating a new parcel?

    I want to replot continually a table using plotXY without increment the name of the parcel. Is this possible?

    Whenever I call plotXY a new path is created. For example, the first time that plotXY is run, I get a marked route Plot1 (parcel number 1). The second time I call plotXY, I get a parcel named Plot2 (parcel number 2) and so on. But I want to draw the same picture several times that I've added more data to it. And I want the name of the parcel to be Plot1 every time.

    I know that I can change the name 'Plot1' attribute after the call to plotXY. But I feel that somewhere in the internal parts of the graph I'm ever increasing utilization of certain resources. I'll be Replot the table several hundred thousand times so I don't want to run out of memory or something.

    So my question is this, is it possible to re - initialize a graph to its original state before you run the plotXY?

    Do not confuse the name of the parcel and manage the resources allocated to the curve. If you delete all the plots in the graph with DeleteGraphPlot () then draw a new curve, you should have 'Track 1' under the name of the plot, but you will get a continuously raise the handle of the plot; This does not assume that you are summarizing additional resources whenever you draw on the graph, the graph simply never reuses draw handles associated with deleted locations.

    In your case, you can also try a different approach:

    1. Use a graph of the band instead of the chart: if possible you will avoid the problem of more names of conspiracy and will reduce the program activity that you will draw only new points in every race
    2. Only new field points with PlotXY showing only the first parcel in the legend: you will need to keep track of array index, already mapped out so that if you have traced up to array [index] to date, you will draw array [index] to array [newindex] on the new iteration
  • Is it possible to insert a table using Windows7 and WordPad?

    Original title: Microsoft WordPad

    Is it possible to insert a table using Windows7 and WordPad?

    Very unfortunately, you can not insert a table in WordPad, if you do not have a spreadsheet such as Microsoft Excel or LibreOffice program. If you have one of them installed, click Insert an object into WordPad, and then select Microsoft Excel Spreadsheet or LibreOffice Calc spreadsheet.

    But when you send the document to someone, it will also take the spreadsheet where you inserted the object.

    Sorry, but WordPad is quite limited and only for basic word processing.

  • Get the 500 error trying to create a table using the REST API

    Hello

    I tried to create a table using the REST API for Business Intelligence Cloud, but I got 500 Internal Server Error for a while now.

    Here are the details that I use to create a table.

    Capture.JPG

    and the json to create the schema that I use is

    [{'Nullable': [false], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [18], 'columnName': ["ROWID"]}]

    , {'Nullable': [true], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [18], 'columnName': ['RELATIONID']},

    {'Nullable': [true], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [18], 'columnName': ['ID']}

    , {'Nullable': [true], 'defaultValue': 'dataType' [null],: ['TIMESTAMP'], 'precision': [0], 'length': [0], 'columnName': ['RESPONDEDDATE']},

    {'Nullable': [true], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [255], 'columnName': ['RESPONSE']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['TIMESTAMP'], 'precision': [0], 'length': [0], 'columnName': ['SYS_CREATEDDATE']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [18], 'columnName': ['SYS_CREATEDBYID']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['TIMESTAMP'], 'precision': [0], 'length': [0], 'columnName': ['SYS_LASTMODIFIEDDATE']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [18], 'columnName': ['SYS_LASTMODIFIEDBYID']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['TIMESTAMP'], 'precision': [0], 'length': [0], 'columnName': ['SYS_SYSTEMMODSTAMP']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [10], 'columnName': ['SYS_ISDELETED']},

    [{'Nullable': [true], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [50], 'columnName': ['TYPE']}]

    I tried this using postman and code, but I always get the following response error:

    Error 500 - Internal server error

    Of RFC 2068 Hypertext Transfer Protocol - HTTP/1.1:

    10.5.1 500 internal Server Error

    The server encountered an unexpected condition which prevented him from meeting the demand.

    I am able to 'get' existing table schemas, delete the tables, but I'm not able to make put them and post operations. Can someone help me to identify the problem, if there is no fault in my approach.

    Thank you

    Romaric

    I managed to create a table successfully using the API - the only thing I see in your JSON which is different from mine is that you have square brackets around your values JSON where I have not. Here is my CURL request and extract my JSON file (named createtable.txt in the same directory as my CURL executable):

    curl u [email protected]: password UPDATED h x ' X-ID-TENANT-NAME: tenantname ' h ' Content-Type: application/json '-binary data @createtable.txt https://businessintell-tenantname.analytics.us2.oraclecloud.com/dataload/v1/tables/TABLE_TO_CREATE k

    [

    {

    'columnName': 'ID',

    'dataType': 'DECIMAL ',.

    'Length': 20,.

    "accuracy": 0.

    'Nullable': false

    },

    {

    'columnName': 'NAME',

    'dataType': 'VARCHAR ',.

    'Length': 20,.

    "accuracy": 0.

    'Nullable': true

    },

    {

    "columnName': 'STATUS."

    'dataType': 'VARCHAR ',.

    'Length': 20,.

    "accuracy": 0.

    'Nullable': true

    },

    {

    "columnName': 'CREATED_DATE."

    'dataType': 'TIMESTAMP '.

    'Length': 20,.

    "accuracy": 0.

    'Nullable': true

    },

    {

    'columnName': 'UPDATED_DATE ',.

    'dataType': 'TIMESTAMP '.

    'Length': 20,.

    "accuracy": 0.

    'Nullable': true

    }

    ]

  • XML data in the table using sql/plsql

    Hi experts,

    Could you please help with the following requirement. I have the tags xml (.xml on a server file) below. I need to access this file and read the XML and insert into the db table using sql and plsql. Is it possible with the cdata below? And there is a nested this table.

    Could someone please guide me if you have a sample code file and xml.

    <? XML version = "1.0" encoding = "UTF-8"? >

    < generation_date > <! [CDATA [17/11/2015]] > < / generation_date >

    < generated_by > <! [CDATA [Admin Admin]] > < / generated_by >

    < year > <! [CDATA [2015]] > < / year >

    < month > <! [CDATA [01]] > < / month >

    < author >

    < author > <! [CDATA [user author]] > < / author > < author_initial > <! [CDATA [user]] > < / author_firstname > < author_country > <! [CDATA [author]] > < / author_lastname >

    < author_email > <! [CDATA [[email protected]]] > < / author_email >

    < author_data_01 > <! [CDATA []] > < / author_data_01 >

    < author_data_02 > <! [CDATA []] > < / author_data_02 >

    < items >

    < article_item >

    < article_id > <! [CDATA [123456]] > < / article_id >

    < publication > <! [CDATA [Al Bayan]] > < / publication >

    < section > <! [CDATA [Local]] > < / section >

    < issue_date > <! [CDATA [11/11/2015]] > < / issue_date >

    < page > <! [CDATA [2]] > < / print this page >

    < article_title > <! [CDATA [title.]] > < / article_title > < number_of_words > <! [CDATA [165]] > < / number_of_words >

    < original_price > <! [CDATA [200]] > < / original_price >

    < original_price_currency > <! [CDATA [DEA]] > < / original_price_currency >

    < price > <! [CDATA [250]] > < / price >

    < price_currency > <! [CDATA [DEA]] > < / price_currency >

    < / article_item >

    < / articles >

    < total_amount > <! [CDATA [250]] > < / total_amount >

    < total_amount_currency > <! [CDATA [DEA]] > < / total_amount_currency >

    < / author >

    < / xml >

    Thanks in advance,

    Suman

    XMLTABLE using...

    SQL > ed
    A written file afiedt.buf

    1 with t (xml) as (select xmltype ('))
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    [[12 [email protected]]] >
    13
    14
    15
    16
    17
    18
    19


    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33 ") of the double)"
    34-

    35 end of sample data
    36-
    37 - assumptions:
    (38 - a) XML may have several tags
    (39 - b) each may contain more
    40-
    41 select x.gen_by, x.gen_date, x.mn, x.yr
    42, y.author, y.auth_fn, y.auth_ln, y.auth_cnt, y.auth_em, y.auth_d1, y.auth_d2

    43, z.id, z.pub, z.sec, z.iss_dt, z.pg, z.art_ttl, z.num_wrds, z.oprice, z.ocurr, z.price, z.curr
    44 t
    45, xmltable ('/ authxml')
    from $ 46 t.xml
    path of 47 columns gen_date varchar2 (10) '. / generation_date'
    48, path of varchar2 (15) of gen_by '. / generated_by'
    49, path of varchar2 (4) year '. "/ year"
    50 varchar2 (2) mn road '. "/ month"
    51, path of xmltype authors '.'
    52                 ) x
    53, xmltable ('/ authxml/authors ')
    from $ 54 x.authors
    author of 55 path of varchar2 columns (15) '. / author'
    56, path of varchar2 (10) of auth_fn '. / author_firstname'
    57, path of varchar2 (10) of auth_ln '. / author_lastname'
    58 road of VARCHAR2 (3) auth_cnt '. / author_country'
    59 road of varchar2 (20) of auth_em '. / author_email'
    60 road of varchar2 (5) of auth_d1 '. / author_data_01'
    61, path of varchar2 (5) of auth_d2 '. / author_data_02'
    62, path of xmltype articles '. / Articles'
    63                 ) y
    64, xmltable ('/ Articles/article_item ')
    from $ 65 y.articles
    path id 66 number columns '. / article_id'
    67, path of varchar2 (10) pub '. ' / publication.
    68 road of varchar2 (10) dry '. / section'
    69, path of varchar2 (10) of iss_dt '. / issue_date'
    70 road of VARCHAR2 (3) pg '. "/ print this page"
    71, path of varchar2 (20) of art_ttl '. / article_title'
    72, path of varchar2 (5) of num_wrds '. / number_of_words'
    73, path of varchar2 (5) of oprice '. / original_price'
    74 road to VARCHAR2 (3) ocurr '. / original_price_currency'
    75, path of varchar2 (5) price '. "/ price"
    76, path of VARCHAR2 (3) curr '. / price_currency'
    77*                ) z
    SQL > /.

    GEN_DATE GEN_BY YEAR MN AUTHOR AUTH_FN AUTH_LN AUT AUTH_EM AUTH_ AUTH_ ID PUB DRY ISS_DT PG ART_TTL NUM_W OPRIC HEARTS PRICE OCU
    ---------- --------------- ---- -- --------------- ---------- ---------- --- -------------------- ----- ----- ---------- ---------- ---------- ---------- --- -------------------- ----- ----- --- ----- ---
    17/11/2015 Admin Admin 2015 01 user author user author [email protected] 123456 UAE Al Bayan Local 11/11/2015 2 is the title.   165 200 AED AED 250

    Of course, you'll want to change the types of data, etc. as needed.

    I assumed that the XML can contain several "" sections and that each section can contain several entries.

    Thus the XMLTABLE aliasing as 'x' gives information of XML, and supplies the data associated with the XMLTABLE with alias 'y' which gets the multiple authors, which itself section of the XMLTABLE with alias 'z' for each of the article_item.

    CDATA stuff are handled automatically by SQLX (XML functionality integrated into Oracle's SQL)

  • "missing the SELECT keyword" error during an insert into the temporary table using the blob value

    I'm trying to insert into an oracle temp table using select that retrieves data from a blob field but I get the error: "lack the SELECT keyword.

    How we store temporary in oracle result when we make this type of operation (extraction of data in fields and try to load them into a separate table on the fly.?)

    with cte as)

    Select user_id, utl_raw.cast_to_varchar2 (dbms_lob.substr (PREFERENCES)) as USER my_blob

    )

    create table new_table as

    SELECT user_id,EXTRACTvalue(xmltype(e.my_blob),'/preferences/locale') regional settings

    E ETC

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

    BLOB data - value - which is

    <? XML version = "1.0" encoding = "ISO-8859-1" ?>

    - < Preferences >

    < time zone > America/New_York < / > zone

    < displayscheduleinusertimezone > Y < / displayscheduleinusertimezone >

    < local > Spanish < /locale >

    < DateFormat > JJ/mm/aaaa < / DateFormat >

    < timeFormat > hh: mm aaa < / timeFormat >

    < longformat > Long_01 < / longformat >

    < doubleformat > Double_01 < / doubleformat >

    < percentformat > Percentage_01 < / percentformat >

    < currencyformat > Currency_01 < / currencyformat >

    < / Preferences >

    A WITH clause that must immediately precede the SELECT keyword:

    SQL > create table t:

    2 with the o as (select double dummy)

    3 select * West longitude;

    Table created.

  • How the identity if one table used only by synonyms and not by any other subprogrammes in a schema?

    Hi people

    How the identity if one table used only by synonyms and not by any other subprogrammes within a schema. I see in the TOAD describe objects tab used by, but I would like to identify hundreds of table so I would like to know if there would be any SQL or Meta Data Tables?

    How the identity if one table used only by synonyms and not by any other subprogrammes within a schema. I see in the TOAD describe objects tab used by, but I would like to identify hundreds of table so I would like to know if there would be any SQL or Meta Data Tables?

    The ALL_DEPENDENCIES view has hierarchical information based on object_id

    The view object has the object_type.

    Create a hierarchical query on the first view and attach it to the second view.

    Or you can use the utldtree.sql file in the installation of the DB admin folder. Comments initially show you how a hierarchical query based on the object type.

  • How to use "Sélective" and "Color range" in the edition of video using Photoshop CC

    0 down vote favorite

    I am very familiar in the use of "Sélective" and "Color range" on the image, but not on video. I have a video with a few yellow flowers moving because of the wind. I want to make this black and white video and change the yellow color of the flowers in red. I can manage to do everything except to change the yellow color in red. It is very simple on the image editing because I used to use "range of colors" to have the mask that contains all the yellow and then apply a hue/saturation layer on this mask. If I want to use the same logic on a video, I should have a layer to "color range" which create a mask dynamically on all video frames but I don't know how to do in Photoshop CC and even if it is possible. Can someone help me? Is there a simple way to do it? Thank you.

    Best done in Adobe After Effects

  • How can I create a new database without table using database configuration

    How can I create a new database without table using database configuration

    You can search for your "DBA 2 days" version oracle documentation for your version.  You should also read the manual of the concepts.  Create your own schema is pretty basic, all you have to do is to create a user.  Don't use dba or system for your own objects.

  • SQL Loader loading data into two Tables using a single CSV file

    Dear all,

    I have a requirement where in I need to load the data into 2 tables using a simple csv file.

    So I wrote the following control file. But it loads only the first table and also there nothing in the debug log file.

    Please suggest how to achieve this.

    Examples of data

    Source_system_code,Record_type,Source_System_Vendor_number,$vendor_name,Vendor_site_code,Address_line1,Address_line2,Address_line3

    Victor, New, Ven001, Vinay, Vin001, abc, def, xyz

    Control file script

    ================

    OPTIONS (errors = 0, skip = 1)
    load data
    replace
    in the table1 table:
    fields ended by ',' optionally surrounded "" "
    (
    Char Source_system_code (1) POSITION "ltrim (rtrim (:Source_system_code)),"
    Record_type tank "ltrim (rtrim (:Record_type)),"
    Source_System_Vendor_number tank "ltrim (rtrim (:Source_System_Vendor_number)),"
    $vendor_name tank "ltrim (rtrim (:Vendor_name)),"
    )
    in the Table2 table
    1 = 1
    fields ended by ',' optionally surrounded "" "
    (
    $vendor_name tank "ltrim (rtrim (:Vendor_name)),"
    Vendor_site_code tank "ltrim (rtrim (:Vendor_site_code)),"
    Address_line1 tank "ltrim (rtrim (:Address_line1)),"
    Address_line2 tank "ltrim (rtrim (:Address_line2)),"
    Address_line3 tank "ltrim (rtrim (:Address_line3)).
    )

    the problem here is loading into a table, only the first. (Table 1)

    Please guide me.

    Thank you

    Kumar

    When you do not provide a starting position for the first field in table2, it starts with the following after a last referenced in table1 field, then it starts with vendor_site_code, instead of $vendor_name.  So what you need to do instead, is specify position (1) to the first field in table2 and use the fields to fill.  In addition, he dislikes when 1 = 1, and he didn't need anyway.  See the example including the corrected below control file.

    Scott@orcl12c > test.dat TYPE of HOST

    Source_system_code, Record_type, Source_System_Vendor_number, $vendor_name, Vendor_site_code, Address_line1, Address_line2, Address_line3

    Victor, New, Ven001, Vinay, Vin001, abc, def, xyz

    Scott@orcl12c > test.ctl TYPE of HOST

    OPTIONS (errors = 0, skip = 1)

    load data

    replace

    in the table1 table:

    fields ended by ',' optionally surrounded "" "

    (

    Char Source_system_code (1) POSITION "ltrim (rtrim (:Source_system_code)),"

    Record_type tank "ltrim (rtrim (:Record_type)),"

    Source_System_Vendor_number tank "ltrim (rtrim (:Source_System_Vendor_number)),"

    $vendor_name tank "ltrim (rtrim (:Vendor_name)).

    )

    in the Table2 table

    fields ended by ',' optionally surrounded "" "

    (

    source_system_code FILL (1) POSITION.

    record_type FILLING,

    source_system_vendor_number FILLING,

    $vendor_name tank "ltrim (rtrim (:Vendor_name)),"

    Vendor_site_code tank "ltrim (rtrim (:Vendor_site_code)),"

    Address_line1 tank "ltrim (rtrim (:Address_line1)),"

    Address_line2 tank "ltrim (rtrim (:Address_line2)),"

    Address_line3 tank "ltrim (rtrim (:Address_line3)).

    )

    Scott@orcl12c > CREATE TABLE table1:

    2 (Source_system_code VARCHAR2 (13),)

    3 Record_type VARCHAR2 (11),

    4 Source_System_Vendor_number VARCHAR2 (27),

    5 $vendor_name VARCHAR2 (11))

    6.

    Table created.

    Scott@orcl12c > CREATE TABLE table2

    2 ($vendor_name VARCHAR2 (11),)

    3 Vendor_site_code VARCHAR2 (16).

    4 Address_line1 VARCHAR2 (13),

    5 Address_line2 VARCHAR2 (13),

    Address_line3 6 VARCHAR2 (13))

    7.

    Table created.

    Scott@orcl12c > HOST SQLLDR scott/tiger CONTROL = test.ctl DATA = test.dat LOG = test.log

    SQL * Loader: release 12.1.0.1.0 - Production on Thu Mar 26 01:43:30 2015

    Copyright (c) 1982, 2013, Oracle and/or its affiliates.  All rights reserved.

    Path used: classics

    Commit the point reached - the number of logical records 1

    TABLE1 table:

    1 row loaded successfully.

    Table TABLE2:

    1 row loaded successfully.

    Check the log file:

    test.log

    For more information on the charge.

    Scott@orcl12c > SELECT * FROM table1

    2.

    RECORD_TYPE SOURCE_SYSTEM_VENDOR_NUMBER $VENDOR_NAME SOURCE_SYSTEM

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

    Victor Ven001 new Vinay

    1 selected line.

    Scott@orcl12c > SELECT * FROM table2

    2.

    $VENDOR_NAME VENDOR_SITE_CODE ADDRESS_LINE1 ADDRESS_LINE2 ADDRESS_LINE3

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

    Vinay Vin001 abc def xyz

    1 selected line.

    Scott@orcl12c >

  • How to know the tables used in packages of a schema.

    How to know the tables used in packages of a pattern that I have connected.

    SELECT DISTINCT referenced_owner, referenced_name

    Of all_dependencies

    Owner WHERE = "MY_USER_NAME".

    AND type ('PACKAGE', 'BODY of PACKAGE')

    AND referenced_type = 'TABLE '.

Maybe you are looking for