View the results of a slider control

HI, I'm suggling on this pl/sql, because I just started learning a few weeks ago. Basically what this pl/sql is check

in my article "the time" to see if any time is not in the current time format and if it finds one it should display only and then someone can go and check.

Firstly this my_table has 3 different columns which makes it the primary key, so I need display the columns so that the administrator can find the

incorrect data easily in the time column.

These 3 columns that actually the primary key are 'sid', "setid" and "sentry".

I have created a slider and possesses the top loop to check all the my_table data but I do not know how to dmbs_output

all results at once. In the results, I need to display all the columns in key primary and thus 3 under and this column that the data is.

IF SQLCODE =-01858

THEN

Dbms_output.put_line (-);

Can someone help me please.  Here are my codes

DECLARE

v_result varchar2 (4000);

v_key1 varchar2 (10 byte);

whole v_key2;

whole v_key3;

cursor c_get_times

is

SELECT sid, setid, Sentinel, time FROM my_table;

c_get_times_row c_get_times % ROWTYPE;

BEGIN

TIMES a c_get_times LOOP

v_key1: = times.sid;

v_key2: = times.setid;

v_key3: = times.sentry;

SELECT TO_DATE (times.time, "HH24") IN v_result FROM my_table;

END LOOP;

OPEN c_get_times.

LOOP

EXTRACT the c_get_times in c_get_times_row;

EXIT WHEN c_get_times % NOTFOUND;

END LOOP;

EXCEPTION

WHILE OTHERS

THEN

IF SQLCODE =-01858

THEN

Dbms_output.put_line ();

ELSIF SQLCODE =-01851

THEN

Dbms_output.put_line ('invalid value for minutes");

ON THE OTHER

Dbms_output.put_line (' failed with another unknown error: ' |) SQLERRM);

END IF;

END;

If you can create the object in your schema, create the function below and the race below query it will give a correct result. I think that's the test objective you ask, otherwise do not use DBMS_OUTPUT. Just create the function and run the select statement.

FUNCTION to CREATE or REPLACE date_chk (p_value VARCHAR2, VARCHAR2 p_format)

RETURN NUMBER

AS

v_val1 NUMBER (10);

T_DATE DATE;

BEGIN

T_DATE: = TO_DATE (p_value, p_format);

RETURN 1;

EXCEPTION

WHILE OTHERS THEN

IF SQLCODE =-01858 THEN

RETURN 0;

END IF;

END;

SELECT the sid,

SetID,

Sentinel,

timeval

OF test_time

WHERE date_chk(timeval,'HH24:MI') = 0;

Tags: Database

