Browser Detection Script checks if Internet Explorer 5.5 is being used and adjusts the font size if it is.
Oracle Help for the WebContentsIndexSearchView Topic


Query

Skip Navigation Links| Field Descriptions | Related Help Topics | Additional Information | Locating this Page |

Use this page to query a table or view. You can also choose options that format the results of your query.

Go to topField Descriptions

 

Field Description
Query Click to display data based on the criteria you entered on this page.
Reset Click to clear or reset all fields on this page to their default values.
Show Select to display the corresponding Column in the query results.
Column Enter values that will be used to query rows in the table or view. You can use boolean expressions, for example, >1000 to query a column containing numeric data.
Datatype

Displays the datatype for values in the Column.

  • Date - DATE
  • Number - NUMBER
  • Raw - RAW, LONG, ROWID, ORDIMAGE
  • VarChar - VARCHAR, VARCHAR2, CHAR, NCHAR, NCHAR2
Value Enter a values that will be used to query a Column in the table identified in the upper left corner of the page.
Align Choose whether to display data to the left, right, or center of the column in the query results.
Format Mask

Choose an Oracle display format for columns containing date and number data types. For example, if you choose DD/MM/YY, the date January 2nd, 2000 displays as 02/01/00.

If you choose 999G999G999G999D99999999, the display format for numbers is 12 digits to ther left of the decimal point and 8 to the right.

Note: Refer to the Oracle documentation for additional information about formatting options.

Case Sensitive

Select to make the Value you selected case-sensitive in your query of the table column.

This check box displays only for columns with VarChar (character) datatypes.

Where Clause

Enter a SQL WHERE clause to further restrict the data returned by a query. For example, if you choose to show ENAME, EMPNO, SAL columns from the SCOTT.EMP table, you could enter this WHERE clause :

WHERE DEPTNO = 10

to return data only for department 10, as shown below.

Sample Data

Row Order Options

Field Description
Order By

Choose the table or view column whose values will be used to sort rows on the results page. Choosing this option is equivalent to specifying a SQL ORDER BY clause.

Choose Ascending to sort query results according to the alphabetic (A-Z) or numeric (starting with the lowest number) order of column values, depending on the datatype for the column. Choose Descending to sort in the reverse order.

Break Options Choose whether to break the QBE results on values in one, two, or three table or view columns.
Output Format

Choose a display format for query results:

  • HTML--Formats the results using HTML tables and displays output on a new page in the web browser. database portlets that contain large amounts of data may take longer to display in this format.

  • Excel--Downloads the results for display in Microsoft Excel.

  • ASCII--Formats the results using the HTML PRE tag to display headings and values in the report as ASCII text. This option is useful for displaying large amounts of data.

Maximum Rows/Page

Enter the maximum number of rows you want to display on a query results page.

Note: A Next and Previous button will display at the bottom of results pages. Users can click this button to display the next page of results.

Show Null As Enter text that you want to display in the place of null values in your query results. For example, you can type a dash "-" or "null". Leave the text box blank if don't want to display any text in place of a null value.
Sum Columns

Choose columns whose values you want to sum and display in the query results.

Note: This list displays only columns containing numeric data.

Query Options

Choose one or more options for formatting your query results:

  • Show SQL--Displays at the top of the results the SQL query that was used to create it.
  • Display Results in Tables with Borders--Adds a border around the table containing your query results.
  • Show Total Row Count--Displays at the bottom of your query results the total number of rows returned by the query.
  • Count Rows Only--Displays only the total number of rows returned by your query. The query results do not display.
  • Show HR between Rows--Displays a line between rows in the query results.
  • Replace ASCII New Lines with HTML Breaks--If you display the query results as HTML-formatted text, OracleAS Portal substitutes the HTML tag, <br> , for every ASCII new line. This produces HTML-formatted results with the same line breaks as those formatted as ASCII text.

Go to topRelated Help Topics

Next Steps:

Go to topAdditional Information

On Portal Center:

Go to topLocating this Page

 

To locate this page in OracleAS Portal:

  1. On the Portal Builder page, click the Navigator link.
  2. Click the Database Objects tab.
  3. In the Name column, scroll down to the schema whose contents you want to view.
  4. Click the schema's name.
  5. In the Name column, scroll down to the table you want to query.
  6. Next to the object, click Query Rows.