Display a column with a list of values from DUAL;

Hello, how can I display something like:
COL1
A
B
C
D
E
F

On my planet these are 'words' ;) :
SQL> select dbms_random.string('a', level)
  2  from   dual
  3  connect by level <= 10;
DBMS_RANDOM.STRING('A',LEVEL)
r
BB
pmE
bHri
aZZDC
FzOZBf
fXfPyIP
LOqrQbnK
AYzNgHcGc
lvxRvflHXj
10 rows selected.
SQL> select dbms_random.string('a', dbms_random.value(10, 50))
  2  from   dual
  3  connect by level <= 10;
DBMS_RANDOM.STRING('A',DBMS_RANDOM.VALUE(10,50))
AKExSSzIJOkabCT
VCHHRTcgtnBSlZyRmsITqzWqVNgDnPdnxmt
qLnuyGQErxZvHttRBpWrPoLEiGUra
rcllLkyZXiwvlcGaUoEAeMbEdZSHlZBIgdilgGTQzxlIUW
ftnGzDCzUBEsxKzhDLfgS
aqUmpIzjqkWMZGpbAchhbiqFBUKdRaDwFAgdP
nskqNdzmlAKlsGOJpbKfQHiCfvkDpoFcTkTvKaUcGLFDkgjsX
fwkxBSoVuDSEOFldgDhilvm
iAnSvDMQzamGvIFNydfjhr
lHRPUnKgOxYQwWAltdELJNqqfgMRSmbBpSDnjOsfx
10 rows selected.http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_random.htm#CDEJAHCB

