Olap universe date format

Hello,
BW query connected to universe. 
BW query holds the date values in some of the characteristics-attributes which is of type 'date'.
When this imported to BO universe, the date type characteristics are appearing as 'character'.  
This is causing problem when sorting the report.... it is sorted in alphabetical order but not in Date order.
When changing in universe as 'object properties' -> type -> Date.   It is giving Error when running the webi report  'A database error occured. The database error text is: (CS) "Driver not capable" . (WIS 10901)' (or) when check integrity in universe.
How to make the  type as date in universe for Time characteristics.
Thanks
Sreedh.

Following are the version installed.
Universe Designer : 12.1.0.882
Webi Rich Client : 12.2.6.567
As mentioned in earlier notes.... Webi report connected to Universe to BW Query.
BW query has attributes of 0calweek and it has ValidFrom(date type).  The ValidFrom is appearing as character format and the requirement is to treat ValidFrom as date format in BO (universe or in webi) so that customer can able to Sort by date.   Since ValidFrom in universe changed to character format after the query connected to Universe, so ValidFrom is Sorting as character but not like date.   Is there workaround to make ValidFrom as datetype in BO or anyother version support this. 
Thanks
Sreedh.

Similar Messages

  • Date Prompt  through not resolved in webi on OLAP Universe

    Hi,
    I am using BO XI 3.1 with latest fix pack.
    I have created a OLAP universe based on SSAS 2005 Multicube for reporting using WebI
    I have Date field in my SSAS cube and i created a universe based on that cube , but my Date field changed to Character in the Universe Layer.
    My requirement is that i need to create a a prompt over that field in the webi report using a CALENDAR to enter the value instead of entering the value manually.
    I changed the type  of field for the date field from CHARACTER to DATE in the OLAP Universe level and exported it in order to see the calendar prompt ( as the calendar component is visible for the data type of DATE) .
    This conversion don't seems to work for me due to the conversion from Char to Date even if i have the data for particular date i cannot see the records but if manually type the value for that same date without converting the Date format to type Date.
    I also tried the MDX stuff and created :
    <OPTIONAL><FILTER KEY="[PERIOD SD].[DB Full Date].[DB Full Date]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="format"@Prompt('Enter Date ','A',,,{1/1/2009})"></CONSTANT></CONDITION></FILTER></OPTIONAL>
    but problem is still the same .
    So can you suggest about unusual behavior of the Universe Layer.
    Kindly suggest .
    Regards,
    Vibhav

    Hi,
    First I think you have to create a support ticket because normally the object in the universe must be generated with data data type nad it is not the case.
    We are awere of some limitations with data types.
    Secondly, if you want to have users entering date you have to specify date in the prompt data type like this:
    <OPTIONAL><FILTER KEY="[PERIOD SD].[DB Full Date].[DB Full Date]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT CAPTION="@Prompt('Enter Date ','D',,mono,free)"></CONSTANT></CONDITION></FILTER></OPTIONAL>
    Regards
    Didier

  • Wrong date format when creating a universe based on a MS Analysis cube

    Hi,
    When creating a universe based on a MS Analysis 2008 cube the date objects from the cube are created in the universe with CHAR format when it should be DATE format
    I have tried to resolve the issue by modifying the date object in the universe with MDX but with little success.
    I wonder if it is an error in the cube and that it actually should be possible to get the correct date format from the cube when creating the universe automatically in the universe design tool.
    The date object is organised in a hierarchy.
    Any ideas? - both to resolve the issue by using MDX in the universe object properties or in the cube.
    The universe design tool is version 4.0 SP2 patch 5
    /Kim

    Oh I knew I was missing something. Ok version 2.
    I think in general this approach would work. I assumed you are starting from 1 and resetting to 1.
    There should be error handling and so forth that is not here. Probably some details need to be tweaked.
    So the key thing here AFAIK is to put the sequence reset in an autonomous procedure. Exactly how to do that may need to be modified.
    PS this version has a bug. After the reset needs to change the increment of the sequence back to 1.
    and I left that out. oops!
    /* testtrigger */
    /* previously:
    create table mytable (
    myprimary_key number(10) primary key,
    column1 number(2)
    create sequence mysequence
    start with 1
    increment by 1
    maxvalue 99
    nocache;
    create table mylastdate (lastdate date);
    insert into mylastdate(lastdate) values (trunc(sysdate));
    create or replace procedure reset_mysequence (in_correction number) is
    pragma autonomous_transaction;
    begin
    execute immediate 'alter sequence mysequence INCREMENT BY ' || in_correction || ' MINVALUE 1';
    update mylastdate set lastdate = trunc(sysdate);
    commit;
    end;
    show errors;
    create or replace trigger mytrigger
    before insert on mytable for each row
    declare
    tmpdate number(8) := null;
    lastdate_used number(8) := null;
    correction number := null;
    lastseq number(2) := null;
    begin
    if INSERTING then
    tmpdate := to_number(to_char(sysdate,'YYYYMMDD'));
    select to_number(to_char(lastdate,'YYYYMMDD')) into lastdate_used
    from mylastdate;
    select mysequence.currval into lastseq from dual;
    /* when this displays in the forum it shows lt gt as nothing on the screen
    so this should be lastdate not equal to tmpdate */
    if lastdate_used <> tmpdate and lastseq > 1 then
    correction := -(lastseq - 1);
    reset_mysequence(correction);
    end if;
    :new.myprimary_key := (tmpdate * 100) + mysequence.nextval;
    end if;
    end;
    show errors;
    Edited by: lake on Nov 30, 2010 10:39 AM
    Edited by: lake on Nov 30, 2010 10:52 AM

  • Universe Internationalize - Date Format based on System Regional Setting.

    Hi,
    We have set of universe for our product. I have created Deski and webi reports with date objects using those universes. I ran those report in the Systems which are Austrialia,Canadian and US Locale Settings. Both Deski & Webi report displays the DATE in US format in all the Boxes eventhough regional settings are configured to Aus & Canada.
    Can you pls help me how to make the universe internationalised. Specifically Date Formats? Currently we are focusing only for English speaking countries.
    Thanks,
    Venkateswaran.P

    Hi,
    Have you configured the locale settings In Infoview under 'Preferences' correctly?
    Have a look at the following settings:
    - Preferred Viewing Locale
    - Make sure you check the box for 'Use my preferred locale to format the data'
    Let us know if this works for you
    Regards
    Rim

  • SAP BW Time characteristics data type issue in BO OLAP Universe

    Hi Ingo,
    We have time characteristics in our SAP BW Queries, for example OCALMONTH with data type NUMC.
    When we create OLAP Universe these objects are having Character as data type and not working properly when we use these objects as filters. The filter working on string instead of calender month.
    If i try to change the data type in Universe we are not able to execute Web Intelligence queries due to Driver Not Capable error.
    Appreciate you help.
    Regards,
    Ravi Kumar Garre

    Hi,
    Please find my linline answers:
    - are you entering the value manually or did you select the value from a list of values ?
    I am selecting the values from list.
    - based on which item is the list of values ?
    List of valules are coming from BI infoObject 0CALMONTH
    - what about creating a variable for this in the underlying BW query ?
    We have created a BI Variable, found that the Condition operator is Between and hence when execute the WebI query for this object there are two prompts one is for FROM value another is for TO value. If i give a value Dec, 2007 for FROM and leave TO as blank then i am getting data for all months instead of DEC 2007 onwards.
    - did you trace the Web Intleligence part to see the details ?
    I do not have authorization to login on server and find the trace. I will ask our BO Administrator for MDX log file.
    Thanks & Regards,
    Ravi Kumar Garre

  • Calendar Prompt in OLAP Universe does on resolved.

    Hi,
    I am using BO XI 3.1 with latest fix pack.
    I have created a OLAP universe based on SSAS 2005 Multicube  for reporting using WebI.
    I have a date field in my database but when i but when i created a Universe based on that cube the date field became of type STRING. One of my requirement is that i want a calendar popup in my WebI report when i create a filter on top of that date field.
    So i manually changed the type to Date format in Universe Designer in order to see the calendar popup in webi report.
    My concern is when i select a date value from the calendar it does not work and i cannot see the data for that date if though the data exist for that. But when i manually enter the date value for that filter changing back the data type as CHaracter in the Universe it works and i can the see the data . The date format i am using is M/D/YYYY which is the same as calendar prompt.
    Why we notice this such behavior for the date field  in the WebI and every time i want a  calendar prompt i have to change the date type to Date and if i have to manually enter i have to change to Character.
    Kindly suggest .
    Regards,
    Vibhav.

    Hi,
    this forum is about the Integration Kit for SAP and you are referring to a MSAS OLAP Universe. Would suggest you enter this in the Universe forum.
    regards
    INgo Hilgefort

  • How to change default Date format in BO 6.5 SP4

    A problem with date display has been reported to me by one of our users -  in BO 6.5 - since installing SP4.
    The default date format is now MM/DD/YYYY
    I have tried to recreate this on my PC and have been able to confirm that this is the case.
    Most of our PC's will have two versions of Business Objects on them - for 5.1.6 and for 6.5 - that is the case for my PC.
    If I create a new BO document based on a spreadsheet with three entries in the spreadsheet as follows:-
    20/01/2009    20-Jan-2009  20th January 2009
    This displays in BO 6.5 as
    1/20/2009   1/20/2009    20th January 2009
    My PC regional setting is UK and the time displays DD/MM/YYYY
    Can you advise how to correct this problem please.

    Hi Sebastien
    Thank you for your response.
    I haven't checked Dimension in universe because this is happening even when datasource is an Excel spreadheet - as per details in previous post.
    I have looked for *.sbo files and found one for ODBC.sbo in the Version 5 folders on PC - with date format details in it which I've changed - that doesn't make any difference.
    Any other ideas?
    Regards
    Linda

  • Problem with date formatting after having downloaded client Oracle 10.2.0.3

    Hallo
    Could it be for the reason above, in order to have sqlplus on my application server, that some dates are displayed on several occurences (not every, i. e. only in read-only-fields) on my application, with the unwished format YY/MMM/DD instead of DD/MM/YYYY ?
    Example : August 12th 2004 appears as 04/AUG/12 instead of 12/08/2004 which we'd rather have...
    Updating .bashrc and different exports NLS_... and so on haven't changed anything so far...
    Thanks for your help.

    Actually this depends also whether NLS_LANG is set or not.
    If NLS_LANG is not set, instance setting is used:
    pierre@pbell:~$ env | grep NLS
    NLS_DATE_FORMAT=DD-MON-YYYY
    pierre@pbell:~$ sqlplus /
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Feb 18 20:36:54 2008
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connecte a :
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> show parameter nls_date
    NAME_COL_PLUS_SHOW_PARAM
    TYPE
    VALUE_COL_PLUS_SHOW_PARAM
    nls_date_format
    string
    DD/MM/YYYY
    nls_date_language
    string
    SQL> select sysdate from dual;
    SYSDATE
    18/02/2008If NLS_LANG is set, client OS setting is used:
    pierre@pbell:~$ export NLS_LANG=FRENCH_FRANCE.UTF8
    pierre@pbell:~$ env | grep NLS
    NLS_LANG=FRENCH_FRANCE.UTF8
    NLS_DATE_FORMAT=DD-MON-YYYY
    pierre@pbell:~$ sqlplus /
    SQL*Plus: Release 10.2.0.1.0 - Production on Lun. Févr. 18 20:43:06 2008
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connecté à :
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select sysdate from dual;
    SYSDATE
    18-FÉVR.-2008
    SQL> show parameter nls_date_format
    NAME_COL_PLUS_SHOW_PARAM
    TYPE
    VALUE_COL_PLUS_SHOW_PARAM
    nls_date_format
    string
    DD/MM/YYYY
    SQL> Message was edited by:
    Pierre Forstmann

  • SAP BW OLAP Universe performance issue

    Hi,
    Based on BO recommendation, I created a universe on top of a big BEX query which included all characteristics and key figures from a cube. I then created a webi report with 5 characteristics and 1 key figure from this universe. I also create the same report in BEX query designer(same number of objects). I ran both. The Bex query completed under a minute and the webi report took more than 12 minutes to run. I did a bunch of other test with different number of objects combination and saw similar differential in query performance.
    I did a trace using 'sm50' and saw the open SQL submitted to BW from BEx was very different from what got submitted from the webi report. Here is what I saw in pseudo code.
    Bex:
    select dimension1.blah, dimension2.blah, dimension3.blah, dimension..... sum(measure)
    from dimension1, dimension2, dimension3, dimension..... factTable
    where dimension1.SID = factTable.d1SID
    and dimension2.SID = factTable.d2SID
    and ......
    and (query filters)
    OLAP Universe
    select dimension1,blah, dimension1.SID
    from dimension1, factTable
    where dimension1.SID = factTable.d1SID
    select dimension2,blah, dimension2.SID
    from dimension2, factTable
    where dimension2.SID = factTable.d2SID
    select dimension3,blah, dimension3.SID
    from dimension3, factTable
    where dimension3.SID = factTable.d3SID
    It seems the OLAP universe was querying the BW cube one dimension at a time and then somehow piece the result sets together to form the final result set. Dimension tables join to the fact table without any filter definitely causes performance issue. Beside, I have no idea why the query requests are submitted to the BW system like that.
    I looked in varies forums and found no similar issues posted by others. Has anyone had any performance problem with there OLAP universe? Is this a matter of configurations?
    My envrionment:
    SAP BW 3.5
    BOXI 3.0
    ORACLE DB (version ??)

    Hi,
    You cannot compare a BEx query and a universe query by just comparing the trace.
    BEx query makes ABAP calls and universe query makes MDX calls;
    Moreover there is only one MDX call sent to SAP, what you have noticed is that there is one MDX call to retrieve member for a given characteristic whereas a prompt has been set on.
    Last, Web Intelligence consume only flattened data (row sets) wheras BEx consume data sets.
    That means that there is a flattening operation between SAP OLAP engine and the data sent to the Web Intelligence document.
    A fix have been developed for a customer to improve performance on Web Intelligence queries, this fix will be available for all customers in SP2 planned in June 09.
    Here is a a brief summary of what the fix provide:
      -  Provide data directly from SAP server to Web Intelligence document. Avoid unnecessary conversion steps: row set --> data set --> row set
      -  Eliminate redundant sort operations
      -  Other optimization operations
    Didier
    Edited by: Didier Mazoue on Nov 20, 2008 8:38 AM

  • Webi Reports Hyperlinks on top of OLAP Universe

    Hi Webi Gurus,
    my BoBJ version 3.1 sp3
    BW-OLAP universe.
    I checked below Link for the solution, but couldn't
    get answer, as these are based on relational universes.
    /people/erika.atencio2/blog/2011/04/14/creating-hyperlinks-between-webi-reports-in-infoview
    I have a OLAP universe. On top of it, there are two reports
    One parent report and one child report.
    Question: I have a column called Auction Id on parent report.
    Now, when I click on any of the Auction Id values, child report
    should only bring data for that Auction Id alone and not other Auction Ids.
    In the child report, I have Auction Id as query filter.
    Now while in Webi's Interactive Mode, I chose the option
    Select Column--> Create Hyperlink --> Link to a document -->
    Document prompts: Prompt User in runtime.
    This option works fine.
    However, when I change the Document Prompt to:
             Select Object (or) Build Formula
    report throws MDX error, during run-time,
    Please suggest.
    MDX error:
    ========================================================================
    The query failed to execute with the error Value for the Characteristic.....WIS 10901
    ==================================================================================
    Regards,
    AK

    Still getting error...I tried this
    >> 1. In the detail webi report, create a query filter for AuctionID and use Equal operator. Give the prompt text as ActionID.
    AK: Done
    >> 3. In the column properties, in the display section select display cell content as HTML.
    AK: Done
    When I provide the URL and Parse it throws following error.
    "Invalid identifier a at position 15. (WIS 10022) "
    I gave following URL and parsed it.
    ="<a href="http://sapbojdev:8080/OpenDocument/opendoc/openDocument.jsp?
    iDocID=18774&lsSAuction ID="URLEncode([Auction ID])"&sRefresh=Y
    Q: Is there any problem with syntax?
    Q: Secondly, for OLAP universe based webi report , can't we use the hyperlink option:
    Link to  Document
    Thanks,
    AK

  • Setting a Prompt value for KeyDate in WebI on SAP OLAP universe

    I have a webi report which has as its dataprovider a query against an SAP olap universe against a BEx query which has the KeyDate parameter exposed.
    Iu2019d like to get at this prompt from the SDK.
    In infoview if I run the report it pulls up the keydate prompt (a special dialogue which seems to be implemented as part of the connection definition) - this prior to pulling up the full prompts dialogue and showing all universe based @prompt filters.  In WebI I can see the prompt value entered using =UserResponse("dp.kd.value") .   So it does seem to see the keydate as a prompt of some sorts.
    I've got a little jsp that allows me to set prompts very nicely (and packeaged as a jar in the CMC that schedules ok as well) but when I put it against a report with a key date u201Cpromptu201D it just wonu2019t see it.  When I call a getCount() as below it returns 0.
    oDocumentInstance.getDataProviders().generateQueries();     
    Prompts oPrompts = oDocumentInstance.getPrompts();
    out.print(oPrompts.getCount());
    This is all in an attempt to get around the scheduler limitations of key date which would give me two queries, two universes and two reportsu2026 one report for scheduling (using a customer exit to set key date) and a second for user refresh  (with a prompted key date)  which would all be rather messey to say the least!
    So any cunning ideas on how I can get hold of this key date thingymebob in the SDK?
    (ps. "Fixed in V4" would be nice to hear as an aside to thisu2026 In playing with the ramp up Iu2019ve got the same issues however so Iu2019m not to hopefull )
    Thanks!
    Jeremy.

    Hi,
    First I think you have to create a support ticket because normally the object in the universe must be generated with data data type nad it is not the case.
    We are awere of some limitations with data types.
    Secondly, if you want to have users entering date you have to specify date in the prompt data type like this:
    <OPTIONAL><FILTER KEY="[PERIOD SD].[DB Full Date].[DB Full Date]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT CAPTION="@Prompt('Enter Date ','D',,mono,free)"></CONSTANT></CONDITION></FILTER></OPTIONAL>
    Regards
    Didier

  • OLAP Universes - Based on BEx Query - Month and Previous Month Functions

    Hi,
      I created a Universe based on SAP BEx queries and I like to create a filter so that I use in Web Intelligence report to run for "Previous Month" data always. There are "Date" filelds in BEx Query(No Month info only date data). I have no knowledge of SAP BEx Queries and new to OLAP universes. Could you help.
    How to create filter that show Previous Month.
    Nanda Kishore
    Edited by: Nanda Kishore B on Dec 26, 2010 6:15 AM

    The easiest way  (but NOT the most efficient one) is to create a local variable (Dimension) in your report with the following code:
    =if (Month(CurrentDate())=1 AND Month([[MyDate]])=12 AND Year([[MyDate]])=(Year(CurrentDate())-1)) OR (Month(CurrentDate())>1 AND   Month([[MyDate]])=(Month(CurrentDate())-1)) then 1 else 0
    where MyDate is the field from your query containing the data information
    Activate the report filter area in your report design panel by pressing the Report filter icon and drag and drop your variable there and apply it to the entire report. Filter value 1 and you will get the data for the previous month.
    Keep in mind that this approach is not optimal especially if you do have many rows of data delivered to your WebI report because filtering takes place only AFTER the data is retrieved. The Best practice here is to work with BEx variables.
    How many rows of data does your WebI report normally fetches?
    Regards,
    Stratos

  • Error querying OLAP universe based on BEx query

    Hi all,
    I have a problem extracting larger (more than 80 000 rows) amounts of data through querying an OLAP universe with WebI.
    The error is:
    Query 1 - NAME_OF_THE_QUERY
    A database error occurred. The database error text is: Error in MDDataSetBW.GetCellData. &INCLUDE INCL_INSTALLATION_ERROR. (WIS 10901)
    The error occurs when I define larger scope of analysis in the query (four levels). With more modest scope (three levels or less) it's working OK. I need larger data set (more than 200 000 rows) to be populated at night through scheduling the report. We can't afford shrink the scope of analysis because it will hit the BW server during the day when it's needed by other users.
    Besides this the speed of the report refresh is very slow - more than 3 minutes per just 400 rows of data. I'm still unable to identify the source of the problem with this slowdown. Executing the same query over the web through the SAP BW BEx Viewer is much much faster - just 3 seconds. Maybe the reason for this is that the BEx viewer aggregates data on the higher level of the hierarchy rather than down to transaction level (like we do by expanding the scope of analysis).
    Anyway, if anyone have ideas about the error above I'll be very grateful if you share your thoughts. Thanks!
    Our environment:
    BO EDGE BI 3.1, standard
    SAP BW 3.0
    SAP Integration Kit (all transports installed)
    BW user with full access

    Ingo,
    Could you point me to an official SAP document regarding the 1 million cells limitation, which describes the exact version and patch level for SAP BW which removes this limitation? It will be very helpful for me because I have to convince the client to migrate BW from 3.0 to 7.01 if it will solve this limitation.
    Thank you in advance!
    Ivan
    BTW I have installed SP2 + FP2.1 and now the SAP integration is not functional, but I have opened another thread for this problem.

  • Inconsistent date formats between Rich Client and HTML client

    Hey All,
    Just wondering if anyone has come across an issue with inconsistent date formats from a universe based on an MS SSAS 2012 database connection in 4.x?
    The value of the date is returned as a string from the query but the object data type has been changed to a Date object meaning BusinessObjects should convert the string into a date if the format is correct.
    The problem in this is that the date being returned in Rich Client is in dd/MM/yyyy format whereas on the Web Client is in MM/dd/yyyy.
    From the Web Client business objects will return a date, however, it is a mix of MDY and DMY format.
    i.e. 15th of March will be displayed as 15/03/2014
    whereas 12th of March will be displayed as 03/12/2014
    All our application servers are configured for English (Australian) regional settings meaning all dates should be in DMY format.
    The date in the database is stored as a non-ambiguous yyyy-mm-dd format so it appears the variation is occurring somewhere between the database and BusinessObjects for the Web Client based reports only.
    I have also checked the sqlsrv.prm file based format and changed this to DMY but this has also not made a difference.
    The same universe in 3.1 and MS SSAS 2008 works correctly but not this one.

    Hi
    The date in the database is stored as yyyy-mm-dd format.
    As per user request.... Set the date format @ the Business layer level. so it will refelct same as in the WebI.
    Please find the below link. how to use custom Display option.
    BI4.1 Business Layer Enhancements - Create Display Format

  • Date Format in 'HH:MI' - help needed

    I have a table details that contains time_status column of Timestamp datatype.
    Data is stored in the column in the format '1/1/2008 10:31:00.000000 AM'.
    Now I want to select the data in HH:MI fopmat only.
    i.e., for '1/1/2008 10:31:00.000000 AM' I should get 10:31.
    I have written as select to_char(time_status,'HH:MI') from dual;
    I am getting an error when this query is included in the procedure.
    When I am executing outside, its is working.
    Also, How can I get the format a '1/1/2008 10:31'.
    Thanks in advance.
    Regards
    Raghunadh.

    I have a table details that contains time_status column of Timestamp datatype.Good. Always use the correct datatype. Either date or timestamp.
    Data is stored in the column in the format '1/1/2008 10:31:00.000000 AM'.
    Wrong! A timestamp or also a date column has no format! Same as a number column has no format.
    Now I want to select the data in HH:MI fopmat only. i.e., for '1/1/2008 10:31:00.000000 AM' I should get 10:31.When you work with date and timestamps you don't need any format. When you display the value, then you need to change your date into a string. Only during this transformation formatting takes place.
    Example:
    SQL*Plus: Release 9.2.0.2.0 - Production on Thu Aug 21 10:45:17 2008
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production
    /* lets do a simple date select */
    SQL> select sysdate from dual;
    SYSDATE
    21-AUG-08
    "Attention!" Sql*Plus did an implizit date to string conversion to show this value on the screen.
    It used the NLS settings for the format.
    /* Now lets change the nls settings */
    SQL> alter session set nls_date_format = 'FMddth Month YYYY';
    Session altered.
    SQL> select sysdate from dual;
    SYSDATE
    21st August 2008
    SQL>
    "Different output for the same query! Value is the same, only the formatting was changed."
    I have written as select to_char(time_status,'HH:MI') from dual;You should ask yourself, why do I want this string?
    I am getting an error when this query is included in the procedure.
    When I am executing outside, its is working.
    Also, How can I get the format a '1/1/2008 10:31'.Check the documentation (sql manual) for the many options for the date format settings. Also check for timestamps, they are a bit more difficult to handle than dates.
    Thanks in advance.
    Regards
    Raghunadh.You're welcome.

Maybe you are looking for

  • Exception NoClassDefFoundError while using the plug-in API IResource

    hi, i am trying to use the plug-in API IResource . for this i have included the necessary jar files. when i am using the class Iresource in my application then it is throwing the following exception : Error stacktrace: com.sap.tc.webdynpro.services.e

  • Selecting data from external table

    Hi there I was wondering if somebody could assist me. When I try to select data from an external table, no data is displayed, and in my log file I receive the following error: KUP-04026: field too long for datatype. Please find attached my external t

  • IWeb, mobileme, problems

    I tried to upload some photos to my iWeb site last night and a message comes up and says to sign in to Mobileme, however, when I try that another message says Mobileme has been disabled.  I have moved to iCloud, but I am not sure how to apply that to

  • Screen at Maximum Brightness after Start

    Whenever I start my computer (MacBook Pro, late 2008) since upgrading to Lion the screen brighness is set to maximum. I have turned off the automatic brightness control in preferences. I can set the brightness using the function keys but the setting

  • My track pad on my air doesn't always respond when using firefox and trying to scroll up or down in the page

    when in firefox my track pad doesn't always respond when I want to use fingers to scroll up or down in the screen...any thoughts?