Center text in table column expanding and distorting side columns

Anyone out there that can help me with this, I would appreciate it. I've created the table for this web page in photoshop and sliced it up. The center column is were the body of the text is displayed as you can see from the screen shot. The body text on some of the pages extends below the design of the page. This is dependent on how much content I have of course. If the text continues below the table parameters, the outer cells stretch out, causing separation of the sliced images in the side columns, as you can see in the other screen shot. This only happens in I.E. of course. In safari the table has no problems.
Is there any way to get this under control in I.E? I have tried everything that I can think of. I have battled with this for far too long now.
Any Help would really be appreciated
Thanks,
Duncan

Would really need to see the code to see the extent of the damage Photoshop html has caused. This is a typical problem when exporting html from Photoshop OR trying to assemble the slices into one gigantic table where the cells have been split and merged numerous times which causes distortion.
The idea, looking at your page, would be to insert a simple 3 column x 1 row table into Dreamweaver then insert the components that make up your page into their realtive columns. Using this simple construction method will ensure that all the page elements remain seperate and cannot interact with other element in different cells, which is what is NOT happening in your construction at the moment. 

Similar Messages

  • Number range buffering for dimension tables (DIM IDs) and InfoObjects (SIDs

    Hi BW Experts,
    How to check whether this number range buffering for dimension tables (DIM IDs) and InfoObjects (SIDs) is Active or not ??
    can you please provide me this technical information where to go and check in the system ?
    Thanks in Advance.

    The Early Watch report lists these because of the large number of rows in the MD/Dim tables.  Keep in mind though, that Number Range buffering will really only help if you continue to generate a large volume of new SIDs or Dim IDs with ongoing loads, e.g.
    If your transactions being loaded to a cube result in several thousand new rows being added a Dim table, then it makes sense to turn on Number Range buffering for that Dim ID.  But if the transaction volume is only cause a few hundred DIM IDs to be added, buffering will not really get you anything.

  • Center text in table

    I'm still not getting the text to center within the table.
    table            {
        width:500px;
        margin:20px auto;
        border:1px #666 dotted;
        text-align: center;
    thead, tfoot    { background-color:#Eff7db; text-align:center;  }
    th, td            { padding:8px;  }
    th                { font-weight:bold; }
    tbody tr        { border-bottom:1px #ccc dotted; }
    tbody tr:hover    { background-color:#EFF7DB; }
    <thead>
            <tr>
                <th colspan="2" scope="col"><h2>Mount Rose Elementary Staff</h2></th>
                </tr>
            <tr>
                <th width="266" scope="col"><h2>Teachers</h2></th>
                <th width="222" scope="col"><h2>Staff</h2></th>
              </tr>
            </thead>
            <tfoot>
            <tr>
                <td colspan="2"> </td>
                </tr>
            </tfoot>
            <tbody>
            <tr>
                <td>Ms. Chire - TWI/Pre K</td>
                <td>Krissy Brown - Principal</td>
              </tr>
            <tr>
              <td>Mrs. Castillo - K</td>
              <td>Mrs. Fackelmann - Office</td>
              </tr>
            <tr>
                <td>Mrs. Hanifen - K</td>
                <td>Mrs. Boldi - Office</td>
              </tr>
            <tr>
                <td>Mrs. Barajas - 1st</td>
                <td>Mrs. Mier y Teran - Clinic</td>
              </tr>
            <tr>
              <td>Miss Mentgen - 1st</td>
              <td>Mrs. Johnson - Counselor</td>
              </tr>
            <tr>
              <td>Mrs. Folchi-Oddieo - 2nd</td>
              <td>Mr. Wayne - Custodial Office</td>
              </tr>
            <tr>
              <td>Mrs. Ispisua - 2nd</td>
              <td>Mrs. Ault - Speech</td>
              </tr>
            <tr>
              <td>Mrs. Biggs - 3rd</td>
              <td>Mrs. Lean - OYO Intervention</td>
              </tr>
            <tr>
              <td>Ms. Henning - 3rd</td>
              <td>Ms. Turnier - OYO Intervention</td>
              </tr>
            <tr>
              <td>Mrs. Briggs - 4th</td>
              <td>Ms. Stout - Music</td>
              </tr>
            <tr>
              <td>Mrs. Carlson - 5th</td>
              <td>Ms. Johal - Cafeteria</td>
              </tr>
            <tr>
              <td>Mrs. Utley - 6th</td>
              <td> </td>
              </tr>
            <tr>
              <td>Ms. Dean - 4th, 5th, 6th</td>
              <td> </td>
              </tr>
            <tr>
              <td>Ms. Diaz / Ms. Tossava - EOC</td>
              <td> </td>
              </tr>
            <tr>
              <td>Mrs. Truce - ESL</td>
              <td> </td>
              </tr>
            <tr>
              <td>Ms. Thomas - GATE</td>
              <td> </td>
              </tr>
            <tr>
              <td>Ms. Severs - GATE</td>
              <td> </td>
              </tr>
            <tr>
                <td>Ms. Allstadt - GATE</td>
                <td> </td>
              </tr>
            <tr>
              <td>Mrs. Fleetwood - Resource</td>
              <td> </td>
              </tr>
            </tbody>
        </table>
    </div>

    wranglergirl wrote:
    I'm still not getting the text to center within the table.
    When you say center what exactly do you mean, horizontally or vertically centered?
    If I test your code in IE6, IE7, IE8 and  Firefox the text appears horizontally centered??????
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    table            {
    width:500px;
    margin:20px auto;
    border:1px #666 dotted;text-align: center;
    thead, tfoot    { background-color:#Eff7db; text-align:center;  }
    th, td            { padding:8px;  }
    th                { font-weight:bold; }
    tbody tr        { border-bottom:1px #ccc dotted; }
    tbody tr:hover    { background-color:#EFF7DB; }
    </style>
    </head>
    <body>
    <table>
    <thead>
            <tr>
                <th colspan="2" scope="col"><h2>Mount Rose Elementary Staff</h2></th>
                </tr>
            <tr>
                <th width="266" scope="col"><h2>Teachers</h2></th>
                <th width="222" scope="col"><h2>Staff</h2></th>
              </tr>
            </thead>
            <tfoot>
            <tr>
                <td colspan="2"> </td>
                </tr>
            </tfoot>
            <tbody>
            <tr>
                <td>Ms. Chire - TWI/Pre K</td>
                <td>Krissy Brown - Principal</td>
              </tr>
            <tr>
              <td>Mrs. Castillo - K</td>
              <td>Mrs. Fackelmann - Office</td>
              </tr>
            <tr>
                <td>Mrs. Hanifen - K</td>
                <td>Mrs. Boldi - Office</td>
              </tr>
            <tr>
                <td>Mrs. Barajas - 1st</td>
                <td>Mrs. Mier y Teran - Clinic</td>
              </tr>
            <tr>
              <td>Miss Mentgen - 1st</td>
              <td>Mrs. Johnson - Counselor</td>
              </tr>
            <tr>
              <td>Mrs. Folchi-Oddieo - 2nd</td>
              <td>Mr. Wayne - Custodial Office</td>
              </tr>
            <tr>
              <td>Mrs. Ispisua - 2nd</td>
              <td>Mrs. Ault - Speech</td>
              </tr>
            <tr>
              <td>Mrs. Biggs - 3rd</td>
              <td>Mrs. Lean - OYO Intervention</td>
              </tr>
            <tr>
              <td>Ms. Henning - 3rd</td>
              <td>Ms. Turnier - OYO Intervention</td>
              </tr>
            <tr>
              <td>Mrs. Briggs - 4th</td>
              <td>Ms. Stout - Music</td>
              </tr>
            <tr>
              <td>Mrs. Carlson - 5th</td>
              <td>Ms. Johal - Cafeteria</td>
              </tr>
            <tr>
              <td>Mrs. Utley - 6th</td>
              <td> </td>
              </tr>
            <tr>
              <td>Ms. Dean - 4th, 5th, 6th</td>
              <td> </td>
              </tr>
            <tr>
              <td>Ms. Diaz / Ms. Tossava - EOC</td>
              <td> </td>
              </tr>
            <tr>
              <td>Mrs. Truce - ESL</td>
              <td> </td>
              </tr>
            <tr>
              <td>Ms. Thomas - GATE</td>
              <td> </td>
              </tr>
            <tr>
              <td>Ms. Severs - GATE</td>
              <td> </td>
              </tr>
            <tr>
                <td>Ms. Allstadt - GATE</td>
                <td> </td>
              </tr>
            <tr>
              <td>Mrs. Fleetwood - Resource</td>
              <td> </td>
              </tr>
            </tbody>
        </table>
    </body>
    </html>

  • Standard report center text in table

    Hello,
    I am new to LabVIEW 2011 running Windows 7. 
    I am trying to run and print standard report in LabVIEW but I couldn't figure out how to make text or data to center in the table.
    See pic below.
    Please help.
    Thank you so much in advance.
    Marlin12

    Certainly,
    Please see the attachments.
    marlin12
    Attachments:
    front.GIF ‏37 KB
    back.GIF ‏27 KB

  • Tables not expanding across a sidehead+column

    DITA 1.2 XML
    FrameMaker 10.0.2.419
    I have some tables that I want to go across my column and sidehead for my printed manuals. I have been able to change my EDD/template to place the table anchor in the sidehead and that is working just fine. That's not the problem. The problem is that the tables do not proportionally (or even absolutely) expand to the width of the column+sidehead. The table remains the width of the column, but is in the sidehead leaving a gap in the column. In my ditabase.template.fm file when I insert a table, it spans the sidehead+column. When I save a map as a composite FrameMaker file, the tables are just the width of the column, albeit starting in the sidehead.
    At first I thought the issue might be related to colspec or colwidth as in http://forums.adobe.com/message/3906515, but that's not the case.
    I am not using DITA-FMx (not yet, Scott), but in my searching I found a mention of a potential FrameMaker bug and I am wondering if I am running into it. It was mentioned here http://docs.leximation.com/dita-fmx/1.1/ditafmx_tables.html. But I believe the issue is specifically an issue about column widths and not column+sidehead widths. Editing out the writer use proportional widths; had no effect on my composite file.
    I have pgwide = 1 for my tables. The tables I am looking at are of the type 'table,' not 'choicetable' or 'simpletable,' but those may also be affected. I don't know.
    So, other than going through a book/composite FrameMaker file right before I print and manually resizing table widths, what I can I do?
    -Lief

    Thanks Paul
    Did as you said and for each subform binding tab made sure I have "Repeat subform for each data item" checkbox and still no change when I add the data.
    I even tried to combine the xml data and that file just has the main page and not the data pages. just another problem that is happening.
    Any other suggestions on this expanding tables and receive single forms one at a time.
    Bill

  • Changing the Column Header and Hiding the Column dynamically???

    Hi friends..
    I'm new to OBIEE field. I'm working in a OBIEE project that requires to dynamically change the column header, and dynamically hide the column depending on the prompt value.
    I know we can dynamically change the table header using the presentation variable but I couldn't do that same thing with column header.
    I searched some forums that suggest to use java script for this purpose but I'm not able to do the same also. If anyone had same issue before please help.

    toony, I'm not sure it's possible to do all that you want exactly the way you want, but here are some ideas you can pursue.
    To dynamically change column headers without javascript, check this blog out...
    http://oraclebizint.wordpress.com/2008/01/25/oracle-bi-ee-101332-dynamic-column-headers-using-presentation-variables-sets-and-conditional-formatting/
    As far as dynamically hiding a column, I don't think you can do this, but since you don't provide any details on how the PV is supposed to hide a column based on the value, are you talking about hiding a column for one PV value and another (different) column for a different PV value? Or are you talking about hiding one column when a PV has certain values and displaying it when the PV has a different set of values?
    I have managed to create both scenarios via a work-around, but the procedures require some writing so I don't want to put both. Please detail how you want your PV to "hide" a column or columns.
    P.S. I don't think column selectors will do the trick for you. Basically column selectors work like this: Say you have a report using Sales Region ID, Region Name, and Sales. Now let's say you want the user to choose if he/she wants to see annual sales, or quarter sales or weekly sales, etc. The column selector view would allow you to put the various columns (Year Sales, Quarter Sales, Weekly Sales) as an option the user can select. Once selected, the sales figure will change for the time period selected. For an example of how this is done, check out the section in this "Oracle by Example" link.
    Waited too long to publish this... Madan beat me to it, so there is some overlap here...
    http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/saw/saw.html
    Edited by: LC143 on Oct 27, 2008 9:21 AM

  • How to select columns in a table by their column id and not the column name

    Hello,
    How do you select columns from a table based on their column_id.
    I have create a view
    but other than Select * , i cant now select one just one column from it
    the view as follow:
    create view count_student as
    select a.acode "acode",aname "Activity Name",count(ae.acode) "Number of student joined"
    from aenrol ae, activity a
    where a.acode= ae.acode
    group by a.acode,aname;

    The issue is that you have decided to use quoted column names. A pretty horrible idea (mostly for the reasons that you are now finding).
    Re-create the view and get rid of the silly double quotes.

  • How to vertically center text in table cell?

    How do I get text to center vertically in a cell?

    It centres all the text, no matter how many lines. I test the solution.
    What have you done? Explain what you are getting and exactly what it is you have done and the result you wanted. We can't see your screen.
    Peter

  • Add Right Side Column and Web Parts to custom Master page in SharePoint Online

    Hello everyone, 
    I hope this is a simple question, however I was fighting the issue it presents for a while. I am in the process of customizing SharePoint Online Look-and-feel with a new layout.
    The site collection was created as a
    Team Site before I got involved with the project, and populated with numerous sub-sites and pages. I activated required
    publishing features, created html with corresponding styles and graphics, and used the Design Manager to convert the html file to the custom Master page. While SharePoint automatically assigned “ContentPlaceHolderMain” div area, I
    also used default Oslo page as example to copy sections of the code for dynamic components (left column and navigation, recent items, the ribbon, etc.) from it and placed them in my new master page, pointed all CSS references to
    my custom style sheets, etc. Everything works great, however I need to make one last addition -
    my task is to make changes to display web parts such as Calendar and Recent Documents in the right column in the Master page.
    My custom layout has a header, footer, main pan and two side columns. Most of the default master templates come with the LEFT column already embedded and populated with several placeholder
    to serve dynamic content (PlaceHolderLeftNavBarTop, PlaceHolderQuickLaunchTop, PlaceHolderLeftNavBarDataSource, PlaceHolderLeftActions, so on).
    My challenge is that I have the RIGHT side column as well, for which I don’t think the default placeholder exists. I need to add a small Calendar box and Recent Documents parts to it, so they
    display across the entire site governed by this master page.
    The issue is –
    even after activating Publishing features (enabled SharePoint Server Publishing Infrastructure under Site Collection Level, and SharePoint Server Publishing under the Site
    Level), there is no Snippet feature (usually available under the generic Publishing Site); this customization of the Team Site allows using Designer and apply custom templates, themes, so on, just like you would under the Publishing collection, but not the
    Snippet utility I could use as the solution to embed the web parts on the master page.
    Recreating the entire site under Publishing Collection is not an option due to the directions I was given, I am to use this existing one, and need to see if
    there is a workaround to either activate the Snippet feature or use another solution to display the web parts inside of the column in the Master page.
    If the only solution is to use Web Part Zone, what are the steps to add it AND populate it with the abovementioned apps?
    Can anyone suggest how to create a workaround and add this feature? The environment is role-based so both elements need to be dynamically rendered based on the user’s role and activities.
    I am more of a front end designer than developer, so if any custom coding and set up required, please kindly provide some basic steps, if possible?..
    I greatly appreciate any help and suggestions!
    Thank You!
    Jeff
    Jeff V.

    Updating your Master Page to also include a right rail should be sraight forward enough with a new div or divs in your master page and then the proper styles to make room for this column as well as position the column.
    I have not seen why you cannot find the snippet gallery link when previewing a HTML Master Page in the browser. Have you tried loading the snippet gallery by its url? As an example, for my tenant on SPO, I can load the Snippet Gallery for the olso.master
    with the following url:
    https://pixelmill.sharepoint.com/_layouts/15/ComponentConfigureControls.aspx?ComponentName=TopNavigationNoFlyoutWithStartNode&Url=%2F_catalogs%2Fmasterpage%2Foslo.master
    Change the domain to match yours as well as update the "Url" querystring var to point to your master page. See if that loads the snippet gallery.
    Eric Overfield - PixelMill -
    ericoverfield.com -
    @EricOverfield

  • Report Attributes: Add column link and derived column

    On the Report Attributes page (4000:420), under the Tasks list on the right side of the page, there are 2 links, "Add column link" and "Add derived column". This is the first time I am noticing them.
    The usage is clear, they add columns to the report to function either as a drill-thru link column or just a read-only derived field.
    Doing it this way does NOT modify the source query for the report region.
    Is there any benefit to using this feature versus adding a "null column_link" or "null derived_col" columns to my source query then setting attributes for those columns?
    Thanks

    Well, one disadvantage I can see of using the 'Add Column link' is that if I have more than 1 of such columns, they all show up as '[column link]' on the Report Attributes page with no way to tell what the underlying links are. Instead, if I were to manually add these dummy columns to my query itself, I would give them meaningful column aliases that indicated where they link to.
    Suggestion: Maybe a tooltip could be added to the Report Attributes page for such columns which indicate what the underlying link is without actually going to the Edit page for that column.
    Thanks

  • Resize column width for JTable without column headers?

    Hi,
    I find that for me to resize columns of a JTable by using
    mouse dragging, I MUST have column headers and then drag
    column headers to resize them. Is my understanding correct?
    Actually, I need to have a table without header columns.
    How can I use mouse to resize column width by dragging?
    The background for this request is that I am putting a
    complex table as another table's column header and I hope to
    be able to resizing the complex table by mouse dragging.
    Thanks very much,
    David

    Hi,
    I think you have mistake there. Try
    <style type="text/css">
    table.apexir_WORKSHEET_DATA td {
    white-space:nowrap !important;
    td[headers="DESCR"] {
    width:300px !important;
    max-width:300px !important;
    #apexir_DESCR {
    width:10px;
    max-width:300px !important;
    </style>And you can try add
    table.apexir_WORKSHEET_DATA {
    width: 100% !important;
    table-layout: fixed !important;
    }Regards,
    Jari
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • How to find a specific word (from a list) in a sentence located in a different table, and build a column that contains the name

    Hi all, 
    I have 2 tables:
    1) Lookup table- "Names"- which contains ID# and product description (~100 names that can change).
    2) Data table- "Data"- which contains a column with sentences and within lies also the description. In addition, there is a quantity column.
    Example:
    Names table-
    ID
    Name
    1 Glass
    2 Paper
    3 Alum'
    4 Metal for construction
    100 Hydro therapy products
    And Data table-
    Description
    Qty
    Someone went to use the machine. 1.80 cm, Alum', for the rest of the day
    6
    Metal for construction is the major component in our system
    7
    <gs class="GINGER_SOFTWARE_mark" ginger_software_uiphraseguid="ba668f16-4de8-41d9-af39-d1b17422d6fe" id="ae5b76e8-6897-46c8-823b-86a382087f83">Kandoo</gs>, Delgado,
    Glass 17
    Greece needs more paper, 200 ft.
     45
    *there is no order where the lookup value can be found in the sentence*
    My purpose is to import the Data table while performing a calculation, that <gs class="GINGER_SOFTWARE_mark" ginger_software_uiphraseguid="1941bde7-1595-40eb-9d64-c2e3b9fabdef" id="b60549fc-5b92-46ea-abc6-72cc8c4c093b">checks</gs>
    for each row what is the suitable lookup value and then add it to a new column "Name". 
    Meaning, this table should be the new data after import:
    <gs class="GINGER_SOFTWARE_mark" ginger_software_uiphraseguid="f5d9da98-3ff6-4022-920d-8965a15730ee" id="580f945f-7822-4035-9b5b-542c74eff605">Description</gs>
    Qty                        
    Name
    Someone went to use the machine. 1.80 cm, Alum', for the rest of the day
    6 Alum'
    Metal for construction is the major component in our system
    7 Metal for construction
    <gs class="GINGER_SOFTWARE_mark" ginger_software_uiphraseguid="365dd7f8-7ffc-4ef3-95bf-9bf03421c90d" id="c9ba8515-3dba-4a6b-929e-650510f70844">Kandoo</gs>, Delgado, Glass
    17 Glass
    Greece needs more Paper, 200 ft.
     45 Paper
    Appreciate all support! 
    I lost hope and I want to avoid macros as much as possible.
    Thanks!
    עמית

    Hi Amit,
    I updated the file. The solution uses the following query formula:
    let
    Source = Excel.CurrentWorkbook(){[Name="DataTbl"]}[Content],
    #"Added Custom" = Table.AddColumn(Source, "Custom", each IndexTbl),
    #"Expand Custom" = Table.ExpandTableColumn(#"Added Custom", "Custom", {"Scope"}, {"Scope"}),
    #"Filtered Rows" = Table.SelectRows(#"Expand Custom", each Text.Contains([Description], [Scope])),
    #"Grouped Rows" = Table.Group(#"Filtered Rows", {"Topic", "Component Code", "Project", "Date", "TotalQty", "TotalQtyActual", "ID", "SOW #", " SOW#(lf)Rev", "Scope Driver", "Scope Source", "Scope Source #", "Cost Code", "Type", "Bdg", "System Code", "IMF Number", "IMF Description", "WG", "C or NC", "C/e", "LLE", "Dwg Ref", "Comments ", "Description", "Size", "Qty", "Unit", "Materials Cost/Unit ", "Sub-Total per Unit €", "Unit Rate ", "Total", "DIV Code", "SYS Code", "HelperForDynfilter"}, {{"Scope", each Text.Combine([Scope], " | "), type text}})
    in
    #"Grouped Rows"
    It is based on two queries. The first is the import from table of "IndexTbl", the second is the import of "DataTbl' which is then extended according to the expression above.
    Hope this helps.
    Gil

  • ADF Faces - indenting text in table column.

    Is there a way to indent text in an ADF Faces coreColumn component? I'm trying to represent a recursive tree structure in a CoreTable. I've tried inserting object spacers depending on the depth of each node in the tree, but Faces then wraps the text after the spacers, even when I specify no wrap for the column.
    Better yet, is there a way I could do this with a tree component? I've tried separating the different levels into different collections with separate custom methods, but I don't know how to specify the master/detail relationships between them.
    Any suggestions gratefully received.
    Brian Spear.

    Thanks, Frank. I don't think a tree table is the answer; it has the same requirements as the tree (or so I understand) with regards to populating each level from a different collection, and foreign key relationships. Not suitable for recursive relationships. Furthermore it only shows a small part of the tree at a time. I've got as far as returning a list of nodes within a structure, and I can display the structure, with icons for expanding and collapsing the nodes. All I need now is a way to indent the levels so the structure is more visible. The best I've managed so far is by inserting ". . ." in the text itself on each lower level, to make the left-justified text look indented. Obviously, I'd like a better way, that can be implemented in the view layer.
    Is there maybe a way of nesting objects within an outputText component so that it doesn't wrap? Must look into that.
    Thanks again.
    Brian Spear.

  • Table Column Header Text - Refresh Table

    Hi. A question about programmatically changing the Header Text property of a Table Component.
    I've added code, in the backing bean Setter for the Table component, to change the header text as required.
    The problem is that when the page is rendered, the header changes are not displayed initially. Only after a PPR is performed (on a different component) does the table render with my property changes displayed.
    Am I doing the header text manipulation in the wrong place? Is there a way to refresh the table programmatically prior to it rendering initially (e.g. after the RENDER_RESPONSE phase?)?
    Cheers.

    Hi Bala,
    After following your invaluable advice I now have the table displaying more or less as a I need. The labels are set correctly (from the Attribute Hint that I set in the AttrDefImpl), and the Rendered property for each column is now derived from Expression Language pointing to the same AttributeHints...
    However, I'm still struggling with the DisplayIndex for the table columns. I'm attempting to set the DisplayIndex column property using EL that gets a value from the VO binding FieldOrder control attribute (which contains a numeric value). However, this does not resolve properly and in the column Property Inspector the DisplayIndex doesn't seem to display correctly itself...
    I'm wondering if this is because the FieldOrder control attribute is a String while the DisplayIndex takes an Integer. Is there a way to perform some conversion on this in the EL itself? Or maybe that is not the problem.
    Thanks again for all your assistance!

  • How to get the column name and table name with value

    Hi All
    I have one difficult requirement
    I have some column values and they have given some alias column names but i need to find the correct column name and table name from the database.
    For example value is "SRI" and i dont know the table and exact column name so is there any possibilities to find the column name and table name for the given value
    Thanks & Regards
    Srikkanth.M

    Searching all the database for a word...
    Courtesy of michaels...
    michaels>  var val varchar2(5)
    michaels>  exec :val := 'as'
    PL/SQL procedure successfully completed.
    michaels>  select distinct substr (:val, 1, 11) "Searchword",
                    substr (table_name, 1, 14) "Table",
                    substr (t.column_value.getstringval (), 1, 50) "Column/Value"
               from cols,
                    table
                       (xmlsequence
                           (dbms_xmlgen.getxmltype ('select ' || column_name
                                                    || ' from ' || table_name
                                                    || ' where upper('
                                                    || column_name
                                                    || ') like upper(''%' || :val
                                                    || '%'')'
                                                   ).extract ('ROWSET/ROW/*')
                       ) t
    --        where table_name in ('EMPLOYEES', 'JOB_HISTORY', 'DEPARTMENTS')
           order by "Table"or
    11g upwards
    SQL> select table_name,
           column_name,
           :search_string search_string,
           result
      from (select column_name,
                   table_name,
                   'ora:view("' || table_name || '")/ROW/' || column_name || '[ora:contains(text(),"%' || :search_string || '%") > 0]' str
              from cols
             where table_name in ('EMP', 'DEPT')),
           xmltable (str columns result varchar2(10) path '.')
    TABLE_NAME                     COLUMN_NAME                    SEARCH_STRING                    RESULT   
    DEPT                           DNAME                          es                               RESEARCH 
    EMP                            ENAME                          es                               JAMES    
    EMP                            JOB                            es                               SALESMAN 
    EMP                            JOB                            es                               SALESMAN 
    4 rows selected.

Maybe you are looking for