Graphics Builder cant accept null column

I am try to make graph which contain two columns on datatype is not null and other one is can be null but when I select Categories X axis its show my both columns but in values its not showing anything.
I am using Graphics 6i
my table
EMP_ID NOT NULL NUMBER(5)
CARD_ID NOT NULL NUMBER(5)
ATD_DATE NOT NULL DATE
T_IN DATE
T_OUT DATE
EMP_COMMENT VARCHAR2(100)
and my query is
select atd_date,to_char(t_in,'hh24:mm') from hrm.hr_daily_atd
where t_in is not null
and emp_id = 7
Regards,
Saqib Abbasi

I apply PATCH 7 and OK.

Similar Messages

  • T-sql 2012 accept null parameter values

    The following t-sql 2012 works fine in sql management studio. However when I place it in a .net 2010 web form application, I am told the sql does not work when the parameter values are null. Thus can you tell me what I can change in the sql below that will
    accept null as 3 possible input values?
    SELECT i.[lastName]
                ,i.[firstName] 
                ,i.[middleName]
                ,i.[suffix] 
                ,a.[userid]
                ,a.schoolnum 
                ,a.spa 
                ,a.mrref
                from [OPS].[dbo].[Identity] i 
                inner join  [OPS].[dbo].[Person] p on i.identityID = p.currentIdentityID 
                inner join [OPS].[dbo].[UserAccount] u on u.personID = p.personID 
                inner join [CampusOps].[dbo].[AtnLtrUsers] a on a.userid =u.username
                       where (i.[lastName] like  '%' + @lname  + '%' or i.[firstName] like'%' +
    @fname + '%'
                       or i.[middleName]  like'%' + @mname + '%')
    or (@fname is null and @lname is null and @mname is null)
            order by  i.[lastName], i.[firstName], i.[middleName]"

    You should create a stored procedure for this.
    create procedure GetNames
    (@lname varchar(max) = null, @fname varchar(max) = null, @mname varchar(max) = null)
    as
    begin
    SELECT i.[lastName]
    ,i.[firstName]
    ,i.[middleName]
    ,i.[suffix]
    ,a.[userid]
    ,a.schoolnum
    ,a.spa
    ,a.mrref
    from [OPS].[dbo].[Identity] i
    inner join [OPS].[dbo].[Person] p on i.identityID = p.currentIdentityID
    inner join [OPS].[dbo].[UserAccount] u on u.personID = p.personID
    inner join [CampusOps].[dbo].[AtnLtrUsers] a on a.userid =u.username
    where (i.[lastName] like '%' + @lname + '%' or @lname is null) and
    (i.[firstName] like'%' + @fname + '%' or @fname is null) and
    (i.[middleName] like'%' + @mname + '%' or @mname is null)
    order by i.[lastName], i.[firstName], i.[middleName]
    end
    Also keep in mind that NULL is different than an empty string but it should work exactly like a null anyway (unless your columns/fields are also NULLable).

  • Graphics builder and os authentication

    I'm running on NT 4 sp6. I'm trying to get OS authentication working with graphics. It works great for forms and reports, but I cannot get graphics builder or the graphics runtime to work with os authentication. I've tried it with developer 2000 r2 and 6i release 2. Thanks is advance.
    null

    Is the state of OCCI and OS Authentication still the same? Or has it changed in the 2.5 years since this question was first asked and answered?
    I've yet to find any indication that it is now supported, but could I confirmation of that fact?
    If it is not, what is the Oracle recommended method for accomplishing this?

  • Calling graph from Reports created in graphics builder?

    Can you call a graph from Reports 6.0 that was created in Graphics Builder. I know you can call a graph from Forms. I tried creating my graph right in Reports with the wizard but for some reason it does not give me the fields I want to use in the available fields column, so I created the graph in Graphics Builder. Do you use a trigger of some sort. Any examples would be appreciated if this is possible. Thanks

    Justin Beno:
    Yes, you can call a graph from inside a report. All you need to do is select the button with the graph on it (not the icon with the wand, which indicates chart wizard). Then draw graph in the area of the report where you want the graph to display. After completing this, right click on graph, select Property Palette, Chart - Chart Filename (this is where you will type in the directory and filename of your graph that you created in Oracle Graphics).
    ~Vannette

  • Making Primary Key on Null Column !

    I am not happy the way Oracle treat adding constraint on existing table.
    I have one column initially accept NULL Values. after I import the data into this table. this column does not have any NULL value. I want to make this column as Primary Key. How can I do this ?
    In SQL Server you can make any column PK any time as long as long it is withen the critaria of PK.
    Now whenever in Oracle I try to make one column PK , It gives me error that cannot modify a column from NULL to NOT NULL. Even though there is no NULL value.
    I give you a scenerio:
    I have 1000s of records in a flat file, Now I donot know if some field is null or not. so I initially make all columns to accept NULL value in Oracle table. After I import that data , I delete the rows where value is NULL. Now I want to make this field as PK. But Oracle will not let me do it. why??????????????
    What can I do to modify one NULL column to PK even though there is no NULL value.
    Thanks again for your feedback.
    Abid Malik

    Perhaps I'm missing something, but it works for me
      1  create table t1 (
      2    col1 NUMBER,
      3    col2 NUMBER
      4* )
    SQL> /
    Table created.
    SQL> insert into t1 values( 1, 2 );
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> alter table t1
      2    add constraint t1_pk PRIMARY KEY( col1 );
    Table altered.Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • SOLVED !!! Import Excel Null column problem

    Hi all,
    Import data from Excel is fine as long as there's is no column in target table that
    is Varchar2(1) and Null allowable.
    If there's the above type, the DML for the insert always replace the null column with
    'NULL' resulting in SQL Error:ORA-12899: value too large for column (actual: 4, maximum: 1).
    Had check preferences setup and could not find option relating to this.
    Btw, am using Verion 1.1.1.25, on Windows XP, 10GR2 database also on same PC.
    Had use the Export Data to export above table's data and
    had checked the XLS file in Excel and the null column is indeed display as blank and use the Import Data-Excel, to import same XLS file back to database.
    Pls advise and thanks in advance.
    Zack [ /pre]
    Message was edited by:
    Zack.L
    SOLVED !!! Using Version 1.1.3 Build Main-27.66
    A MILLION THANKS !!!
    Best Regards
    Zack
    Message was edited by:
    Zack.L

    Hi Barry,
       That's GREAT NEWS !!!.
       Yes, in the Excel sheet, the column is null and when
    doing import, the SQL command use 'NULL' instead of NULL
    resulting in the string 'NULL' to be inserted.
       So, i just update current release 1.1.2.25 to 1.1.2.25.79 ?
    Thanks for the great work.
    Zack
    Message was edited by:
            Zack.L                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Graphics Builder crashes all the time

    I have this version of Graphics Builder.
    Graphics 6.0.5.31.1
    Oracle Charting Library 6.0.5.7.0
    Oracle Virtual Graphics System 6.0.5.31.0
    When I open a graph I have previously built and try to change
    something, like changing from a line graph to a bar graph,
    or just about anything else, the program crashes. At this
    point, the product is so unstable that I can't use it.
    Here is a sample output of the crashing...
    GOBLD60 caused an invalid page fault in
    module OCL60.DLL at 0167:621ff6cf.
    Registers:
    EAX=00000001 CS=0167 EIP=621ff6cf EFLGS=00010282
    EBX=0095f52c SS=016f ESP=008eb514 EBP=008eb518
    ECX=0453ccb8 DS=016f ESI=03d24ffb FS=4787
    EDX=00000000 ES=016f EDI=0453cc2d GS=0000
    Bytes at CS:EIP:
    8b 04 90 89 41 5c 8b 45 fc 8b e5 5d c3 ff 25 80
    Stack dump:
    00000000 008eb740 621bb0a4 04521a88 0453b5c6 0453ccb8 00000000
    009fdac4 03d24ffb 5ee01747 00a11a60 0453ba74 0000000c 00000000
    00000000 5ee018a6
    null

    I too have faced the same problem on using Grahics Builder 6.0.5.31.1. If you have come across any solution please let me know.
    Raghunandan Menon

  • Questions on Report Builder and Graphics Builder

    Hi there:
    I'm currently using Report/Graphics builder V 6.0.8.11.3 NT version to create RDF and OGD files.
    I was wondering with the following confusions:
    1) Is the RDF/OGD file that I create under NT plat form portable to Sun Unix?? (ie. would Report Server for Sun understand this NT RDF/OGD file?)
    2) Is/will there a Sun solaris version of Report/Graphic Builder?? And would RDF/OGD file be compatible for both NT and Sun plat form??
    Thank you very much.
    Mark

    The answer to both your questions is yes. the rdf and ogd are portable to the solaris version of reports and graphics which you can download from http://technet.oracle.com/products/reports/ on the software tab.

  • Oracle BPEL - Does not cater for not null columns and use of "default".

    Oracle BPEL - Does not cater for not null columns and use of "default".
    BPEL fails with message:
    ORA-01400: cannot insert NULL into ("EDDB"."SEISMIC_LINES"."COORD_SYSTEM_ID")
    But SQL*PLUS command works:
    INSERT into EDDB.SEISMIC_LINES
    (etc)
    regards
    Allan Ford
    Analyst / Programmer - IT Application Services, IT Services, Shared Business Services
    Santos Ltd
    Level 4, 91 King William Street, Adelaide SA 5000
    Phone: 08 8224 7944 Fax: 08 8218 5320
    Email: [email protected]

    note: BPEL keeps it's own "offline" copy of table and database items. A column that is marked not null in the database can be marked as nullable in this area. (if you kmow that a trigger is going to cater for this ..)
    One workaround is to use a trigger to provide value rather than use the column default ..

  • ORA-01400 - not null column with default value and item with authorization

    I've searched - I would think someone has run into this. APEX 3.0.0.00.20 - I've created a simple form on a table. One of the column is a not null column with a default value. I have a select list on that item, but it has security on it - authorization scheme. So, it checks the user and if that user isn't of the right role, it will not even display that item. However, APEX appears to still send in the column in its sql! So, the default value is useless, it sends in null each time. Even if I set the default at the Item level, I get null. Argg. That's got to be a bug...
    In debug, I do not see the item listed at all. It's not used. That's fine - but why is it trying to insert the value? I would think it would leave it off??? I think because the item is associated with a database column. But, getting around this is ugly. Having to create a hidden item for each one, and then check to see if I need to take the list value... horrible. Any way to get around this???

    I should add - I guess I can always put my own custom process in to replace the DML. Just seems like a simple thing - if the value doesn't appear on the debug, isn't set with any default value... don't include it in the DML.

  • How to change recordset bahaviour to accept dynamic column names in the where clause

    Hi
    im using php-mysql and i make a recordset and i want to make the column names in the where clause to be dynamic like
    "select id,name from mytable where $tablename-$myvar";
    but when i do this my i break the recordset and it disappear
    and when i use variables from advanced recordset it only dynamic for the value of the column not for the column name
    and when i write the column name to dynamic as above by hand it truns a red exclamation mark on the server behaviour panel
    so i think the only way is to change the recordset behaviour is it? if so How to make it accept dynamic column names?
    thanks in advance.

    As bregent has already explained to you, customizing the recordset code will result in Dreamweaver no longer recognizing the server behavior. This isn't a problem, but it does mean that you need to lay out your dynamic text with the Bindings panel before making any changes. Once you have changed the recordset code, the Bindings panel will no longer recognize the recordset fields.
    Using a variable to choose a column name is quite simple, but you need to take some security measures to ensure that the value passed through the query string isn't attempting SQL injection. An effective way of doing this is to create an array of acceptable column names, and check that the value matches.
    // create array of acceptable values
    $valid = array('column_name1', 'column_name2', 'column_name3');
    // if the query string contains an acceptable column name, use it
    if (isset($_GET['colname']) && in_array($_GET['colname'], $valid)) {
      $col = $GET['colname'];
    } else {
      // set a default value if the submitted one was invalid
      $col = 'column_name1'
    You can then use $col directly in the SQL query.

  • Form Builder and Graphics Builder Integration

    Does anyone have tested code fragments to do the following?:
    Send a mousedown event to a chart embedded in a form.
    Get back the section of a (pie) chart that was clicked.
    I used the genie to embed my chart, and then added some things with graphics builder.
    One tested example would be better than the fragments I'm wading through.
    Many Thanks!
    [email protected]

    use runproduct command in developer 2000

  • How to find out the NULL columns in the table?

    Hi,
    Please provide the query to find the null columns in the table. Here, all rows in the table have same column as null. It won't change.
    Table
    c1 c2 c3 c4
    X C 10
    T D 20
    I wanna find out as C2 is the nullable column.
    Thanks in advance !!
    Regards,
    Vissu....

    Below code might be solution for finding NULL valued in columns in a table and if it is solution .kindly give me points for the same.
    declare
    cursor col_cur is
    select column_name
    from user_tab_cols -- all_tables can also be used in case the table is present in own schema
    where table_name = 'TABLE_NAME'; --provide the TABLE_NAME  
    stmt varchar2(1000):= '';
    v_count number;
    count_null number;
    begin
    execute immediate 'select count(*) from TABLE_NAME' into v_count; --provide the TABLE_NAME  
    for rec in col_cur loop
    execute immediate 'select count(*) from TABLE_NAME' where --provide the TABLE_NAME  
    '||rec.column_name||' IS NULL' into count_null;
    if count_null = v_count then
    stmt :=stmt|| rec.column_name ||chr(13);
    end if;
    end loop;
    dbms_output.put_line(stmt);
    end ;

  • How to create a Dynamic UI that can work as a Graphic builder

    Hi Guys
    I have a requirement here
    There should be a Graphic Builder ...........like the way we see our Flex Builder
    But this should be a web application with the following functionality
    Lot of widgets on your left panel like say meter , cricle, chart, line graph etc. All this would be a different flex widgets(say compiled swf file loaded separately in the main application
    On the right Panel there would be dash board where they can drag and drop this above widgets and create a separate page like dragging a chart. user would be given option to configure the points for chart ....................and the data for the live chart would be feed from the backend
    Now I am little confused to how to go about ?
    Creation of separate widgets is ok ?
    Creation of applcation with this widgets is ok
    Giving an option to drag and drop , configure is ok ?
    But the main thing is that If we have to save the pages created by different user ? What is the best way to do that ? Do we use xml to save the customized widget pages including the UI layout information like widget Graph at coordinate x= 120 and y=56 etc etc then parse these xml to get the Layout back and putting the widget back to their location as the way the user created those pages
    Any suggestion ..................
    Regards
    Biswamit

    assign your library images each a class.  you can then use the "new" constructor to create instances dynamically.

  • Changing dynamically chart in graphic Builder

    Is it possible to change chart dynamically in graphic builder?
    like pie chart into bar chart etc

    Dear Diana,
    unfortunately this is not possible.
    The chart title is build from the planning book name + the Show characteristic in the shuffler (+ available nav. attributes of the Show char).                                                           
    The functionality you requested doesn't exist in standard.            
    Regards,
    Tibor

Maybe you are looking for

  • IPhone 5 can not delete emails. Will not move to trash folder or empty trash

    iPhone 5, I can get mai. I can send mail. I can not delete mail. If i click to send the read mail to trash folder... error ca not move mail to trash folder. I can move read mail to the trash folder, but can not empty the folder... HELP

  • Full path mapping not working for Taxonomy values

    Hi Friends, I'm trying to update a main table field, which is of type Lookup [Taxonomy]. The taxonomy table has a 5-level hierarchy, with two columns, Code (Display Field 1) and Name (Display Field 2). There are no attributes maintained. 001, A   [Re

  • Windows shuts down while performing iPod sync!

    Help! Just in the last couple of days my computer has started shutting down on its own but only while performing a sync between iTunes and my 60GB iPod. I upgraded my software to iTunes 7.5 and even installed the update for the iPod as well. I am sti

  • SHIP-TO-PARTY & SOLD-TO-PARTY

    Hi Friends, What is the main defference between Ship-to-party and Sold-to-party. In my sales order i am getting multiple Ship-to-party for a perticular Sold-to-party. Can any one tell me whats the main defference between this both. Regards,

  • Audio in Edge Animate

    Si può inserire traccia audio? Come?