The SQL-based query form

Hello

Where can I find the sql query after building a page/form based on the sql query?

Thanks, Robbert

Robbert Hello,

You won't find your SQL query. The query is only used to create the elements in your form (region).

Roel

Tags: Database

Similar Questions

  • A loop using the SQL select query.

    Hello

    I wanted to know, if the concept of loop is possible thanks to the SQL select statement.

    For example
    =======

    Table T1

    Col1 Col2
    Slim 10

    I want to write a query in such a way, so that when I get the result of the query, I format below.

    Col1 Col2
    Slim 10
    Slim 10
    Slim 10

    Basically what I'm trying to achieve is, I have a table with two columns and it has a single line displayed above.

    I want to display this line several times as the output of my SELECT query.

    Let me know, if this target is achievable.

    Kind regards
    Saurabh

    Like this?

    SQL> SELECT 10 col1, 'Sourabh' col2
      2    FROM DUAL
      3  CONNECT BY LEVEL <= 3;
    
          COL1 COL2
    ---------- -------
            10 Sourabh
            10 Sourabh
            10 Sourabh
    
    SQL> 
    
  • the sql XML query report conversion - sound the alarm

    Hi all

    I have a custom report based on an sql query (method-sql * more) I need to convert this report in XML. I followed these steps
    I have generated the xml file by opening this request in the rdf generator (file > > generate > > xml)
    I open this XML file in word and do the rest of the treatment
    Copy the original simultaneous program (copy to option in set the window)
    changed the short name and the type of output as XML (the same method and executable retention)
    Add newly build it program at thr group asks even the original program in conc
    now, if I run this program it will show a warning when I checked the journal (Journal of the conc program manager administer) it displays following error
    > > caused by: oracle.xdo.parser.v2.XMLParseException: beginning of the element root waited.

    When I checked the XML code (from diagnostics) I was following the text by giving parameters
    > > whitespace is not allowed at this location. Error processing resource
    > > Semi colon character was expected. Error processing resource

    I checked the preview while I was preparing the model in word, it was a weather display data
    by giving the same parameters for which I generated the XML code, it shows the same warning in apps
    The log file also has the data...

    I use reports 6i, XML 5.6.2 and apps 11.5.10.2

    kindly help me to solve this

    Thanks in advance

    Shivdeep Singh

    first question - did you just change the output format of your concurrent request (with the executable, type SQL * more) in XML format and add a template to it?

    If this is the case, I'm not surprised, you get an error. You must ensure that you generate actual XML output. If you run the query and then click on the "Diagnostics" button, you will see a button saying 'display XML '. Click on this to see what you get. If you get an error, then it is not correct XML.

    This is the case, you have several options:

    1. create a data model and use it to create the XML file
    2 use the XML features in your query to generate XML (never tried so cannot guarantee this will work)
    3. use file rdf reports to generate the XML file
    4 generate the XML of PL/SQL file

    I suggest that you try option 2 first of all it should be pretty fast & easy to test, then use option 1 as the best solution if it does not work.

    Good luck!

  • Query SQL to split the lines based on the amount

    I have the data in the following format in the table.

    ORDER_ID PRODUCT_ID QUANTITY

    O1 A1   3

    I need to write the sql query to divide the data in following format:

    ORDER_ID PRODUCT_ID QUANTITY

    O1 A1   1

    O1 A1   1

    O1 A1   1

    Query must split the data based on the value in the quantity column.

    Thank you

    Developer

    Hello

    create table order_items (
      order_id varchar2(2),
      product_id varchar2(2),
      quantity number
    )
    ;
    insert into order_items values ('O1', 'A1', 3)
    ;
    -- Recursive Subquery Factoring
    with item(order_id, product_id, quantity) as (
      select
        order_id, product_id, quantity
      from order_items
      union all
      select
        order_id, product_id, quantity - 1
      from item
      where quantity > 1
    )
    select
      order_id, product_id, 1 quantity
    from item
    order by order_id
    ;
    drop table order_items purge
    ;
    
    Table ORDER_ITEMS created.
    
    1 row inserted.
    
    OR PR   QUANTITY
    -- -- ----------
    O1 A1          1
    O1 A1          1
    O1 A1          1
    
    Table ORDER_ITEMS dropped.
    
  • What will happen to the SQL Query based object View (EmployeesVO)

    Schema used: HR

    1. I created a view through SQL Query view object object (Table Employees - EmployeesVO).
    2. Creates an entity of the Employees (EmployeesEO) table object.
    3. In the section EmployeesVO (View object) entity objects, I chose EmployeesEO (entity object).

    What will happen to the View SQL Query object based on (EmployeesVO) will it change to VO based on entities or still to be based query VO.

    It is there because you can still base your query based Vo EO according to Vo.

    After that you base your VO on EO you can now use 'Add the attribute of the entity' to base your attribute on the atrributes of EO. Or if you skilled enough you can manually change the XML to VO

  • Eliminate the duplicate based on the condtion in Select of SQL query.

    Hi all

    I write the SQL query where I have to select values based on the condition in the column.

    Lets say I have 3 columns position, description, used, there are different values in the position but for some positions of the column description of the lines is the same and if column Description is the same and employee is null then that there should be only one row returned and if the description is the same but the employee column is not null then it should be several lines.

    I can't use Group by that we have around 35 columns in the select query.

    Please suggest any Solution.

    Hi Michael,

    I adds a column to the t2 to get the good understanding of my needs.

    Level
    Employee From Date to_date
    1 Test2 21.03.2014 21.04.2014
    2 Test4 21.02.2014 20.03.2014
    2 Test1 21.03.2014 21.04.2014
    2 Test3 21.04.2014
    3 MgrTest 21.03.2014

    Now, the result should look like this.

    Level
    Employee From Date TO Date
    1 Test2 21.03.2014 21.04.2014
    2 Test3 21.04.2014
    2 Test1 21.03.2014 21.04.2014
    3 Mgrtes 21.03.2014
    4

    There was an addition more as if this day is not null for the given level, then the query must return a single line of balnk more with the same position, I am reached using any Union and works very well I'm stuck with the point above.

  • Find the name of the view based on a sql query

    Can anyone suggest me how to find the name of the view based on a sql query? When I try to the following select statement:
    select view_name from user_views where text like '%SELECT * from TABLE%';
    but I get this error:
    SQL Error: ORA-00932: inconsistent datatypes: expected NUMBER got LONG
    00932. 00000 -  "inconsistent datatypes: expected %s got %s"
    But as I notice that the TEXT column is really LONG to type... Are there any other table system that store information about the text using each view?

    See this example, using DBMS_METADATA. GET_DDL:

    Re: Search text in column

  • Using a Variable to create the SQL query

    I need to create a "dynamic" update query I want to hold the meeting of the command in a variable and then refer to the query variable.

    Example:

    < cfquery name = "fred" datasource = "mydb" >
    Update db_table_name set
    PBname = "Fred Flintstone",
    pbnumber = ' 555-555-1234. '
    pbage = 25
    where recnum = 24
    < / cfquery >

    I would like use this code:
    < cfset upst = "pbname ="Fred Flintstone", pbnumber =' 555-555-1234, pbage = 25" > ".
    < cfquery name = "fred" datasource = "mydb" >
    Update db_table_name set
    #upst #.
    where recnum = 24
    < / cfquery >

    When I run the present, I get the following error message:
    Macromedia] [SequeLink JDBC Driver] [ODBC Socket] [Microsoft] [ODBC Microsoft Access driver] syntax error (missing operator) in query expression "Fred Flintstone".

    The SQL is:
    Update db_table_name set pbname = "Fred Flintstone", pbnumber = "555-555-1234", pbage = 25 where recnum = 24

    I know it's hard to see, but the "are 2' No 1". I have no idea why Coldfusion (or perhaps the ODBC driver?) puts the 2nd "in the command that causes the errors.

    Anyone can shed some light on this subject?

    While it is a simple example, my application is much more complex. I have over 50 fields in the update and based on changes to the values of the form, I may need to update all fields, some fields or NO fields.

    Can I use < cfif > test if all the fields have changed and if so, include them in the update command, but if NONE of the fields have changed, I update the command vacuum and therefore get an error. I want to avoid having to test changes twice (once to determine if I do the update and twice to perform the update).

    Thank you
    Mike.

    CF automatically escapes single quotes, he must preserve them


    Update db_table_name set
    #PreserveSingleQuotes (upst) #.
    where recnum = 24

    Ken

  • Table error ' can not analyze the SQL query!

    Hi all

    I created a view on my database called VIEW_MEMBER_PARTIC_PROJECTS

    If I run a query showing the results of the view:

    SELECT * FROM VIEW_MEMBER_PARTIC_PROJECTS

    I get the following data

    ProjectsParticipants
    131 S
    241
    319
    43
    53
    61
    72

    Now, I wanted to represent this diagram in the APEX so I created a graphic region and entered the Source query generator and the manufacturer produces the following code

    Select null, label projects, value1 Participant link

    of "SCHEMANAME." "" VIEW_MEMBER_PARTIC_PROJECTS ".

    With this code, I get an error:

    Cannot parse the SQL query!

    Select the link null, label projects, value1 "SCHEMANAME Participant." "" VIEW_MEMBER_PARTIC_PROJECTS ".

    Some queries can be run when you run your application, if your query is syntactically correct, you can save your query without validation (see options below the source of the query).

    The code looks OK, but I do not see to save options as the error code is mentioned.

    No one knows how to fix this?

    Thank you

    JaReg wrote:

    I finally found the problem.

    I looked at the code for the view and changed the start of:

    CREATE OR REPLACE FORCE EDITIONABLE VIEW "SCHEMANAME." "" VIEW_MEMBER_PARTIC_PROJECTS "("Participant","Projects")

    AS

    TO

    CREATE OR REPLACE VIEW "SCHEMANAME." "" VIEW_REPEAT_PARATIC ".

    AS

    And that seemed to fix it. I'm not entirely sure why though.

    The view was created using the quoted identifiers for column names. This makes them sensitive and means that they must always be referenced using double quotes. In the absence of quotation marks, Oracle is not case insensitive and automatically converts all uppercase identifiers. The application of graph:

    Select the link null, label projects, value1 "SCHEMANAME Participant." "" VIEW_MEMBER_PARTIC_PROJECTS ".

    has therefore been interpreted by Oracle:

    SELECT THE LINK NULL, LABEL, VALUE1 "SCHEMANAME PARTICIPANT PROJECTS." "" VIEW_MEMBER_PARTIC_PROJECTS ".

    and PROJECTS and PARTICIPANT columns were not recognized because the columns defined for the view have been 'Participant' and 'projects '. The graphic request should have been:

    Select the link null, the label of "Projects", "Participant" value1 "SCHEMANAME." "" VIEW_MEMBER_PARTIC_PROJECTS ".

    As you have now discovered, quoted identifiers are a source of nothing but obscure bugs and should never be used for database objects. He also pointed out the reason why you should always use a standardized, form tiny, coding style as it is faster to type, easy to read and less prone to errors.

  • How to disable the popup LOV (query based LOV) tabular

    Hello

    I need help. I need to make a line in a table form the read-only AND disable the Popup LOV (LOV based query). As you can see in the code below all rows with a value of "AUD" becomes read-only. Column 5 is a Popup LOV (query based LOV), and must have become read only AND disabled also. Currently, the code performs the lines = "AUD" read-only, but the user can still click on the Popup LOV this line and select a value from the list, then updates the row.

    All solutions?

    function makeRowReadOnly() {}
    {$('select[name="f06"]').each (function ()}
    var row_val = $(this) .val ();
    ROW_ID var = $(this).attr('id').substr (4);
    If (row_val is "AUD")
    {
    $("#f02_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
    $("#f03_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
    $("#f04_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
    $("#f05_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
    $("#f06_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
    $("#f07_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
    }
    else {}
    $("#f02_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
    $("#f03_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
    $("#f04_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
    $("#f05_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
    $("#f06_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
    $("#f07_"+row_id) .attr ("readonly", false).removeClass('row_item_disabled');
    }
    });
    }

    Hi dekoke_i,

    I tried this on my local instance of APEX 4.2:

    function makeRowReadOnly() {
    $('select[name="f06"]').each(function() {
    var row_val = $(this).val();
    var row_id = $(this).attr('id').substr(4);
    if (row_val == 'AUD ')
      {
        $("#f02_" + row_id).attr("readonly", true).addClass('row_item_disabled');
        $("#f03_" + row_id).attr("readonly", true).addClass('row_item_disabled');
        $("#f04_" + row_id).attr("readonly", true).addClass('row_item_disabled');
        $("#f05_" + row_id).attr("readonly", true).addClass('row_item_disabled');
        //make the popup-lov button readonly
        $('#f05_' + row_id).closest('tr').find('td span.lov a').addClass('row_item_disabled').unbind('click');
        $("#f06_" + row_id).attr("readonly", true).addClass('row_item_disabled');
        $("#f07_" + row_id).attr("readonly", true).addClass('row_item_disabled');
      }
    else {
      $("#f02_"+row_id).attr("readonly", false).removeClass('row_item_disabled');
      $("#f03_"+row_id).attr("readonly", false).removeClass('row_item_disabled');
      $("#f04_"+row_id).attr("readonly", false).removeClass('row_item_disabled');
      $("#f05_"+row_id).attr("readonly", false).removeClass('row_item_disabled');
      //enable the popup-lov button
      $("#f05_"+row_id).closest('tr').find('td span.lov a').removeClass('row_item_disabled').bind('click');
      $("#f06_"+row_id).attr("readonly", false).removeClass('row_item_disabled');
      $("#f07_"+row_id).attr("readonly",false).removeClass('row_item_disabled');
      }
    }
    

    I hope this helps!

    Kind regards

    Kiran

  • I'm writing sql that uses the value of a form element to calculate the value in the element anothet.

    Hi, I have a form that contains a single reference, name of the partner and three values. I am trying to add a new element that adds the three values based on the ID and displays the result.

    It's the sql which I use and it works if I type in a value for the ID fix, but when I replace it with 'P5_ID' I get the error below when the form is used. I can save the changes to the page OK.

    I would appreciate help with this.

    Thank you

    Steve

    Select

    ("Data_PSDM_Fcst". "' Month1_Act ' + 'Data_PSDM_Fcst '. "' Month2_Act ' + 'Data_PSDM_Fcst '. (' "Month3_Act") as "QT4.

    of 'Data_PSDM_Fcst' 'Data_PSDM_Fcst '.

    WHERE ID = P5_ID

    ORA-00904: "P5_ID": invalid identifier

    SteveKerry-Oracle wrote:

    Hi, I have a form that contains a single reference, name of the partner and three values. I am trying to add a new element that adds the three values based on the ID and displays the result.

    It's the sql which I use and it works if I type in a value for the ID fix, but when I replace it with 'P5_ID' I get the error below when the form is used. I can save the changes to the page OK.

    I would appreciate help with this.

    Thank you

    Steve

    Select

    ("Data_PSDM_Fcst". "' Month1_Act ' + 'Data_PSDM_Fcst '. "' Month2_Act ' + 'Data_PSDM_Fcst '. (' "Month3_Act") as "QT4.

    of 'Data_PSDM_Fcst' 'Data_PSDM_Fcst '.

    WHERE ID = P5_ID

    ORA-00904: "P5_ID": invalid identifier

    To use a value of element in SQL or PL/SQL of APEX block, use a reference variable to bind that precede the name of the element of the colon ("": "):

    select
        ("Data_PSDM_Fcst"."Month1_Act" + "Data_PSDM_Fcst"."Month2_Act" +"Data_PSDM_Fcst"."Month3_Act") as "QT4"
    from "Data_PSDM_Fcst" "Data_PSDM_Fcst"
    Where ID = :P5_ID
    

    I also highly recommend that you stop what you are doing now, remove all database objects that were created with identifiers respecting case-sensitive and re-create them according to standard practical Oracle so that they are case-sensitive. By the database SQL language reference:

    Note:

    Oracle does not recommend the use of identifiers in quotes for the names of database objects. These city identifiers are accepted by SQL * Plus, but they may not be valid when using other tools that manage database objects.

    Names of objects sensitive to case and between quotes identifiers will only cause confusion and error.

  • How to get the sql query

    Hello

    I already set date value as below.
    SET THE VALUE OF START_TIME = 2011-08-12 09:00
    DEFINE END_TIME = 2011-08-12 10:00
    and executes the table based on the defined date as below,
    Select * from my_table
    where
    (to_date (Accounting_Start_Time,'yyyy-mm-dd HH24:MI:SS) > = to_date ('& start_time ',' yyyy-mm-dd HH24:MI:SS) and to_date (Accounting_Stop_Time,'yyyy-mm-dd HH24:MI:SS) < = to_date ('& end_time ',' yyyy-mm-dd HH24:MI:SS))
    GOLD to_date (Accounting_Start_Time,'yyyy-mm-dd HH24:MI:SS) > = to_date ('& start_time ',' yyyy-mm-dd HH24:MI:SS) and to_date (Accounting_Stop_Time,'yyyy-mm-dd HH24:MI:SS) > = to_date ('& end_time ',' yyyy-mm-dd HH24:MI:SS) and to_date (Accounting_Start_Time,'yyyy-mm-dd HH24:MI:SS) < = to_date ('& end_time ',' yyyy-mm-dd HH24:MI:SS)
    GOLD to_date (Accounting_Start_Time,'yyyy-mm-dd HH24:MI:SS) < = to_date ('& start_time ',' yyyy-mm-dd HH24:MI:SS) and to_date (Accounting_Stop_Time,'yyyy-mm-dd HH24:MI:SS) < = to_date ('& end_time ',' yyyy-mm-dd HH24:MI:SS) and to_date (Accounting_Stop_Time,'yyyy-mm-dd HH24:MI:SS) > = to_date ('& start_time ',' yyyy-mm-dd HH24:MI:SS)
    GOLD to_date (Accounting_Start_Time,'yyyy-mm-dd HH24:MI:SS) < = to_date ('& start_time ',' yyyy-mm-dd HH24:MI:SS) and to_date (Accounting_Stop_Time,'yyyy-mm-dd HH24:MI:SS) > = to_date ('& end_time ',' yyyy-mm-dd HH24:MI:SS));
    ) but now I want to query the table based on the time,

    Any help please,.

    Hello

    It is not very hard in SQL * more.

    First of all, put your query in a script file, like this one, called hour_query.sql:

    --     hour_query.sql          Show data from my_table for a given time period
    
    PROMPT     The data below shows the period from &1 to &2
    PROMPT
    
    SELECT     *
    FROM     my_table
    WHERE     accounting_start_time     <= '&2'
    AND     '&1'               <= accounting_stop_time
    ;
    

    Parameters & 1 and & 2 are beginning and end of time, for example "2011-08-12 09:00".
    Note that this does not use TO_DATE. If you have incorrect strings in columns that must be DATEs, no errors occur.

    Assuming that hour_query.sql is located on p:\some_dir\, you want another script that runs hour_query.sql 24 times, like this one, which I will call all_hours.sql:

    @p:\some_dir\hour_query  "2011-08-12 09:00:00"  "2011-08-12 10:00:00"
    @p:\some_dir\hour_query  "2011-08-12 10:00:00"  "2011-08-12 11:00:00"
    @p:\some_dir\hour_query  "2011-08-12 11:00:00"  "2011-08-12 12:00:00"
    ...
    

    (I just did 3 hours to test. You can easily make that 24 hours).

    The following code creates and then runs all_hours.sql:

    -- Turn off SQL*Plus features that interfere with raw output
    SET     FEEDBACK     OFF
    SET     PAGESIZE     0
    SET     VERIFY          OFF
    
    -- Write all_hours.sql
    SPOOL     p:\&some_dir\all_hours.sql
    
    WITH     got_start_time     AS
    (
         SELECT TO_DATE ( '2011-08-12 09:00:00'
                            , 'YYYY-MM-DD HH24:MI:SS'
                     ) AS start_time
         FROM    dual
    )
    SELECT     '@p:\some_dir\hour_query  "'
        ||  TO_CHAR ( start_time + ((LEVEL - 1) / 24)
              , 'YYYY-MM-DD HH24:MI:SS'
              )
        ||  '"  "'
        ||  TO_CHAR ( start_time + ( LEVEL      / 24)
              , 'YYYY-MM-DD HH24:MI:SS'
              )
        ||  '"'
    FROM    got_start_time
    CONNECT BY     LEVEL <= 3     -- You can make this 24, or any other number
    ;
    
    SPOOL     OFF
    
    -- Turn on SQL*Plus features turned off earlier
    SET     FEEDBACK     ON
    SET     PAGESIZE     50
    -- Except VERIFY.  leave that OFF while all_hours runs
    --SET     VERIFY          OFF
    
    -- Run all_hours.sql
    @p:\some_dir\all_hours.sql
    
    SET     VERIFY     ON
    
  • Report with the sql query area

    Hello

    I have a region in relation to the sql query. There are two regions in the page. Top of page, the user enters data and after that second data enterd to see the region, which is related region
    based on a sql query.

    Now, when this page is opned, because the user has not entered anything, region report shows the message "no data found". Is it possible to remove this message or
    may I have conditionally disaply region report IE if data are inserted only region report is dispalyed.

    Thank you

    Hello

    You can use conditions for example "Exists (SQL query returns at least one row).

    Kind regards
    Jari

  • How the sql query to sort the records by variable

    Feel like using PHP to know how to write the query SQL ORDER BY
    value time from list/menu form field ("sort_menu") and the values in the list are the columns of the database

    SELECT *.
    OF rentals_info
    WHERE rentals_info.active = 'yes '.

    Thanks for your help,
    Jim balthrop

    JBWebWorks wrote:
    > Using fault PHP to know how to write the query to sql ORDER BY
    > run time value from list/menu form field ("sort_menu") and the list
    > values of the database columns

    Unfortunately, you can not use the Dreamweaver Recordset dialog box to set
    a column of the table as a variable. You need to adapt the code by hand, and
    Once you do, the recordset can be is no longer recognized by
    Dreamweaver. Thus, you must have first page in case the
    Bindings panel shows more the fields in your recordset.

    Begin by creating the Recordset without the ORDER BY clause and have
    your page as you want it. When everything is done, add the following
    code at the top of the page:

    <>
    create a table of column names that can be used for sorting
    $permitted = array ("price", "space");
    checks if the sort_menu variable contains a valid column name
    If (isset($_GET['sort_menu']) & in_array ($_GET ['sort_menu'], $permitted)) {}
    $sort = $_GET ['sort_menu'];
    } else {}
    the value of a default column for sorting
    $sort = "price".
    }
    ?>

    This assumes that the sort columns are called price and region.
    Change these values according to your configuration.

    You can now add ORDER BY $sort to the SQL of the Recordset.

    --
    David powers
    Adobe, Dreamweaver community expert
    http://foundationphp.com

  • Help in the Search Condition in the SQL query

    Hi gurus,

    I had the table with 3 columns
    col1           col2             col3
    123        johns123     edwin321s
    seenu       janu      satya123reset
    3456       kris         123stest
    
    In single SQL query i want to print the value based on the '123' is  
    
    123,john123,
    satya123reset,
    123test
    
    or to print the records starts with 's' like 
    s123
    seenu,satya123reset
    stest
    Thanks in advance

    Published by: SeenuGuddu on October 15, 2009 21:55

    Published by: SeenuGuddu on October 15, 2009 21:55

    Published by: SeenuGuddu on October 15, 2009 22:07

    Hello

    Not sure you mean exactly, but maybe you could do something like:

    MHO%xe> with t as ( -- generating your sample data:
      2  select '123' col1, 'johns123' col2, 'edwin321s' col3 from dual union all
      3  select 'seenu', 'janu', 'satya123reset' from dual union all
      4  select '3456', 'kris', '123stest' from dual
      5  )
      6  --
      7  -- actual query:
      8  --
      9  select rtrim ( case when col1 like '%123%' or col1 like 's%' then col1||', '  end
     10         ||      case when col2 like '%123%' or col2 like 's%' then col2||', '  end
     11         ||      case when col3 like '%123%' or col3 like 's%' then col3||', '  end
     12         , ', ')
     13  from   t;
    
    RTRIM(CASEWHENCOL1LIKE'%123%'ORC
    --------------------------------
    123, johns123
    seenu, satya123reset
    123stest
    

    You mention:

    or print the records begins by a ' as

    However the output desired is not begin with s for 's123' and "stest"... you can adjust your specification or your output...

Maybe you are looking for

  • HP dm4-1160us - cannot get the right click of the mouse using my touchpad

    Hi all I bought my HP dm4-1160us model yesterday of staples. When I use it for the first time, I found a strange problem with the touch pad. When I click right click button on the touchpad, I couldn't see the right display context menu, also same pro

  • I have a dell computer that says hardware error

    I was on my dell and all of a sudden it went to a blue screen that says stop: unknown error\systemroot\system32\ hardHow can Ntdll.dll. I solve this problem.

  • my pc is in the safe mode__not comes from normal mode__

    Hello my pc in safe mode ic is not in normal mode

  • The only user on my computer account is missing

    Some of my work laptop and desktop computers have recently become unusable because I can not connect.  Each computer only had a user account and he is gone.  There is literally nothing to click on or go on the Welcome screen.  I saw the other missing

  • String to date

    Hi all I know there are countless questions about this but I have a problem of slgiht - I'm trying to convert a string in the format YYYY-MM-DD hh: mm:. SCOTT Z I am currently splitting the string in the corresponding of the int and then pass them in