How to pass the date range as in URL filter go

Hello

I am trying to build a Url go that has two filters, date range & text. I built the url below, but he continues to throw an error. The url is not from the date max and the app starts following error:

Error: Status: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 46048] Month DateTime value 0 0000-00-00 is off limits. (HY000)

Go to Url: https:companyUrl? GB & Options = rfd & Path = / shared/CompanyID/link & P0 = 2 & P1 = eq & P2=CustomObject4.%22Indexed%20Pick%201%22 & P3 = Leasing & bet = P4 & P5 = ""-CustomObject4 Custom Attributes '. " ZDate_26 & P6 = 2 + Date % 20'2014-08-01'+ day % 20'2014-12-31'


Please suggest.

Thank you
Kiran.

It seems that you convert the data type of char to date in the URL, I don't think that this is possible.
Your code is like
& P6 = 2 + Date % 20'2014-08-01'+ day % 20'2014-12-31'

It suppose to be & P6 = 2 + 2014-08-01 + 2014-12-31

I suggest doing the formatting for this filed using column properties and try.

Hope this help, pls mark if yes ;)

Tags: Business Intelligence

Similar Questions

  • How to use the Date range parameter.

    Dear all,

    In the human resources Module, I developed a leave leave of synthesis report that gathers data from employees on.

    The end user will pass the parameter of date_start and date_end.

    The question is, if an employee only e-123 takes leave of 22 July 2013 to August 10, 2013

    and the user passes the parameter for the month of July date_start = 1 July 2013 "and date_end = July 31, 2013" for the sub condition

    "AND TRUNC (Pab.DATE_START) > =: Date_START - July 1, 2013.

    "AND TRUNC (Pab.DATE_END) < =: Date_END - July 31, 2013.

    Emp E-123 appears in the report.

    But if the user passes the parameter of the month August 1 August 2013 ", 31 August 2013", EMP - 123 does not...

    Please suggest how to write the condition he can for all conditions.

    Kind regards

    Afzal.

    Hello

    OR condition is to be enclosed with parentheses.

    If place you within the parenthesis, then take no time to deal with.

  • How to set the Date() timestamp to midnight?

    Hi guys,.

    I'm probably completely brain-break it but that's... I need to pass a date range start date and end in my query... The loading of the page, it is automatically set to the current date... I am by default

    var startDate:Date = new Date();

    var endDate:Date = new Date();

    This puts in place together with the date current time... No biggie... but since I need all records for the day, I need the timestamps on the two buttons... the startDate set to 00:00:00 and the endDate updated 11:59:59.

    But how the hell do I do?  I can't just add both because a user can connect every time that... I tried brute force, setting the time as:

    endDate.hours = 11;

    endDate.minutes = 59;

    .. without luck.  Any ideas would be greatly appreciated!

    Thank you

    Adrian

    use endDate.setHours (11,59,00,00000);

    Kind regards

    Ranga

  • How to pass the session IMAQ to the Subvi

    Hello

    My experience with LabView is neither very good nor extended. I am a scientist and I'm with IMAQ data acquisition. My current problem is that the people who wrote the script is modular, versatile, or clear initially structured. So I try to reduce the ridiculous number of tests in a simple flowchart to a level that people can actually understand it... and to make the more versatile script for future experiments.

    I'm introducing quite a few subVIs to be executed repeatedly. However, I can't know how to pass the IMAQ session on the Subvi. I constantly get the error messages. In this case, I want to acquire images with OIDE_CollectFrame.vi controlled by OIDE_TrialPhaseCollect.vi. I couldn't understand how to assign the refnum IMAQ session class, either.

    It is probably a newbie question, but usually I program with LabView.

    Dennis


  • How to pass the value?

    Hello.. I'm creating an application of streaming, in which I have a list field in a screen like this...

    1

    --------

    2

    --------

    3

    --------

    and when the item 1 is selected means a url must be passed to the video player...

    I created the list field screen in a package and a video player in other package... but I do not know how to pass the value of the field from the list to the player... Help, please... its URGENT...

    You can get the index selected by the listname.getSelectedIndex () method and compare that value with Vector data (data store URL) .that you will give a correct value from the URL and pass it.

  • SUM (case use this structure to get average values on the date range

    I use:

    Oracle SQL Developer (3.0.04) build hand - 04.34 Oracle Database 11 g Enterprise Edition 11.2.0.1.0 - 64 bit Production

    How do we use the function sum with a structure of matter inside.

    so I gave that looks like have an ID, date and value. I'm looking to get the day 7 medium for the date range of 04/01/2013 to 20/04/2013
    with t as (
    select 1 ID_Key,to_date('4/1/2013','mm-dd-yyyy') date_val, 10 Value_num from dual union all
    select 1 ID_key,to_date('4/2/2013','mm-dd-yyyy'), 15 from dual union all
    select 1 ID_key,to_date('4/3/2013','mm-dd-yyyy'), 20 from dual union all
    select 1 ID_key,to_date('4/5/2013','mm-dd-yyyy'), 0 from dual union all
    select 1 ID_key,to_date('4/8/2013','mm-dd-yyyy'), 12 from dual union all
    select 1 ID_key,to_date('4/9/2013','mm-dd-yyyy'), 8 from dual union all
    select 1 ID_key,to_date('4/10/2013','mm-dd-yyyy'), 6 from dual union all
    select 1 ID_key,to_date('4/12/2013','mm-dd-yyyy'), 10 from dual union all
    select 1 ID_key,to_date('4/13/2013','mm-dd-yyyy'), 0 from dual union all
    select 1 ID_key,to_date('4/14/2013','mm-dd-yyyy'), 0 from dual union all
    select 1 ID_key,to_date('4/15/2013','mm-dd-yyyy'), 10 from dual union all
    select 1 ID_key,to_date('4/16/2013','mm-dd-yyyy'), 5 from dual union all
    select 1 ID_key,to_date('4/17/2013','mm-dd-yyyy'), 2 from dual union all
    select 1 ID_key,to_date('4/20/2013','mm-dd-yyyy'), 3 from dual union all
    select 2 ID_key,to_date('4/3/2013','mm-dd-yyyy'), 12 from dual union all
    select 2 ID_key,to_date('4/5/2013','mm-dd-yyyy'), 15 from dual union all
    select 2 ID_key,to_date('4/6/2013','mm-dd-yyyy'), 5 from dual union all
    select 2 ID_key,to_date('4/7/2013','mm-dd-yyyy'), 7 from dual union all
    select 2 ID_key,to_date('4/9/2013','mm-dd-yyyy'), 10 from dual union all
    select 2 ID_key,to_date('4/11/2013','mm-dd-yyyy'), 5 from dual union all
    select 2 ID_key,to_date('4/12/2013','mm-dd-yyyy'), 0 from dual union all
    select 2 ID_key,to_date('4/13/2013','mm-dd-yyyy'), 0 from dual union all
    select 2 ID_key,to_date('4/15/2013','mm-dd-yyyy'), 6 from dual union all
    select 2 ID_key,to_date('4/16/2013','mm-dd-yyyy'), 8 from dual union all
    select 2 ID_key,to_date('4/17/2013','mm-dd-yyyy'), 0 from dual union all
    select 2 ID_key,to_date('4/18/2013','mm-dd-yyyy'), 10 from dual union all
    select 2 ID_key,to_date('4/19/2013','mm-dd-yyyy'), 5 from dual
    )
    * Please let me know if the table does not load.

    I would get the average of 7 days, as long as there is date for the rank of enough previous dates, is it not, then it returns a null value.

    the results should look like this
    ID_Key      date_val     Value_num     7Day_Avg     7Day_Avg2
    1     4/1/2013     10          null          null
    1     4/2/2013     15          null          null
    1     4/3/2013     20          null          null
    1     4/5/2013     0          null          null
    1     4/8/2013     12          6.71          11.75
    1     4/9/2013     8          5.71          10.00
    1     4/10/2013     6          3.71          6.50
    1     4/12/2013     10          5.14          9.00
    1     4/13/2013     0          5.14          7.20
    1     4/14/2013     0          5.14          6.00
    1     4/15/2013     10          4.86          5.67
    1     4/16/2013     5          4.42          5.17
    1     4/17/2013     2          3.85          4.50
    1     4/20/2013     3          2.86          4.00
    2     4/3/2013     12          null          null
    2     4/5/2013     15          null          null
    2     4/6/2013     5          null          null
    2     4/7/2013     7          5.57          9.75
    2     4/9/2013     10          7.00          9.80
    2     4/11/2013     5          6.00          8.40
    2     4/12/2013     0          3.86          5.40
    2     4/13/2013     0          3.14          4.40
    2     4/15/2013     6          3.00          4.20
    2     4/16/2013     8          2.71          3.80
    2     4/17/2013     0          2.71          3.17
    2     4/18/2013     10          3.43          4.00
    2     4/19/2013     5          4.14          4.83
    As you can see, there are gaps in the dates, the value is then processed by zeros for the 7Day_Avg and then ignored for the 7Day_Avg2 (not counted in the number of days on average do to no valu_num line)
    I tried something like this at first, but becomes "missing keyword" error
    select
    t.*/,
    sum(
          case 
            when date_val between :day2 - 6 and :day2
            then value_num between date_val - 6 and date_val
            else null
            end
            )
            as 7Day_avg
    
    form t
    Should I have the structure outside the sum function?

    Any thoughts?

    Published by: 1004407 on June 7, 2013 11:06

    Hello

    If you want to calculate the average of the last 7 days, including the current day, then then RANGE should be 6 PRIOR, not 7.

    Try this:

    WITH got_min_date_val AS

    (

    SELECT id_key, date_val, value_num

    MIN (date_val) compared to (AS min_date_val)

    T

    WHERE the date_val BETWEEN TO_DATE (April 1, 2013 ', "dd-mm-yyyy")

    AND TO_DATE (April 20, 2013 ', "dd-mm-yyyy")

    )

    SELECT id_key, date_val, value_num

    CASE

    WHEN date_val > = min_date_val + 6

    THEN SUM (value_num) OVER (PARTITION BY id_key

    ORDER BY date_val

    PRIOR TO TIER 6

    )

    / 7

    END AS avg_7_day

    CASE

    WHEN date_val > = min_date_val + 6

    THEN AVG (value_num) OVER (PARTITION BY id_key

    ORDER BY date_val

    PRIOR TO TIER 6

    )

    END AS avg_7_day_2

    OF got_min_date_val

    ORDER BY id_key

    date_val

    ;

    Output:

    ID_KEY DATE_VAL VALUE_NUM AVG_7_DAY AVG_7_DAY_2

    ---------- --------- ---------- ---------- ------------

    1 1 APRIL 13 10

    1 2 APRIL 13 15

    1 APRIL 3, 13 20

    1 5 APRIL 13 0

    1 APRIL 8, 13 12 6.71 11.75

    1 APRIL 9, 13 8 5.71 10.00

    1 APRIL 10 13 6 3.71 6.50

    1 12 APRIL 13 10 5.14 9,00

    1 13 APRIL 13 0 5,14 7.20

    1 14 APRIL 13 0 5,14 6.00

    1 15 APRIL 13 10 4.86 5.67

    1 16 APRIL 13 5 4.43 5.17

    1 APRIL 17, 13 2 3.86 4.50

    1 APRIL 20, 13 3 2.86 4.00

    2 APRIL 3, 13 12

    2 5 APRIL 13 15

    2 6 APRIL 13 5

    2 7 APRIL 13 7 5.57 9.75

    2 9 APRIL 13 10 7,00 9.80

    2 11 APRIL 13 5 6.00 8.40

    2 12 APRIL 13 0 3.86 5.40

    2 13 APRIL 13 0 3.14 4.40

    2 15 APRIL 13 6 3.00 4.20

    2 16 APRIL 13 8 2.71 3.80

    2 17 APRIL 13 0 2.71 3.17

    2 18 APRIL 13 10 3.43 4.00

    2 APRIL 19, 13 5 4.14 4,83

    Post edited by: FrankKulash

    Sorry; I wanted to respond to OP, not Greg

  • How to pass the ObjectType as input for search criteria

    Hi all

    I have the search function that takes input parameters and returns all matching rows. It is only forward. My problem is to have several types as an input parameter. This is the reason why I'm not able to pass the value of entry for these types.

    My Input Type table looks like this.

    CREATE OR REPLACE TYPE T_T_PARTY_REQUEST_CRITERIA
    AS THE T_O_PARTY_REQUEST_CRITERIA TABLE;
    /
    CREATE OR REPLACE TYPE T_O_PARTY_REQUEST_CRITERIA
    AS AN OBJECT
    (
    SYSTEM_IDENTIFER VARCHAR2 (50).
    PROCESS_TYPE VARCHAR2 (50).
    UPDATED_BY VARCHAR2 (50).
    STATUS VARCHAR2 (50).
    CHILD_REQUEST_INDICATOR VARCHAR2 (25).
    TRACKING_REQUEST_INDICATOR VARCHAR2 (25).
    REQUEST_TYPE VARCHAR2 (50).
    REQUEST_TYPE_CLASS_NAME VARCHAR2 (50).
    PARTY_KEY_IDENTIFIER T_T_PARTY_KEY_IDENTIFIER,
    ADDTN_IDENTIFIER_INFO T_T_ADDTN_IDENTIFIER_INFO
    )
    /

    Finally the two entries are type again.my question is how to pass the values of these two T_T_PARTY_KEY_IDENTIFIER and T_T_ADDTN_IDENTIFIER_INFO. I defined the last two types now.

    CREATE OR REPLACE TYPE T_T_PARTY_KEY_IDENTIFIER
    AS THE T_O_PARTY_KEY_IDENTIFIER TABLE;
    /

    CREATE OR REPLACE TYPE T_T_ADDTN_IDENTIFIER_INFO
    AS THE T_O_ADDTN_IDENTIFIER_INFO TABLE;
    /

    CREATE OR REPLACE TYPE T_T_ADDTN_IDENTIFIER_VALUES
    AS THE T_O_ADDTN_IDENTIFIER_VALUES TABLE;
    /

    CREATE OR REPLACE TYPE T_O_PARTY_KEY_IDENTIFIER
    AS AN OBJECT
    (
    PARTY_KEY_TYP_NM VARCHAR2 (50).
    PARTY_KEY_VALUE VARCHAR2 (50)
    )
    /

    CREATE OR REPLACE TYPE T_O_ADDTN_IDENTIFIER_INFO
    AS AN OBJECT
    (
    ADDTN_INFO_KEY_TYP_NM VARCHAR2 (50).
    ADDTN_IDENTIFIER_VALUES T_T_ADDTN_IDENTIFIER_VALUES
    )
    /

    CREATE OR REPLACE TYPE T_O_ADDTN_IDENTIFIER_VALUES
    AS AN OBJECT
    (
    ADDTN_RQST_VALUE VARCHAR2 (50).
    ADDTN_RQST_VAL_DT TIMESTAMP (6).
    NUMBER OF ADDTN_RQST_VAL_NUM (19: 2)
    )
    /

    I glued the request my function here. When I pass the value null in the entry for these 2 types my query works. otherwise, it's say no valid Identifier.First I tried with the first Type.

    I am passing the value that
    (PRKYTP. PRTY_KEY_TYP_NM = ITTPRC. PARTY_KEY_IDENTIFIER. PARTY_KEY_TYP_NM OR ITTPRC. PARTY_KEY_IDENTIFIER. PARTY_KEY_TYP_NM = 'ALL' OR ITTPRC. PARTY_KEY_IDENTIFIER. PARTY_KEY_TYP_NM IS NULL).

    Error is Error (34,147): PL/SQL: ORA-00904: "ITTPRC." "" "" PARTY_KEY_IDENTIFIER '. "" PARTY_KEY_TYP_NM': invalid identifier


    SELECT DISTINCT T_O_PARTY_REQUEST_IDENTIFIER (PR. IN BULK PRTY_RQST_ID) GATHER IN T_T_P_R_CRITERIA
    TABLE (CAST (I_T_T_PARTY_REQUEST_CRITERIA AS T_T_PARTY_REQUEST_CRITERIA)) ITTPRC;
    PRTY_RQST PR
    JOIN BUSN_APPLC ON BIAP BIAP. BUSN_APPLC_ID IS PR. BUSN_APPLC_ID
    JOIN INTN_STATS INSTS ON INSTS. INTN_STATS_ID IS PR. INTN_STATS_ID
    JOIN INTN_PROCES_TYP INTPTY ON INTPTY. INTN_PROCES_TYP_ID IS PR. INTN_PROCES_TYP_ID
    LEFT JOIN RQSTYP ON RQSTYP RQST_TYP. RQST_TYP_ID IS PR. RQST_TYP_ID
    JOIN ADDTN_RQST_INFO ADTINF WE PR. PRTY_RQST_ID = ADTINF. PRTY_RQST_ID
    JOIN ADDTN_INFO_KEY_TYP ADDKEY ON ADTINF. ADDTN_INFO_KEY_TYP_ID = ADDKEY. ADDTN_INFO_KEY_TYP_ID
    JOIN PRTY_KEY PRTKEY WE PR. PRTY_RQST_ID = PRTKEY. PRTY_RQST_ID
    JOIN PRTY_KEY_TYP PRKYTP ON PRTKEY. PRTY_KEY_TYP_ID = PRKYTP. PRTY_KEY_TYP_ID
    WHERE (BIAP. BUSN_APPLC_NM = ITTPRC. SYSTEM_IDENTIFER OR ITTPRC. SYSTEM_IDENTIFER = 'ALL' OR ITTPRC. SYSTEM_IDENTIFER IS NULL)
    AND (INTPTY. INTN_PROCES_TYP_NM = ITTPRC. PROCESS_TYPE OR ITTPRC. PROCESS_TYPE = 'ALL' OR ITTPRC. PROCESS_TYPE IS NULL)
    AND (PR. UPDT_BY = ITTPRC. UPDATED_BY OR ITTPRC. UPDATED_BY = 'ALL' OR ITTPRC. UPDATED_BY IS NULL)
    AND (INSTS. INTN_STATS_NM = ITTPRC. STATUS OR ITTPRC. STATE = 'ALL' OR ITTPRC. THE STATUS IS NULL)
    AND (PR. CHLD_RQST_IND = ITTPRC. CHILD_REQUEST_INDICATOR OR ITTPRC. CHILD_REQUEST_INDICATOR = 'ALL' OR ITTPRC. CHILD_REQUEST_INDICATOR IS NULL)
    AND (PR. TRACK_RQST_IND = ITTPRC. TRACKING_REQUEST_INDICATOR OR ITTPRC. TRACKING_REQUEST_INDICATOR = 'ALL' OR ITTPRC. TRACKING_REQUEST_INDICATOR IS NULL)
    AND (RQSTYP. RQST_TYP_NM = ITTPRC. REQUEST_TYPE OR ITTPRC. REQUEST_TYPE = 'ALL' OR ITTPRC. REQUEST_TYPE IS NULL)
    AND (RQSTYP. RQST_CLASS_NM = ITTPRC. REQUEST_TYPE_CLASS_NAME OR ITTPRC. REQUEST_TYPE_CLASS_NAME = 'ALL' OR ITTPRC. REQUEST_TYPE_CLASS_NAME IS NULL)
    - AND (ITTPRC. PARTY_KEY_IDENTIFIER IS NULL).
    - AND (ITTPRC. ADDTN_IDENTIFIER_INFO IS NULL).
    AND (PRKYTP. PRTY_KEY_TYP_NM = ITTPRC. PARTY_KEY_IDENTIFIER. PARTY_KEY_TYP_NM OR ITTPRC. PARTY_KEY_IDENTIFIER. PARTY_KEY_TYP_NM = 'ALL' OR ITTPRC. PARTY_KEY_IDENTIFIER. PARTY_KEY_TYP_NM IS NULL).

    someone can say is that this approach is correct. If this isn't the case, suggest me.

    I am passing the value that
    (PRKYTP. PRTY_KEY_TYP_NM = ITTPRC. PARTY_KEY_IDENTIFIER. PARTY_KEY_TYP_NM OR

    PART_KEY_IDENTIFIER here is a nested table. If you cannot join it like that.

    Try like this

    prkytp.prty_key_typ_nm in (select party_key_typ_nm from table(ittprc.party_key_identifier)) or
    

    Here is an example based on the EMP table.

    I created as a result of nested table.

    SQL> create or replace type my_emp_list as table of number(10)
      2  /
    
    Type created.
    
    SQL> create or replace type my_dept_obj as object(deptno number(10), emp_list my_emp_list)
      2  /
    
    Type created.
    
    SQL> create or replace type my_dept_tbl as table of my_dept_obj
      2  /
    
    Type created.
    

    I'm going to use the data of the table nested within a query to get the value of the emp table

     my_dept_tbl
     (
       my_dept_obj
       (
         10, my_emp_list(1,2,3,4,5)
       ),
       my_dept_obj
       (
         20, my_emp_list(6,7,8,9)
       )
     )
    

    The query would be like this

    SQL> select e.*
      2    from emp e
      3    join table
      4         (
      5           my_dept_tbl
      6           (
      7             my_dept_obj
      8             (
      9               10, my_emp_list(7839,7782)
     10             ),
     11             my_dept_obj
     12             (
     13               20, my_emp_list(7566,7369)
     14             )
     15           )
     16         ) t
     17      on e.deptno = t.deptno
     18     and e.empno in (select column_value from table(t.emp_list))
     19  /
    
         EMPNO ENAME  JOB              MGR HIREDATE         SAL        COM     DEPTNO
    ---------- ------ --------- ---------- --------- ---------- ---------- ----------
          7839 KING   PRESIDENT            17-NOV-81       5000          0         10
          7782 CLARK  MANAGER         7839 09-JUN-81       2450          0         10
          7566 JONES  MANAGER         7839 02-APR-81       2975          0         20
          7369 SMITH  CLERK           7902 02-APR-81       2975          0         20
    
    SQL> 
    
  • How to merge two date ranges

    Hello
    I have the rest of the table. I want to merge the date ranges if dates are continuous and the value is the same. I use Oracle 10 g. Help, please.

    START_DATE END_DATE VALUE
    ----------------------------------------------------------------

    1/1/2008 12/31/2008 1234
    1/1/2009 12/31/2009 1234


    Exit statement SQL must be as follows:


    START_DATE END_DATE VALUE
    ----------------------------------------------------------------

    1/1/2008 12/31/2009 1234



    Thanks in advance.

    Published by: user3898545 on January 27, 2010 19:44

    Hello

    user3898545 wrote:
    Hello
    Dates will not overlap but sometimes start_date can be equal to end_date in a row.

    Sorry, I'm not sure of that figure.
    If the query I posted is not giving correct results, post some samples (CREATE TABLE and INSERT statements are best, but a clause WITH as Tubby displayed is correct) and the correct results, you need these data.

    Please suggest if something needs to be done through pl/sql performance is also the key.

    I don't see how the PL/SQL will help in this problem.

    When two lines need to be combined, the end_date ranked sooner than always exactly 24 hours before the start_date on the line later?
    If so:

    WITH     got_grp         AS
    (
         SELECT     data.*
         ,     end_date - SUM (end_date + 1 - start_date) OVER ( PARTITION BY  val
                                                                     ORDER BY       start_date
                                                ) AS grp
         FROM     data
    )
    SELECT       MIN (start_date)     AS start_date
    ,       MAX (end_date)     AS end_date
    ,       val
    FROM       got_grp
    GROUP BY  val
    ,            grp
    ORDER BY  val
    ,            start_date
    ;
    

    Published by: Frank Kulash, 28 January 2010 14:03
    For example, a subquery added.

  • How to pass the IDS of lookup through weblink to the narrative report

    Hi all

    How to pass the ID lookup instead of the value in the choice list via the Web link that able to read this list of choice and based on the id id, he should go the narrative report dynamically (reports are named with the lookup id).

    Is is possible. ?
    How to get there. ?

    Thanks in advance...!


    concerning
    sowm

    Hi sowm,.
    What I understand, that values exist in analytics and not their IDs.Hence, you cannot display the ID in the reports. An alternative would be if your data integration team can fill a field with distinctive signs of the back-end database.

    PS: My apologies for late reply.

  • On the date ranges in search of oracle forms

    I use service number, name, type person and date as search criteria in the custom form ranges.
    When I enter the employee number, press the search button, I get the exact info in the block of result.
    Result block contains
    name of the employee, personid, emp numbed, org, start_date.
    Similarly when I enter the employee number, dept, I get the correct values.
    My question is, when I enter the date range. IAM unable to filter the data.
    When I enter START_DATE between nvl(:BLOCKNAME.) Start_date, 1 January 1901 ') and nvl(:BLOCKNAME.) End_date, 31-DEC-4712') where block clause in the result. I had data for the range of dates also.

    If I give condition in where clause results take so long when I search with the name of the employee, number, dept, person type.

    If I have a query with the date, the persormance is good.

    Think you know everything, how it prevents START_DATE between nvl(:BLOCKNAME.) Start_date, 1 January 1901 ') and nvl(:BLOCKNAME.) End_date, 31-DEC-4712') when look us with the employee's name, number, dept, person type.

    So leave the WHERE clause of your empty block and put something like the following in your search button:

    IF    :BLOCK.START_DATE IS NOT NULL
       OR :BLOCK.END_DATE IS NOT NULL THEN
      SET_BLOCK_PROPERTY('YOURBLOCK', ONETIME_WHERE, 'START_DATE between nvl(:BLOCKNAME.START_DATE,TO_DATE(''01-JAN-1901'', ''DD-MON-YYYY'')) and nvl(:BLOCKNAME.END_DATE,TO_DATE(''31-DEC-4712'', ''DD-MON-YYYY''))');
    END IF;
    
  • How to search the data in special characters

    Hi all

    How to recover the data, if it has some special characters.

    examples of data
     
                           NO                Name
                             1                 J-O-H-N
                              2                 J*O*H*N
                              3                  JOHN BOSCO
                             4                  JOHN   K
               
    It's like this. If I pass JOHN as keyword query should return all rows. I'm using the version of oracle 10g. Please let me know how to achieve this.



    Kind regards
    Rajasekhar

    You can also use TRANSLATE to get rid of the unwanted characters:

    SQL> with samples as (select 'J-O-H-N' c from dual union all
      2                   select 'J*O*H*N' c from dual union all
      3                   select 'J!O!H!N' c from dual union all
      4                   select 'JOHN BOSCO' c from dual union all
      5                   select 'JOHN   K' c from dual
      6                  )
      7  select *
      8  from   samples
      9  where  upper(translate(c, 'X-*','X')) like '%JOHN%';
    
    C
    ----------
    J-O-H-N
    J*O*H*N
    JOHN BOSCO
    JOHN   K
    

    Note that I added a line to your test data which failed the test voluntarily.

  • Anyone know how to check the date of warranty until when?

    Anyone know how to check the date of warranty until when?

    https://checkcoverage.Apple.com/Jo/en/;JSESSIONID=9pJ0X9pFPJtNg3c44yDGCvk9pVpt5l QSgn4B60y4Skv1WfmnqMkF!-1840326800

  • How to find the date item was my favorites on Mozilla Firefox

    on system moot bookmark how to find the date of the bookmark?

    In bookmarks menu select organize bookmarks to open the bookmarks library. In the bookmarks library, click views, and then display the columns and then added. This will display a column showing when a bookmark has been added.

  • How to set the date and time on my HP Officejet pro 8600 more?

    How to set the date and time on my HP officejet pro 8600 more?  It just on a printed journal Jan-oo-oo fax shows 00:00 AM.  There are no instructions on how to change this.  I need proof that I sent a fax to a certain date and time.  Help, please.  Thank you

    Hello

    Below are the steps to set the Date and time for your device:

    1. On the Control Panel, press the right arrow key ( ), press Setup ( ).

  • Camileo S20 - How to display the date and time

    Hi, all. I got as Christmas present the Camileo S20, and I am not able to view the date and time in the video. In the manual is no reference on this subject, only how to set the date and time. But what is the intention to set the date and time in the camera, if it is not possible to display video?

    Hello

    Have you checked the user manual of your TV cam?

    If it of possible to display the data and the time you can find in your user manual how to do this. It always interesting to read ;) s

Maybe you are looking for