Similar Messages

  • How I can stop the combo box with list of values from fireing validations

    Hi I'm using Jdeveloper 11.1.2.3.0
    Using Hr Schema employees table
    I Display employees data in af:table
    and I make List Of values on Department_id filed to easy change the employee department
    and another one on Job_id filed
    and Imake them UI Hints as ( combo box with list of values ) in the employeesVO
    the problem is when I Select a value from department or jobs ( combo box with list of values )
    fires the entire filed validations for mandatory atributes
    Note : the af:table Property ( contedelivery) is set to (immediate )
    How I can stop the combo box with list of values from fireing validations

    check it out.,
    http://andrejusb.blogspot.in/2012/09/what-to-do-when-adf-editable-table.html

  • Set a default value for a radio button populated with a List of value

    Hi,
    I am using jdeveloper 11.1.1.3.0. I need to set a default value for a radio button populated with a List of value(Yes/No). Here's the selectonechoice code.
    <af:selectOneRadio value="#{bindings.Code.inputValue}"
    label="#{bindings.Code.label}"
    required="#{bindings.Code.hints.mandatory}"
    shortDesc="#{bindings.Code.hints.tooltip}"
    id="sor1" autoSubmit="true"
    valuePassThru="true" layout="horizontal">
    <f:selectItems value="#{bindings.Code.items}" id="si1"/>
    </af:selectOneRadio>
    I want to have the selectonechoice set to No by default. In the previous versions, I set the default value in the base attribute VO. But it is not working in the new version.
    Thanks

    Hi,
    this should work in JDeveloper 11.1.1.3 the same as in 11.1.1.2. If it doesn't then it is better to file a bug than to work around it
    Frank

  • How Do i create a list that will show in a dropdown box with the list being pulled from another tab and not the cell data format junk?

    How Do i create a list that will show in a dropdown box with the list being pulled from another tab and not the cell data format junk?
    I currently run OS X 10.10.1
    Now i have been trying to work on this for a while now and what i want to do should be simple but its apparently not.
    Here is an example of what i want to happen.
    I will have 2 tabs: Contact | Sales
    Now Contacts will have the list of names and various information about a customer, While Sales will have one drop-down box for each Cell Row that will show the names of the person in tab contacts
    for what i am wanting to do i cant use the data format pop-up menu because the list is edited everyday several times a day.
    Now how do i do this, Excel can do this so how can numbers do it?

    Hi Shegra,
    Paste this into a applescript editor window and run it from there. In the script you may need to adjust the four properties to agree with your spreadsheet. Let me know if you have any questions.
    quinn
    Script starts:
    -- This script converts column A in one table into an alphabetized list of popups. It copies the last cell in that column. Then reverts the column to text. It then refreshes popups in column A of a data table starting with a user defined row.
    property DataEntrySheet : "Sheet 1" --name of sheet with popups to be refreshed
    property DataEntryTable : "Sales" --name of table with popups to be refreshed
    set copyRange to {}
    property PopValueSheet : "Sheet 1" --name of sheet with popup values table
    property PopValueTable : "Contacts" --name of table with popup values
    set PopStartRow to {}
    tell application "Numbers"
      set d to front document
      set ps to d's sheet PopValueSheet
      set pt to ps's table PopValueTable
      set s to d's sheet DataEntrySheet
      set t to s's table DataEntryTable
      set tf to t's filtered --this records filter setting on data Entry Table
      display dialog "Start from row #..." default answer "" with icon 1 -- with icon file "Path:to:my.icon.icns" --a Week # row
      set PopStartRow to {text returned of result}
      tell pt --convert list to alphabetized popups
      set ptRows to count rows
      set copyRange to ("A2:" & name of cell ptRows of column "A")
      set selection range to range copyRange
      set selection range's format to text
      sort by column 1 direction ascending
      set selection range's format to pop up menu
      -- popupsmade
      set selection range to cell ptRows of column 1 of pt
      set v to value of cell ptRows of pt
      end tell
      activate application "Numbers"
      tell application "System Events" to keystroke "c" using command down
      tell pt
      set selection range to range copyRange
      set selection range's format to text
      end tell
      tell t
      set filtered to false
      set tRows to count rows
      set pasteRange to ((name of cell PopStartRow of column "A") & ":" & (name of cell tRows of column "A"))
      set selection range to range pasteRange
      tell application "System Events" to keystroke "v" using command down
      set filtered to tf
      end tell
    end tell

  • List of values from Database Adapter - BPM Forms

    Hi all,
    Can anyone tell me how to get list of values from Database adapter and a ServiceTask.
    As example lets say a table has Employee and Department columns.
    I want to list down all the Employees in BPM form (Select One List Box) once i provide the department to the Database Adapter.
    Is it possible from the DB Adapter?? What will be the variable type?
    Thanks,
    Nir

    Hi DanielAtwood,
    Thanks for your reply...
    Actually when i send the variable in 'WHERE Clause' in Db Adapter query it will retrieve more than one record as the output.
    I want to put that values to a 'SelectOneChoice' component and list down all the values..
    First I tried with data control. But i couldn't find the way to pass the value to the variable(in WHERE clause) to the query in data control view.
    Thanks,
    Nir

  • Inline list of values from APEX views/tables

    Hi All,
    What table/view should I refer to get all the inline list of values from form on a table or view not reports (tabular forms). I want data similar to the one obtained for tabular form reports using APEX_APPLICATION_PAGE_RPT_COLSAppreciate your reply.
    Thanks and Regards,
    -Senthil

    I think the sun caught meVery little chance of me being similarly afflicted. Typical Scottish summer.. {noformat};-){noformat}

  • Problem with:  select 'c' as X from dual

    Problem with 'select 'c' as X from dual'
    I get 2 different results when I execute the above with SQLPlus (or java) depending on the instance I am connected to. For one instance the result is a single character and for the other the character is padded with blanks to 32 chars in the SQLPlus window (and java). Does anyone know what database setting causes this to happen? Is it a version issue ?
    Test #1: Oracle 9.2.0.6 - SQLPlus result is padded with blanks
    SQL*Plus: Release 9.2.0.1.0 - Production on Mon Dec 10 09:27:58 2007
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
    With the Partitioning option
    JServer Release 9.2.0.6.0 - Production
    SQL> select 'c' as X from dual;
    X
    c
    SQL>
    Test #2 Oracle 9.2.0.1 SQLPlus result is a single character.
    SQL*Plus: Release 9.2.0.1.0 - Production on Mon Dec 10 09:29:27 2007
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    SQL> select 'c' as X from dual;
    X
    c
    SQL>

    Using 9.2.0.6 On AIX 5.2 I get the single byte result:
    UT1 > select 'c' as X from dual;
    X
    c
    If the databases are on different Oracle Homes you may want to check the sqlplus global logon files for any set commands.
    If you executed the two sql statements from different OS directories you may also want to check your sqlpath for sqlplus .logon files.
    Try issueing clear columns and repeating the statement. Are the results the same?
    HTH -- Mark D Powell --

  • Column selector for list of values

    Hi,
    is it possible to use column selector to select list of values of a certain column? I mean similar to dashboard prompts? We may have a situation that the environment we use does not allow us to use dashboard prompts in certain cases. If not, is there a way to separate lov's from each other in pivot tables? Now if we select two columns, lov will look like column1-column2 with all possible combinations and we don't want that.
    BR,
    Mari

    Use a pivot table view to achieve this requirement.
    open pivot view properties-->place the required column in the pages--->try the result
    It will work like a prompt in the report.
    mark if helpful/correct..
    thanks,
    prassu

  • Finding Columns with only NULL as values

    I have a list of tables around 30 in number. Among them i need to generate a report with Table Name and Column Names, for which all values are NULL.
    In other words, i need to find all the columns for which all the values are NULL.
    I thought of dealing it with cursors, and comparing the total count with null count in each column. But i need to loop "Number of columns" times. Is there any better way to do this?

    I think your way is a good solution. It has the advantage that you can check several columns in one select.
    select count(*), count(col1), count(col2) ... from mytabAnother approach could be to check statistical information about your table data.
    However this will not give you always the correct data.
    It depends on the time of the last statistic collection, the sample size and on the detail level.
    Here is a sample statement to play with:
    select owner, table_name, column_name, num_distinct, num_nulls, num_buckets, sample_size, low_value, high_value
    from all_tab_columns
    where owner not in ('SYS','SYSTEM')
    and nullable = 'Y' -- null values allowed
    and num_distinct = 0 -- only nulls found
    --and density = 0
    ;Note that this select would not return tables for which no statistics had been calculated. Num_distinct is NULL in such a case.
    Edited by: Sven W. on Feb 11, 2010 2:50 PM

  • Issue with creating List of Values in Business View Manager

    Hi,
    Could any one help me to figure out what this issue refers to?
    When i created a List of Values in Business View Manager, it is throwing the following error!!!!
    The List of Values used by this parameter cannot be based on a Business View derived from the current Data Foundation or Business Element.
    Prior to creating LoV, i've done successfully with creating Data connection, Data foundation, Business element and Business View..
    Thanks
    Viswa

    Hi Visaw,
    Firstly,
    -->Open Repository Explorer,
    -->where you are have related DF,DC,BV,BEand LOV's
    -->Right click on LOV's -->There you can find Schedule list of values.Then schedule list of values and check if it prompts for errors.
    If you face the same problem, what is the error you are getting.
    Else try to use the LOV's and proceed further.
          -->Check whether the LOV's are pointing to the same Business View and check the Business view pointing to the same Datafoundation.
    If you are facing the same problem then try with the below steps:
    -->Try to Create a report at designer level Using then Business view
    -->Create two new parameters and select the existing parameters(LOV parameter's)
    -->Check whether it is working.
    -->If you  face the same problem ,Update the connection of Business view manager.
    Go to Database tab-->Select Set DataSource  location and update it with current Businessview Manager.
    Try this ,and let us know.
    Regards,
    Navin

  • Rows to be displayed as Columns with SQL

    I have a select statment
    SQL> SELECT T.CODE,T.DESCRIPTION from tmp t;
    CODE DESCRIPTION
    1 1-1
    1 1-2
    1 1-3
    1 1-4
    I want with SQL not SQL*PLUS nor Cursors to see the output of my SQL statment as
    1 1-1 1-2 1-3 1-4
    Please Help

    You could try something like that :
    SQL> with tbl as
      2  (select 1 code, '1-1' descr from dual union all
      3   select 1 code, '1-2' descr from dual union all
      4   select 1 code, '1-3' descr from dual union all
      5   select 1 code, '1-4' descr from dual) -- end of data sample
      6  select code, max(sys_connect_by_path(descr,' ')) keep (dense_rank last order by length(sys_connect_by_path(descr,' '))) descr
      7  from   tbl
      8  connect by code = prior code and descr > prior descr
      9  group by code
    10  /
          CODE
    DESCR
             1
    1-1 1-2 1-3 1-4Nicolas.

  • How to create a dropdown list to list the values from two different tables?

    Hi,
    I have the following requirement:
    1. I have to create a dropdown list to display all the values from the second column of  a table.
    2. Another dropdown list to display all the values from the second column of another table.
    3. A text box should help me to add the selected values.
    How to get this done in a PDF? Please help.
    Regards,
    Latha

    Is this a LC form? Because Acrobat forms have no concept of tables, just
    individual fields...

  • Bringing a list of values from a table in another sheet

    Hey everybody - Numbers / Spreasheet novice here working slowly through my project.
    So in the first image I've got 2 cells with drop-down menus for "Day of week" and "Hour of day"  - Using the both of them causes 1 of the cells in the table below it to print "True"
    My goal is to link the "True" statement with a whole bunch of different tables on other sheets.
    For example:  IF Monday / 8am is "True"  > Print the list from Sheet-2::8am
    If I want to use the same blank table for "Monday / 9am" and "Monday / 10am" am I going to have to nest 119 separate equations in the same cell?
    Is there an easier way to do this?
    Thanks!!

    "All the data is located on tables on separate sheets..."
    From your most recent description, it appears that table shown, named 8am, is the only source for the data to fill the table Day/Hour List when the two pop-up menus in the small table are set to Mon and 8am respectively, and that all of the data on 8am is to br copied to Day/Hour List.
    Extending that, I would assume that there is a similar source table for each combination of DAY and HOUR, and that setting the two pop-up menu cells determines which of these 105 tables becomes the source table for Day/Hour List.
    Since the source table ("8am") does not contain an indication of which day it is for, I'd further assume that this information is included in the Sheet name of the Sheet on which 8am is placed, and that the Sheet names are identical except for the (short) day name.
    "My dilemma - how do I write a function for the blank table that would copy the contents of the 27 row long "8am" table into the blank table
    How do I make that same function work to do the same thing if say "Tuesday 8am" was "True" instead?"
    Why bother? You can see from the small table with the day and hour pop-ups wich day and hour are selected. and it's easier to write the formula retrieving the data using those two values than to use values determined by which cell contains TRUE on a 7x15 table.
    Regarding "Mon 8am" and "Tuesday 8am": You will need to decide whether you are using full day names or short day names, then be fully consistent in that use in all instances—Sheet names, pop-up cell menu items, column headers, or any where else they might be needed in formulas.
    Does 8am contain "blank" as indicated, or is this an added note to indicate that these are actually empty cells? Do you want Day/Time List to show the text "blank", or to appear 'empty'?
    Note that only cells where data is entered directly are likely to be truly 'blank'; there's no way directly available to the user to create a truly empty cell using a formula or a pop-up menu. The closest approximation is a null string, which appears 'empty', but actually contains a zero length string (and a formula).
    Here's a possible solution, based on the assumptions above. The first example shows the result with Mon  8am selected. To the right, past the image of part of the sidebar, are images of the tables 8am and 9am from the selected sheet, Mon.
    The second example shows the same two tables (on the left), with the settings changed to Tue  9am.
    An image of two of the source charts from the Tue sheet are shown to the right of the Sheets list. Note that the Header Row in these is empty. The Header row cell in Day/Time List is filled using the data in the two pop-up menu cells.
    Formulas:
    Small table (Day Time): none. Header cells are directly entered data. Row 1 cells are pop-up menus.
    Day/Time List:
    A1: =Day Time :: A2&"  "&Day Time :: B
    A2, and filled down:
    =IF(LEN(OFFSET(INDIRECT(Day Time::$A$2&"::"&Day Time::$B$2&"::$A$1"),ROW()-1,0))<1,"",OFFSET(INDIRECT(Day Time::$A$2&"::"&Day Time::$B$2&"::$A$1"),ROW()-1,0))
    The core of this formula is this repeated part: OFFSET(INDIRECT(Day Time::$A$2&"::"&Day Time::$B$2&"::$A$1"),ROW()-1,0)
    INDIRECT is used to build an absolute reference to a cell (A1) on the table named in Day Time::B2 on a sheet named in Day Time ::A2.
    OFFSET uses the referenced cell as its base, and returns the value from the cell ROW()-1 rows below it and 0 columns to the right.
    OFFSET is enclosed in an IF statement: IF(LEN(result of formula)<1,"",result of formula)
    In the first instance of OFFSET, the result is passed to LEN(), which measures its length in characters. IF that LEN is less than 1, IF returns a null string to 'my cell'. Otherwise, IF calls OFFSET once again, and the result is returned to 'my cell.'
    Expanding the result to a 27 row table requires only adding rows to the Day/Time List table, and filling the formula into those rows.
    Regards,
    Barry

  • List of Values from SAP BW variable in Web Intelligence

    Hi Ingo,
    We have SAP BW Query Variables with list of values available in Universe and hence Web Intellligence.
    These variables are on InfoObjects like Business Partner, Contract Account...etc. The actual values for these objects are in millions. Whenever we use these filters at WebI, its taking too much time to load all those millions of List of Values.
    Can you please guide us how to avoid loading these List of Values and provide a text box for user input.
    Appreciate your help.
    Regards,
    Ravi Kumar Garre

    Hi,
    no - this is a feature you can enable on any List of values including those that are being generated based on BI variable. In the Universe - assuming a query with a BI variable - you will have two List of Value definitions per Variable.
    open the properties and set both of them to "Delegated Search", save the universe, export it and then you should see the difference.
    ingo

  • Display pattern for DateTimeField ignored when setting value from script

    Hello,
    I have a DateTimeField with Data pattern date{DD.MM.YYYY} and Display pattern date{MMMM}, so it displays its default value "21.05.2011" as "May". Now I'm setting its value from the other field's initialize event:
    if (this.rawValue) {
        data.Subform_Footer2.DateTimeField1.rawValue = this.rawValue.match(/\d+\.\d+\.\d+/)[0];
    Assuming this.rawValue contains text "21.04.2011", the DateTimeField displays "21.04.2011" in preview instead of "April" as specified in Display pattern.

    Hi,
    To me it looks like you are passing a string to the date field, rather than a date.
    Instead of trying to abstract the month manually in the script, why not pass the whole date through "21.04.2011" and leave the display pattern display the month.
    Niall

Maybe you are looking for

  • How export datas with special characters from SQL Developer?

    Hi. I'm doing an import of datas of a table, but this table have special characteres in specific accents (á,é,í,ó,ú), my source table have for example "QRCN Querétaro, Candiles" but when I done an export from opcion Tool --> Export DLL (and Datas) fr

  • File system cache performance

    hi. i was wondering if anyone could offer any insight into how to assess the performance of the file system cache. I am interested in things like hit rate (which % of pages read are coming from the cache instead of from disk), the amount of data read

  • How do you restore a depleted batte

    I was going through the trouble shooting on the site and it seems like the problem with my player falls in that category as it doesnt want to recharge no matter what?i do. The site says "Restoring the power to depleted battery" but only gives the sym

  • File Type Problem

    I'm new to compressor. I sent a FCP file to compressor and it appeared as a job. I then chose a setting which was H264 from the QT drop down in settings. My Destination I chose as my desktop. The encoding seemed to take a long time. However my file a

  • Migration of files from Snow Leopard Mac to Mavericks Mac

    Ethernet cable connection. Mavericks Mac. The window: Select the information to transfer - Choose which information you'd like to to transfer to this Mac. "Checking "My Name" computer", which is the Snow Leopard Mac Spinning pin wheel, and the Contin