Need examples of using HEAD, BODY and TABLE options of SET MARKUP

Hi!
Looking for examples of using the HEAD, BODY and TABLE options of the SET MARKUP command in SQL*Plus. Will be used in 10.2.04 on Linux.
Have been trying to set up an "H1" header but not having any success. Documentation and examples in the documentation are not very helpful.
Thanks for your time and help!
Dave Venus

$ echo "select sysdate from dual;"|
  sqlplus -L -s -M 'html on head <title>MyTitle</title> body bgcolor="black" table border="0" scott/tiger
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="generator" content="SQL*Plus 10.2.0">
<title>MyTitle</title>
</head>
<body bgcolor="black">
<p>
<table border="0">
<tr>
<th scope="col">
SYSDATE
</th>
</tr>
<tr>
<td>
2009-02-12 15:22:00
</td>
</tr>
</table>
<p>
</body>
</html>Edited by: Laurent Schneider on Feb 12, 2009 3:22 PM

Similar Messages

  • Syntax for HEADER BODY and FOOTER

    Hi
    My Header and Footer is bit complex, involves many fields and quite long so I have decided to code Header in main body area.
    I guess I can do spmething like;
    <?start:HEADER?>....<?end:header?>
    <?start:BODy?>....<?end:BODY?>
    <?start:FOOTER?>....<?end:FOOTER?>
    Not sure this correct. Please can any one put me in right direction to achive this??
    I would appreciate your help on this.
    Thanks and regards

    do the following anywhere in the body section of your template
    <?template: Header?>
    create your complex header here
    <?end template?>
    <?template: Footer?>
    create your complex footer here
    <?end template?>
    Then in MS word, select the header section and put in the following syntax
    <?Call: Header?>
    similarly in the footer
    <?Call: Footer?>
    youre done! .. no need to use start body and end body tags..

  • What type of mac do i need for home use to watch and edit videos

    What type / power of MAC do i need for home use to watch and edit vedeos as well as basic computer work?

    Any of the new Macs for home - iMac or MacBook Pro are even fine. You don't need a 65lb workstation tower. If you want a tower for how well and long they hold up, and can be upgraded, that is another matter and fine and might be overkill at first.
    Even the base Mac Pro will get you there.

  • Iam not able to find Header, Navigation and Structure options in. I am using Dreamweaver CS6

    Iam not able to find Header, Navigation and Structure options in Insert Panel. I am using Dreamweaver CS6

    I've updated and now the problem solved. Thank you very much Ben...

  • Is it possible to break an edit into small scenes, and then sew them together, but without losing quality by using the 'publish and share' options?

    Is it possible to break an edit into small scenes, and then sew them together, but without losing quality by using the 'publish and share' options?

    redflashred
    What is important here is that you know the properties of your source file(s), set the project preset to match the properties of those source files, and then export with settings as close as possible to the original. Often you can do this without noticing quality differences in the export.
    I am understanding and defining your issue as you wanting to maintain the quality of the original imported files in the export. If that is the case, the please supply the following, and I will give you a step by step
    a. What are the properties of your source files (including bitrate). Here I am looking for
    video compression
    audio compression
    frame size
    frame rate
    interlaced or progressive
    pixel aspect ratio
    file extension
    A quick way to get that type of information is knowing the brand/model/settings for the camera that recorded the video.
    2. Based on that information we can set manually a project preset to match those source property.
    3. When we go to export...example Publish+Share/Computer/ and your choice and its preset, we can customize the preset selected
    under the Advanced Button/Video Tab and Audio Tab of that preset in order to try for the best possible match between the properties of the
    original file and the properties of the export.
    But, please let us know if you also need help in trimming the original import at the Timeline level prior to export.
    Your mention of Publish+Share suggest that you are working with Premiere Elements 11, 12, or 13. What is the computer operating system?
    Thanks.
    ATR

  • I am using OS X and am trying to set up a HP ENVY 5660 e printer and the drivers are not listed.  I read somewhere not to use the install disk.  What do I do?

    I am using OS X and am trying to set up a HP ENVY 5660 e printer and the drivers are not listed.  I read somewhere not to use the install disk.  What do I do?

    Your suggestion was a good one and what I found was that to use this and any other printer I looked at is that I need to update the operating system to a later version.  I have been reluctant in the past to do this after reading update horror stories and since this computer does what I need and very well.  Was glad I moved over from windows and this is the first problem I have had.  Thanks for your help and any other suggestions you may have.

  • My mum is always using my iPad and I want to set mode if you like that she can log in as some one different and use apps she likes and I can use a diFferent log in and use different apps and stuff

    My mum is always using my iPad and I want to set mode if you like that she can log in as some one different and use apps she likes and I can use a diFferent log in and use different apps and stuff

    iOS 7 does not support multiple user accounts like you want.
    If all the apps are different, you could set her up with her own page of apps, then just show her how to get to her apps page, or just buy her an iPad for herself.

  • Need help with disappearing header row in tables

    Hey guys.
    I'm working on a large document with tables (annual report). I have set up table styles with header and body cell styles. When I apply the table style to a table, then convert the first row to header row, the entire header row disappears...!
    If I leave the row as body row and just apply the header cell style to it, it won't disappear. The row will only disappear if I convert it to header row in Indesign.
    I checked the Word doc I imported the text from, the first row of the tables is just normal body row.
    I dunno where to look so I have no idea how to fix this problem. It happens to all the tables. I was supplied this file. I don't particularly want to recreate the file. The original file was created in Creative Clouds and exported to idml for me as I have CS6.
    Has anyone experienced the same problem or know what's the solution? I really need help.
    Thanks in advance.

    It may be on the Table Options dailog box on the section of Headers and Footers> Header: Repeat Header the Skip First is check on.

  • Can we have an example of using update, insert, and delete stored procedure

    I would like to see an example of using retrieve (return resultset), update, insert, and delete stored procedures in JSF. I need to see syntax how JSF can call those stored procedures. This option is absolutely important when building web-application. Currently, I haven't found resource to do for this purpose yet. The database can be any such Oracle, DB2, pointbase, etc that support stored procedures.
    Anyone knows?
    Thanks,
    Tue Vu

    Hi ttv,
    I asked around a bit and here's some more info:
    To bind a ResultSet to a read only Data Table component just set the "value" property of the Data Table component to point at it, and JSF will synthesize a DataModel around it.
    * Note that because we can't call the stored procedure at design time, Creator can't do the fancy table layout stuff it does for rowsets. You'll need to hand craft the columns just like the Google Client example.
    * As I mentioned previously, you will have to manually code the stored procedure access in your java code - see the code clip I mentioned in previous reply (and if this is via a stored procedure, then any textbook about JDBC will undoubtedly have examples). Simplest way might be a getter method on the page bean that contains the call to the stored procedure and returns the resulting ResultSet object.
    * Don't forget to close the result set - we typically do this at the end of the request (i.e. add a close in the afterRenderResponse() method.
    * Don't throw exceptions - or if you have to, make sure you close the result set in a finally clause (thrown exceptions bypass the afterRenderResponse method in the lifecycle).
    * You give up on the caching provided by our RowSetDataModel (which can't be connected to a ResultSet even manually), so I would recommend that you only use datatables to display the data and then go to a single row page to do edits/deletes (similar to the TwoPage example in AppModel and the Update, Insert Delete tutorial).
    And yes please do submit an example - we will gladly post it!!! :) The best way to submit this kind of thing would be through:
    http://developers.sun.com/prodtech/javatools/jscreator/reference/codesamples/sampleapps.html
    on the right side, Related Links, under Creator Heros, click Submit Content and there you can send it in!
    Hope this helps!
    Val

  • Need some help using CSS Rules and Positioning Image Place Holders

    Evening all,
    I need to get this done by tomorrow so some speedy help would be very much appreicated!
    I'm doing a website for an IT company, and as you may/may not know, support for XP and Office 2003 is dropped tomorrow - they want a button in the header of their site which basically says 'click here for upgrade advice' and when you click on it you're taken to a page telling you the benefits of upgrading. They want it to look like the mock up below:
    I've had a right old job even getting the button (it's in PNG format) to go above the BrownTech logo. I inserted a placeholder, linked it to the PNG file, and then I made a custom CSS rule/class called '.header_fltrt' to put the image in and position it in that place, directly above the BrownTech logo.
    To get the upgrade button in the desired position, here are the 'Box' CSS properties I used for the .header_fltrt CSS rule.
    It's worth noting that the dimensions for the header itself are 960x235px, and the BrownTech logo is the background image for the header class (and is 960x235 in dimensions).
    The problem I am having is that when I view the page in Design Mode in Dreamweaver, it looks fine, but when I view it in Live View or in a web browser, it looks like this:
    As you can see, the upgrade button is not even visible!
    Furthermore, when I go back into design mode on Dw, when I click on the upgrade button, I don't get any placeholder properties like I do when I click on green logo in the top left (which by the way is just a link back to the index page).
    I'm not sure why this is but I cannot find any way to resolve it. I've even tried putting the BrownTech logo on a transparent background thinking that the block white background may be covering the upgrade button, but that's not the case.
    Sorry if I haven't explained it very clearly. Hopefully you can see my problem.
    Any help in etting the upgrade button to preview in the correct place would be very much appreciated!

    Try this in place of what you have now.
    .header {
        background-color: #FFFFFF;
        min-height: 335px; /**adjust as needed**/
        width: 960px;
        background: url(../assets/banner2.png) no-repeat;
    .header_fltrt {
    /**no floats or positioning required**/
        width: 552px;
    Nancy O.

  • Question on using CAST, MULTISET and TABLE

    Hi,
    I am trying to do something that is utterly meaningless, but I am studying the use of CAST with MULTISET and TABLE.
    I have created a type: a Nested Table of Number values:
    create type numTable as table of number;
    Now I perform the following query:
    select d.dname
    , ( select avg(column_value)
    from table
    ( cast( d.salaries as numTable)
    ) Department_Avg_Salary
    from ( select cast
    ( multiset
    ( select e.sal
    from emp e
    where e.deptno = d1.deptno
    ) as numTable
    ) salaries
    , d1.dname
    from dept d1
    ) d
    I had expected to see each department name and the average salary within that department. Instead, I see the same Department_Avg_Salary value for each row - the average of the first department:
    DNAME DEPARTMENT_AVG_SALARY
    ACCOUNTING 1875
    RESEARCH 1875
    SALES 1875
    OPERATIONS 1875
    However, when I change the query to the following:
    select d.dname
    , d.salaries
    from ( select cast
    ( multiset
    ( select e.sal
    from emp e
    where e.deptno = d1.deptno
    ) as numTable
    ) salaries
    , d1.dname
    from dept d1
    ) d
    I get the following result - note that each department shows the correct list of salaries, not the list of the 1st department's salaries over and over.
    DNAME
    SALARIES
    ---------------------------------------------------------ACCOUNTING
    NUMTABLE(2450, 1300)
    RESEARCH
    NUMTABLE(800, 2975, 3000, 5000, 1100, 3000)
    SALES
    NUMTABLE(1600, 1250, 1250, 2850, 1500, 950)
    OPERATIONS
    NUMTABLE()
    Can someone explain why the
    , ( select avg(column_value)
    from table
    ( cast( d.salaries as numTable)
    ) Department_Avg_Salary
    does not give an average per department but instead only the first department's average?
    thanks for your help!
    regards
    Lucas Jellema

    scott@ORA92> select d.dname,
      2           (select avg(column_value)
      3            from   table (cast (d.salaries as numTable))
      4            where d.dname = dname) Department_Avg_Salary
      5  from   (select cast (multiset (select e.sal
      6                          from   emp e
      7                          where  e.deptno = d1.deptno) as numTable) salaries,
      8                 d1.dname
      9            from    dept d1) d
    10  /
    DNAME          DEPARTMENT_AVG_SALARY
    ACCOUNTING                2916.66667
    RESEARCH                        2175
    SALES                     1566.66667
    OPERATIONS

  • What is the best font to be used in graphs and tables?

    I want to know what is the best font (or the most used) for discoverer10g graphs and tables.
    I used Arial, Dialog, Veranda, 7, 8, 9 but it seems that there is a space between letters especially on the graph. I’m looking for a font that does not have this space between letters.
    Any help will be appreciated.

    Hi,
    Any font holds good,depends on the choice of the individual user.
    neways go through this link http://docs.tpu.ru/docs/oracle/en/oas/9.0.4.0.0/bi.904/b10268/intro_gr.htm#1026899
    Hope this helps you!!
    Regards,
    Kranthi

  • I want to create an internal table without using header line and occurs 0?

    hi experts,
    Can anybody help me to declare an internal table without using headerline and occurs 0 options but still i have to use the functionalities that occurs 0 and header line options provide.

    Hi Saisri,
    You can use the internal table without headerline and create a header for then internal table with the same structure. We need to use the header while manipulating with the data of the internal table.
    example:
    types: begin of ty_afpo,
                 kdauf type kdauf,
                 kdpos type kdpos,
                 ltrmp   type ltrmp,
               end   of ty_afpo.
    data : t_afpo type standard table of ty_afpo,  " internal table declaration
             wa_afpo type ty_afpo.                        " work area declaration
    <after populating the data into the internal table>
    loop at t_afpo into wa_afpo.
    write:/ wa_afpo-kdauf, wa_afpo-kdpos, wa_afpo-ltrmp.
    endloop.
    This I think shall give you a basic understanding of how things work.
    <b>Reward points if this helps,</b>
    Kiran

  • Need an example of using UIMessageEvent Labview and TS.

    I've been reading about this in the 'UsingLabviewWithTestStand.pdf manual. Chapter 6.
    Creating custom user interfaces with Labview. I've been working with the Simple OI for Labview.
    The manual doesn't provide enough information for me to understand what to do next?
    Can someone provide a working example of an Operator Interface that can handle the process model events generated with the Call Thread.PostUIMessageEx() steps? Say I want to add a custom event that sends a string to be displayed in a text box, such as an operator instruction. How do I do that?
    I just can't seem to get the link between the two.

    I looked at several of the examples on the web site, but they are all using PostUIMessage in the sequence. The TS 3.5 help file says that that is an obsolete call and the I should use PostUIMessageEx.
    The example that you are pointing me to doesn't seem to do anything at all. I run it with the suggested sequence (uimessage.seq) but there is no obvious result. Nothing in the report window. All I see in the execution window is that the Action, Call Thread PostUIMEssage is 'Done'. It is supposed to be counting; but where does it put the count value?
    After someone answers the above questions, I have more...
    I am using TestStand 3.5 and LabView 8.01
    I am looking for an  Event driven example with PostUIMessageEx that works?
    How do you populate the ActiveX parameter?
    What kind of data is it looking for?
    How do you read that parameter in the Event handler?
    Can I display the string variable in a Text Indicator?
    So far I have modified the Simple OI and added the UIMessage event handler to pick up the string variable. But it doesn't pick it up, as far as I can tell. I tried to put a breakpoint in the VI to take a look at it, but that is evidently a bad idea because it hangs the Labview runtime enginer or server and I have to kill the application.
    So there are a multitude of questions about writing this kind of coded (Event handlers) that I can't seem to get answered in any of the documentation.
    If there were an up-to date TS 3.5, LV8.0 example that really worked, then maybe ...

  • Examples for using function modules and BApis.

    My Dear FRNDS,
    I am very new to ABAP. And I have read the documentation for  function modules but i am not that clear to practice them.So I would be very happy if u people share a little bit of ur experience with me.
    Please provide me some examples of all the use cases in function modules and specially exception handling.
    Frnds, i am going to work with bapis so i feel practicing function module will give me a edge.
    and please tell me after calling a BAPI FM why we have to perform   'BAPI_TRANSACTION_COMMIT' and 'BAPI_TRANSACTION_ROLLBACK'.
    .Ur efforts  will be greatly rewarded.
    thx,
    reshali

    Hi,
    Please check this sample codes.
    DATA: BAPI_Z05DOGI_DELIVERY LIKE BAPIOBDLVHDRCON-DELIV_NUMB ,
    BAPI_Z05DOGI_HEADER_DATA LIKE BAPIOBDLVHDRCON OCCURS 0 WITH HEADER LINE ,
    BAPI_Z05DOGI_HEADER_CONTROL LIKE BAPIOBDLVHDRCTRLCON OCCURS 0 WITH HEADER LINE,
    BAPI_Z05DOGI_ITEM_DATA LIKE BAPIOBDLVITEMCON OCCURS 0 WITH HEADER LINE,
    BAPI_Z05DOGI_ITEM_CONTROL LIKE BAPIOBDLVITEMCTRLCON OCCURS 0 WITH HEADER LINE ,
    BAPI_Z05DOGI_RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE .
    CLEAR: BAPI_Z05DOGI_DELIVERY , BAPI_Z05DOGI_HEADER_DATA , BAPI_Z05DOGI_HEADER_CONTROL , BAPI_Z05DOGI_ITEM_DATA ,BAPI_Z05DOGI_ITEM_CONTROL , BAPI_Z05DOGI_RETURN .
    REFRESH: BAPI_Z05DOGI_HEADER_DATA , BAPI_Z05DOGI_HEADER_CONTROL , BAPI_Z05DOGI_ITEM_DATA , BAPI_Z05DOGI_ITEM_CONTROL , BAPI_Z05DOGI_RETURN .
    BAPI_Z05DOGI_DELIVERY = ZMM_WB1-ISSUE .
    BAPI_Z05DOGI_HEADER_DATA-DELIV_NUMB = ZMM_WB1-ISSUE.
    APPEND BAPI_Z05DOGI_HEADER_DATA.
    BAPI_Z05DOGI_HEADER_CONTROL-DELIV_NUMB = ZMM_WB1-ISSUE.
    BAPI_Z05DOGI_HEADER_CONTROL-POST_GI_FLG = 'X'.
    APPEND BAPI_Z05DOGI_HEADER_CONTROL.
    BAPI_Z05DOGI_ITEM_DATA-DELIV_NUMB = ZMM_WB1-ISSUE.
    BAPI_Z05DOGI_ITEM_DATA-DELIV_ITEM = 10.
    BAPI_Z05DOGI_ITEM_DATA-DLV_QTY = LFIMGGIA.
    BAPI_Z05DOGI_ITEM_DATA-SALES_UNIT = XTAB-MEINS.
    BAPI_Z05DOGI_ITEM_DATA-DLV_QTY_IMUNIT = LFIMGGIA.
    BAPI_Z05DOGI_ITEM_DATA-FACT_UNIT_NOM = UMVKZLIPS.
    BAPI_Z05DOGI_ITEM_DATA-FACT_UNIT_DENOM = UMVKNLIPS.
    APPEND BAPI_Z05DOGI_ITEM_DATA.
    BAPI_Z05DOGI_ITEM_CONTROL-DELIV_NUMB = ZMM_WB1-ISSUE.
    BAPI_Z05DOGI_ITEM_CONTROL-DELIV_ITEM = 10.
    BAPI_Z05DOGI_ITEM_CONTROL-CHG_DELQTY = 'X'.
    APPEND BAPI_Z05DOGI_ITEM_CONTROL.
    CALL FUNCTION 'BAPI_OUTB_DELIVERY_CONFIRM_DEC'
    EXPORTING
    DELIVERY = BAPI_Z05DOGI_DELIVERY
    HEADER_DATA = BAPI_Z05DOGI_HEADER_DATA
    HEADER_CONTROL = BAPI_Z05DOGI_HEADER_CONTROL
    TABLES
    ITEM_DATA = BAPI_Z05DOGI_ITEM_DATA
    ITEM_CONTROL = BAPI_Z05DOGI_ITEM_CONTROL
    RETURN = BAPI_Z05DOGI_RETURN.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    WAIT = 'X'
    IMPORTING
    RETURN = BAPI_Z05DOGI_RETURN.
    Go thru this link
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    BAPI_TRANSACTION_COMMIT
    Execute external Commit when using BAPIs
    This method executes a COMMIT WORK command. It is required for
    transactions developed externally to the R/3 System that change data in
    the R/3 System via BAPI calls.
    When you call BAPIs in your program that change data in the R/3 System,
    afterwards you must call this method to write the changes to the
    database.
    COMMIT WORK
    The statement COMMIT WORK completes the current SAP LUW and opens a new one, storing all change requests for the currenta SAP LUW in the process
    there are some FM that we use for creating trasaction . for example FM : that use for creating production order . if you execut the FM , the system will not create any data in the system so you need to excute the FM : BAPI_TRANSACTION_COMMIT to commit that creating the production order .
    in case of commit work, that is a syntax in abap program . if you use this syntax after you insert ,update or delete table in the sap ,system will do it immediately otherwise the system will do it after execution is complete.
    ROLLBACK WORK.
    for confirming or undoing database updates. COMMIT WORK always concludes a database LUW and starts a new one. ROLLBACK WORK always undoes all changes back to the start of the database LUW.
    Regards,
    Raj.

Maybe you are looking for

  • "iTunes was unable to verify your device" error

    Hi, I have a first generation iPad that has been working just fine. I decided to give it away, and so I wiped it and set about restoring it to factory defaults.... except, now I keep getting the error "iTunes was unable to verify your device. Please

  • ABAP Web Dynpro Application changes in Administation mode

    Hi, I Made changes to a webdynpro application using Administrator mode in se80 ie Web Dynpro Application->Test->Test in Administation mode. I made one element 'invisible' and ticked 'Final' check box. This element disappeared from my application. Now

  • Insert data in a user master data Table

    Hi every body, I've created a User Master data table named 'MyTable'. i want to add data to this table but there is an error which occur : 'to generate this. First Define the Numbering Series in the Administration Module'.  I want to add data to this

  • No thumbnails in organizer (was B Saggo)

    In my new Elements 12 I can not see thumbnails in the ALL MEDIA screen. Only rectangles with an hour glass. If I double click one of these I get a full size picture. What is wrong?

  • I want to install DEV and QAS on same Server

    Hello all, Can anybody tell the step by step procedure to install dev and qas on the same server, i have installed Dev with win 03 server and oracle as a DB. Now what to do? please provide some document or note to do this. I am waiting for ur reply,