Similar Questions

  • View the data in different data control

    JDev 11.1.1.5.0 BPM

    I have a table from a data bean and control when clicking on a row of this table, I want to display data from another control on different data (Payload BPM) under the table in a form.

    How can I do this?

    Hello

    The payload BPM is exposed by a method I guess. This method takes an argument of the query (?). If this argument is for example an ID of the selected line then...

    1 create a valueAttribute binding by selecting the pageDef file. In the editor, choose the links, then generic link, AttributeValue. Select the iterator used by the table, and then the name of the attribute holding the ID to pass to the BPM method

    2. drag the result of BPM method to the page (and make it as a shape)

    3. the argument of the BPM method card for #{bindings.. inputValue}

    4. set the Partialtrigger property to the ID of the table panelFormLayout

    This should synchronize the form with the value selected in the table

    Frank

  • assign the value to a selection of the result of a query control

    I want to assign a value to my controls with the result of the query.

    It works for CFINPUT TEXT, but it does not work to SELECT

    I want to know are there any way tp affect my drop-down list value based on the result of questy.

    I have CFSTOREPROC as follows:

    < cfstoredproc procedure = "PSP" >

    < cfprocparam value = '#form. "IDNumber #" CFSQLTYPE = "cf_sql_integer" >

    < name cfprocresult = resultset "spResult" = "1" >

    < / cfstoredproc >

    < type CFINPUT = 'text' id = "txtIDNumber" value = "" #spResult.IDNumber # "/ >"

    I am able to name a TEXT of ENTRY CF as above the code value,

    < select id = "lstNumber" value = "#spResult.lstNumber #" > < / select >

    but it does not affect the value of my result of the query to SELECT entry.

    Is it possible to assign a value to the query result SELECTION control?

    I tried to use JavaScript that works if I pass a number, but it does not work if I pass a query result,

    Your help is very appreciated,

    Kind regards

    Iccsi,

    @Iccsi,

    My bad!  Yes, you will either need to the CFOUTPUT tag (that you commented out in your code) but without specifying a query or change the CFLOOP query CFOUTPUT = "Notes".  If one of these should work:

    OR

    -Carl V.

  • How to find and view the results in flash

    Hello friends,

    I work in Flash 8 and using AS 2.0 coding.

    I work with failover-page application. Here I have an option 'search '. I'll tell you the scenario.

    Here I am loading images/pages dynamically through xml. He loading and works as a page flipping. so far, it has been done. Now if you enter some text inside the search option and press, he must search all loaded images/pages and view pages resulted.

    How this feature is indeed. How to find the jpg with a given string?

    Your help will be really appreciated.

    Kind regards

    Rajesh

    You must have a database of information related to the pages.  If the pages are only jpeg images, then they will not be able to provide you with anything in the way of useful data searchable beyond possibly titles image.  So, you will need to create a database that contains all of the information in these pages that you can have your (matching chain) diagram of function search works with to find matching information.

  • View the results by unique identifier

    Dear community,

    I failed on something I do not know how to understand.

    What I want is a page that contains a blank report and a LOV. When I choose something from the LOV (which is a primary key), the empty report should be filled with stored information / related to the selection of LOV.
    As possible. because I could not find or have examples for this.



    Explanation:

    I have a 1 page.
    I have a region 1 page.
    I have a report on page 1.
    I have a LOV element on page 1.

    Selection of items LOV is pressed the report must be completed with tabledata lov selection-related.



    Thank you!

    "What I need on page 1, is I want all results by student.
    I thought it could be done by having 1 LOV and a report based on a table (this report automatically shows all the data in the table, which is not a real problem).
    "But when I select a student out of the LOV, the report should update only the results of the student."

    Let's say your agenda of the LOV page called P1_STUDENT and your primary key on the table column is STUDENT_ID.

    Your request would be

    Select column1, 2, 3,....
    FROM Student_Table
    WHERE STUDENT_ID = :P1_STUDENT OR :P1_STUDENT IS NULL 
    
    This is where your "select list item fits into the query's Where Clause"
    

    So, following the previous tips to have your LOV P1_STUDENT point send the page when it is modified by the user, your report runs and data will be selected based on its new value and new details of the report will be generated.

    -OR: P1_STUDENT IS NULL - allows the report to initially run and select all lines for all students ID's

  • two in the drop-down menus - find - view the results

    Hi anyone tell me the best way to do the above in the Toolbox of the developer. That is to say have two drop downs say select in 'space' and 'employment' and then displays the results...

    Thank you

    Richard

    I´ll send you a private message, as I Don t think that this problem can be solved in just to look at a few screenshots guess what else could unfold ;-)

    See you soon,.

    Günter

  • View the results of the second request when I hover over a field in a report

    Hello

    I have a table 'ASSETS', which, among other things, an ASSET_ID and a NAME column. It is possible that an asset will be alias so I have a second table, ALIAS, which has a FK to ASSETS. ASSET_ID and a column ALIAS.

    I have a report on the PROPERTY table that includes the NAME. I wish I could have the user to move the mouse over the name and have a popup (like the ' title' that you can set in the attributes 'link' to a column in a report) appear that contains all aliases the ALIASES for this ASSET_ID table.

    Is this possible and, if so, can you point me in the right direction?

    Thank you

    Joseph

    Hello

    OK - I think you need to do something like the following:

    1. create a function that returns a VARCHAR2 value. This must concatenate the alias into a single string (you can include a blowdry form layout if you use the SPAN method to view the data instead of the setting of the "title" attribute).

    2. on the column that you want to apply it, you must build the content of the cell by using the parameter Expression HTML - in there, you can use #COLUMNAME # no matter wherever you need

    Andy

  • Error when trying to view the results of the latency

    Hello

    After a successful (including downloading are finished) I din't get any result of latency in the web INTERFACE

    When I look at the viewplanner.log I see the following error:

    tail-f viewplanner.log

    File "/ usr/lib/python2.6/site-packages/txjsonrpc/web/jsonrpc.py", line 112, rendering

    () defer.maybeDeferred(function,_*args).addErrback

    -< exception that is caught here >-

    File "/ usr/lib/python2.6/site-packages/twisted/internet/defer.py", line 133, in maybeDeferred

    result = f (* args, * kw)

    File "/ tmp/ViewPlanner/web_interface.py", line 527, jsonrpc_getResultsMap

    File "mysql_interface.py", line 554, in getTestAverages

    exceptions. IndexError: list index out of range

    When I run the script report.pyc only I got the following error:

    [root@viewplanner ViewPlanner] # python report.pyc t 'load-view' m distance

    Writes raw data to the file: load - view.dat

    Report.Pyc: no iterations is stabilized to be marked. Could not generate the report.

    I applied the fix mentioned in the thread http://communities.vmware.com/thread/423015

    Any ideas?

    Best regards, Christian

    The perfcounter nickname is not enabled in the vmx file. Shut down the virtual computer, add the entry of perfctr such vmx file as specified in the user guide and the error will disappear.

  • What will be the result of this slider?

    Hi all

    I'm learning step, find, following the example of the net and want to know what will be the output of type v_emp_data

    DECLARE

    CURSOR ABC_EMP

    IS

    SELECT EMPNO,

    ENAME,

    DEPTNO,

    SAL

    FROM EMP;

    --

    V_sal_type TYPE TABLE IS NUMBER

    INDEX BY VARCHAR2 (50);

    --

    v_emp_data v_sal_type;

    BEGIN

    FOR V_EMP_REC IN ABC_EMP

    LOOP

    () v_emp_data

    LPAD (V_EMP_REC. EMPNO, 4, ' ')

    || LPAD (V_EMP_REC. ENAME, 10, ' ')

    || LPAD (V_EMP_REC. DEPTNO, 2, ' ')): =.

    V_EMP_REC. SAL;

    DBMS_OUTPUT. Put_line (v_emp_data. (Count);

    END LOOP;

    END;

    /

    It shows 1 to 14, that is to say no. of recordings, but how do I see the data it contains. Help, please.


    Kind regards.

    SQL > DECLARE
    SLIDER 2 ABC_EMP
    3 EAST
    4. SELECT EMPNO,
    5 ENAME,
    6 DEPTNO,
    7 SAL
    8 FROM EMP;
    9        --
    10 v_sal_type TYPE TABLE IS NUMBER
    11 INDEX BY VARCHAR2 (50);
    12        --
    13 v_emp_data v_sal_type;
    14 v_index varchar2 (50);
    BEGIN 15
    16 FOR V_EMP_REC IN ABC_EMP
    17 LOOP
    (v_emp_data 18)
    19 LPAD (V_EMP_REC. EMPNO, 4, ' ')
    20              || LPAD (V_EMP_REC. ENAME, 10, ' ')
    21              || LPAD (V_EMP_REC. DEPTNO, 2, ' ')): =.
    22. V_EMP_REC SAL;
    23 END LOOP;
    24 DBMS_OUTPUT. Put_line (v_emp_data. (Count);
    25 v_index: = v_emp_data. FIRST;
    26 LOOP
    EXIT 27 WHEN v_index IS NULL;
    28 DBMS_OUTPUT. Put_line ("INDEX:" | ") v_index | ' VALUE: ' |  v_emp_data (v_index));
    29 v_index: = v_emp_data. Next (v_index);
    30 END LOOP;
    ENDS 31;
    32.
    14
    INDEX: 7369 SMITH20 VALUE: 800
    INDEX: 7499 ALLEN30 VALUE: 1600
    INDEX: 7521 WARD30 VALUE: 1250
    INDEX: 7566 JONES20 VALUE: 2975
    INDEX: 7654 MARTIN30 VALUE: 1250
    INDEX: 7698 BLAKE30 VALUE: 2850
    INDEX: 7782 CLARK10 VALUE: 2450
    INDEX: 7788 SCOTT20 VALUE: 3000
    INDEX: 7839 KING10 VALUE: 5000
    INDEX: 7844 TURNER30 VALUE: 1500
    INDEX: 7876 ADAMS20 VALUE: 1100
    INDEX: 7900 JAMES30 VALUE: 950
    INDEX: 7902 FORD20 VALUE: 3000
    INDEX: 7934 MILLER10 VALUE: 1300

    PL/SQL procedure successfully completed.

    SQL >

    SY.

  • the unstable image cropping slider control, jumps to the zoom of the image and lifestyle culture

    A problem that started right after a touch of support linked to the difficulties of the subscription and then LR thinking that another LR catalog has been opened.  The chassis of the crop cursor control is unstable.  When you attempt to drag a corner, culture window disappears and the cursor is create a zoom effect.  Hold down the mouse button causes the zoom to get in and out. Makes it absolutely impossible to culture. Zoom in and zoom control of the window in the X Y library function is affected in the same way. I used LR since LR3 and have 20 + K images in my catalogs, so I don't know how features should work. I use Windows 8.1 and since a year or two. The problem seems to get worse day by day. My last support contact picked up my screen and installed updates LR that I had stayed away from because things worked OK. I am now running 2015.3 Release, Camera Raw 9.3.  To deal almost exclusively with Nikon NEF files, even though I was converting them to DNG format until the last support suggested things would go faster (better?) if I stayed just in the NAVE.  Any suggestion would be appreciated. I'm not terribly computer warned, so changes to the system as back to an earlier version are not easy for me.  Tom

    Tom,

    It sounds like your mouse is dying. Try another and see if that fixes the problem.

    HAL

  • ADF Mobile | to view the results in a table


    Hi all

    I use Jdeveloper with ADF Mobile 11.1.2.4.39.64.62 extensions 11.1.2.4

    I must displya quesry results in the form of a table (I'm developing of application for tablets and iPads).

    I don't see any compont to Datacontrols table to remove it as a table on page amx.

    Is it possible that I can display the data in a table in ADF Mobile?

    Help, please.

    Thank you

    Vieira

    Hi Vinay,

    Yes, I understand that the table showing in the window is not the best, but we develop this for the cushions and with highest 7-inch screen tablets.

    I am able to achieve by droping inside the Table list item > row > component cell Format.

    Don't you see the disadvantages of this approach?

    Thank you

    Vieira

  • Score &amp; view the results of a form submission

    To http://theforrestproject.org/petitionform.html , I created a petition that sends the form to my email account successfully. But I also said on the same shape as the total number of results by country and by State can be found on the bottom of the page.

    Anyone would please give me clues as to how this could be done?

    I was able to copy the corresponding code from anywhere?

    I use CS3 and I am an old man, so please, be gentle.

    Any advice on this subject would be sincerely appreciated.

    Thank you, Ian Malik.

    If your server is windows-based, you would normally use ASP and MS SQL server, not PHP/MySQL. But how many answers you anticipate? If it's under the 1000 or so there would be much less active match them manually and update the web page manually. Or find someone ready to configure for you who codes ASP. The script that processes your form of petition is PHP. It is certainly possible for PHP on a windows server, but not a MySQL database.

    Another thing, your site you say that encryption is provided for the processing of the forms, but it is not provided by the SSL Protocol (secure socket layer). The script gdform.php crypt the data when it is sent to you? And then your e-mail off sales client? If you are not convinced that the process of form is secure, so you should probably not say anything on this subject. If you went on the road to the database, then you WOULD secure your form of disinfection and validation of the data before it goes into the databsase (but SSL is not necessary for the data that you collect).

  • How can I run the process steps in the call has a shape in the workspace and view the result

    Hi all

    I hava a process with two steps

    1. one runs the sql query and returns 'invoices me' data, I put these data in the fields in my xfaForm variable
    2. the second is a renderFormPDF witch takes a repository xdp and xfaForm as form data.

    When I run the process in the workbench, I have the right result: the pdf has fields filled by extracting data from sql query.

    but when I call the process of work space it gives me only the model without data.

    I think the process is not yet completed.

    Sorry, you just have a step of user if you wanted to send the form to the user using the interface of the workspace.

    Jasmine

  • view the results of appeal required webservice

    Hi expert,

    I took a familiar approach of post of billy Re: PLSQL webservice call to invoke a web service. Is it possible to display the return (xmlResponse) this function or using DBMS_OUTPUT.put_line (xmlResponse) to display the data if the data size is large enough, I need to display the format returned xmlResponse to analyze in a table or best way to... any ideas there?


    Thank you


    Nick

    You can write the CLOB ("soapResponse" from Billy code) in a file using DBMS_XSLPROCESSOR.clob2file ().

    You can then open it with an XML Editor to understand its structure.

  • View chkdsk results

    If you plan it chkdsk to run at startup (chkdsk C:/F/R/X/B) tracks like should (I think) but I'm unable to see the last screen before final statistics it's erased vista starts quickly. I can't find a log file. Is there a log or a log is written to disk can I access once Vista starts to view the results of the last run of chkdsk. If this is not the case, can I write a batch file to the "pipes" of chkdsk output in a text file?

    Hello illegal in all fifty States.

    To view the log Chkdsk , follow these steps:

    Open the event log.
    Control Panel (Classic view)-> administrative tools-> event (3rd choice) Viewer

    The ChkDsk log can be found at...
    Windows connects (2nd choice left)-> Application (1st choice subsidiary)

    < note="">
    A number of newspapers appears in the center pane, many of them since the most recent Windows startup. You will notice the difference in time of 1-2 hours in events if you restarted to analyze (time passing runnign chkdsk). This should help you identify startup events after the scan...

    At halfway in the logs list, find the Wininit item in the source column. This will contain the log for the ChkDsk scan data before starting.

    Hope this information is helpful

    David O
    Microsoft Answers Support Engineer
    Visit our and tell us what you think.

Maybe you are looking for