Insert date without using todate

Hi
Whenever I execute the following query I get an error
INSERT INTO HTCALLMASTER (CALLID,REFERENCEID,CALLERID,CATEGORYID,PROBLEMTITLE,PROBLEMDESCR,STARTDATETIME,STATUS,LOGMEDIUM) VALUES ('1122','12','M70615','1','DGFG','FDGDG','22-DEC-2005 08:20:56 AM',1,'APPLICATION');
The error returned is
ERROR at line 1:
ORA-01830: date format picture ends before converting entire input string
The query executes well using to_date function but I do not want to make use of it.
Please suggest the solution.

The query executes well using to_date function but I do not want to make use of it.And the reason would be ???
Either use ALTER SESSION to change the default date format or ask your DBA to change the NLS parameter to set the default date format to what you want.
Make sure other parts of the application are not affected by any of these changes.

Similar Messages

  • How can you build time series measures in OBIEE without using TODATE AGO fu

    How can you build time series measures in OBIEE without using TODATE and AGO function?
    Please provide steps to build time series
    measures in OBIEE without using TODATE and
    AGO function. Dashboard results not storing
    in cache when using TODATE and AGO functions.
    eventhough its cached users queries not
    hitting cache because queries doesn't match
    exact date time when using TODATE and AGO
    functions. so I want to build queries using
    sysdate and some simple calculations. Please
    send your inputs/ideas for my questions..
    Thanks in Advance

    This can be using Msum function in answers. Use the following formula, here dollars is my metric. Change the formula based on your metric.
    Msum("Sales Measures".Dollars ,2) - "Sales Measures".Dollars
    the report will be cached and better performed compared with time series. check ti
    - Madan Thota

  • Different discount date from that of due date without using payment terms

    Hi,
    We would like have separate discount due date from due date without using payment terms for each invoice.
    We wants to modify ERDK-FAEDS but unable to find suitable event/exit for the same.
    So can anyone suggest any event where this can possibly be achived.
    Regards,
    Paresh

    Hi,
    We are using continuous days for working out due date from document date.
    But for discount due date business sought to provide only working days (say 7 days) from document date.
    So as to satisfy this requirement, I had adopted event R436 where system intially takes values provided but somehow it gets cleared in below lines. So I am unable to find a workaround to resolve this issue.
    PERFORM get_user_exit_function USING 'R436'.
      LOOP AT t_fbstab WHERE funcc <> 'ISU_SAMPLE_R436'.
        tmp_erdk = p_iiu-print_doc-erdk.
        tmp_erdz[] = p_iiu-print_doc-t_erdz[].
        CALL FUNCTION t_fbstab-funcc
          EXPORTING
            x_invoice_param    = p_param
            x_invoice_unit     = p_iiu
          TABLES
            xy_printdoc_lines  = tmp_erdz
            y_new_bill_lines   = tmp_new_bill_lines
          CHANGING
            xy_printdoc_header = tmp_erdk
          EXCEPTIONS
            error_message      = 1.
    Regards,
    Paresh

  • Getting current date without using client's clock

    Is there a way to get the current date without using client's clock?
    The java application we developed has many windows on which the Current Date is an important display field. As it's used 24x7, we need to make sure the date is current.
    Right now, we make a CORBA service call to get the date from the server everytime the user Resets any of these windows. This is causing a peformance issue due to the slow service call.
    Is it possible to get the Date once from the server and then start a timer to derive the date thereafter. Will a change in the client's clock affect this logic ? Can we implement this without using client's system time.
    Or is there another better way ?
    Thanks for your help.

    If I can summarize your current requirements:
    1. You need to know the time.
    2. You don't trust the client's clock so you want to get the time from another computer.
    3. You want this access to be "not too slow".
    I find requirement number 2 to be peculiar, I've never seen an application that doesn't accept the time on the client system as valid. However, there it is. Maybe it's a system for checking employees in and out, and the smarter ones have been faking out the system by changing the clock. If your CORBA connection is too slow, and NTP is too slow (it takes the little program I got from USNO about 3 seconds to synchronize my clock), why not write your own time server? A simple web server that returns only the time to any request would work. If that's not fast enough then I'd suggest you're out of luck.

  • How to display table data without  using ALV  and table element.

    Hi,
            Its possible to display table data without using ALV  and table element.
           Every time i am fetching data based on (customer,status) fields and displaying these data in my output using alv
           (every time i am fetching single row data ),
           But problem is alv occupying more space in the output , i want to display data part only i dont want field names,
           settings and header data etc..things.
          Give solution to  display data part..
    Regards,
    Rakhi.

    Hi,
    Does you mean that you need ALV without default Function Toolbar...? If this is the case, the easy solution would have been to use Table Element rather. But, if you need to use ALV only without Function Toolbar, you can do away with that as well.
    In that case, after calling GET_MODEL, you need to add few more lines of codes to achieve your goal. Those lines are --
      DATA LV_VALUE TYPE REF TO CL_SALV_WD_CONFIG_TABLE.
        LV_VALUE = LO_INTERFACECONTROLLER->GET_MODEL(
    * Standard Filter Function setting to FALSE
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_SORT_COMPLEX_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_FILTER_COMPLEX_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_FILTER_FILTERLINE_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_DISPLAY_SETTINGS_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_VIEW_LIST_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_SORT_HEADERCLICK_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_HIERARCHY_ALLOWED( ABAP_FALSE ).
    * Standard Filter Function setting to FALSE Ends
    Here as you can easily notice that LV_VALUE is instantiated on CL_SALV_WD_CONFIG_TABLE. Now, using this LV_VALUE, you set standard functions as False to dis-allow their display.
    Hope this answers your query.
    Thanks.
    Kumar Saurav.

  • My friend borrowed my old iPhone 4. I wanted to erase all the data but I dont have a password and my friend doesnt know his password. How can I erase the data without using a password?

    My friend borrowed my iPhone. I want to sell the iPhone, but first I have to erase all the data that belong too my friend. I don't know his password and he doesn't know either. Is it possible to erase the data without using a password?
    thanks!

    You need the password if it is iCloud locked you won't be able to activate the phone for use.
    As long as he remembers his email,  you can reset the password
    If you forgot your Apple ID password
    or Forgot Apple ID
    https://iforgot.apple.com/appleid
    If it is a lock screen password, you can do a restore.
    Hold down power and home for 10 seconds and release power but keep holding down home. iTunes will say your phone is in recovery mode so you can restore it.

  • Transfer data without using IR

    Hi,
    It is possible to transfer the data without using IR
    to ID..and any other cases
    thanks
    guna

    Hi,
    yes it is:
    How to send any data (even binary) through XI, without using the Integration Repository
    Regards
    Patrick
    Edited by: Patrick Koehnen on Jul 22, 2008 5:07 PM

  • Retrieving latest updated or inserted records without using a trigger

    I have to retrieve the latest updated/inserted records from a set of database tables. Say, if 'n' sets of different records have been updated or inserted into one or more different database tables then all the 'n' records of data should be retrieved using a java code without using a trigger.

    helpmeplz wrote:
    Thanks for your reply.
    But I don't know when or from where or what kind of data gets inserted/updated into the tables. I need a listener or a component which can handle events occured on the particular set of database tables, and get the event data. the java code should get the updated/inserted rows that have been inserted into a set of database tables by a third party.
    Please lemme know how I can do this.Realistically you can't.
    If and only if the tables have a modification timestamp then you could use that. Every table would need it.
    Other than that the only othe possibility would require that you keep an entire copy of each table in the memory, poll at a set interval and then do an entire comparison for each table. For very small data volumes (on the target tables) that is practical. For larger volumes it isn't.

  • How do i restore to earlier date without using time machine

    I logged in to my Mac a couple of days ago and it said it was restore to some weird date. It does not appear anything changed, but now when I am trying to download a Sims game (don't judge me lol) it won't download saying there is no Internet connection even though there is. Is there anyone to restore the system to a date that I know it was working properly without using time machine? I never bought an external drive so my time machine is not set up. Thanks.

    If you don't keep a backup, you can't restore your machine to any state except the state in which you received it, brand new, with none of your own stuff on it. That makes a pretty convincing argument for backing up, doesn't it?

  • Inserting multiple rows using a single Insert statement without using dual

    Hi all,
    i am trying to insert multiple rows using a single insert statement like the below one.
    The below one works fine..
    But is there any other change that can be done in the below one without using dual...
    insert all
    into ps_hd_samp (num1,num2) values (1,1)
    into ps_hd_samp (num1,num2) values (2,2)
    into ps_hd_samp (num1,num2) values (3,3)
    select 1 from dual;

    NiranjanSe wrote:
    Hi all,
    i am trying to insert multiple rows using a single insert statement like the below one.
    The below one works fine..
    But is there any other change that can be done in the below one without using dual...
    insert all
    into ps_hd_samp (num1,num2) values (1,1)
    into ps_hd_samp (num1,num2) values (2,2)
    into ps_hd_samp (num1,num2) values (3,3)
    select 1 from dual;
    SQL> create table ps_hd_samp (num1 number,num2 number);
    Table created.
    SQL> insert all
      2  into ps_hd_samp (num1,num2) values (1,1)
      3  into ps_hd_samp (num1,num2) values (2,2)
      4  into ps_hd_samp (num1,num2) values (3,3)
      5  select count(*)
      6  from ps_hd_samp;
    3 rows created.
    SQL> select * from ps_hd_samp;
          NUM1       NUM2
             1          1
             2          2
             3          3

  • How do I send SQL statement to SQL Server and return data without using Database Connectivi​ty Toolkit?

    Hi,  I've been trying to figure out how to pull data out of my SQL Server databases and from reading some posts and doing some tests with examples, I can kind of get data connecting into my SQL server, but so far nothing that helps.  Is it possible to actually get data out of a SQL Server database without using the Database COnnectivity Toolkit?  and if so, how?  are there whitepapers and/or examples of this?  So far, I cannot find anything that works.  thanks.

    I haven't ever done it before in LabVIEW and don't have the time to do much of the research right now.
    That having been said, you will want to look for either a .NET library or an ActiveX control. Aside from the toolkit, you aren't going to find a native solution to LabVIEW - which means using other libraries. A quick google search returns this:
    http://msdn.microsoft.com/en-us/library/ms810810.a​spx
    which may help.

  • How to access data without using authorization variable in report?

    Hello All,
    I am using two varibles in report, without using exit varible in report how to get the data based values enter in the ohter variable.
    How to find the roles and display the data " with out using the concept called varible used in report"

    Sorry..for late response.
    Answers to your questions:-
    Previous day to current date.
    I tried to follow steps given in the following link but failed as we have Teradata as data source and I dont know how to write a syntax for teradata similar to what is explained by Dave.
    http://www.dagira.com/2007/08/22/dynamic-dates-part-i-yesterday-and-today/
    Regards

  • Updating data without using update statement

    Hi,
    A quick question...
    Can any table data could be updated without using update statement from backend.
    Just wanted to make sure.
    Thanks in advance.

    Hi,
    What is your definition of Update?
    Since your question is vague and you dont explain what exactly you mean.
    here are my thoughts
    1) A record can be deleted and isnerted with new values.Where the nes values have only few columns changed from previous ones.
    2) I use pl/sql developer.If i need to update i can write select.. for update.Change the values (as in notepad)Commit.
         This is infact a update but with nice UI
    3) even your application can update data in your tables, if you code it and give correct privileges to the userRegards,
    Bhushan

  • How to Upload data without using PSA layer

    Hi Colleagues,
    I would like to apply LSA architecture principals.
    Is it possible to upload data from SAP source system or NON-SAP source system directly in a Write Optimized DSO without have to use the PSA layer ?
    And if yes how ?
    Thanks

    Hi Peter,
    We donot have any option for skipping the PSA loading in BI7.
    If you are working with BW3.5, then yes we can load the data directly without using PSA. Goto  IP>Processing Tab> Select the radio button Data Targets only--> When you schedule the IP, data will be directly loaded to Data Target without using PSA.
    Hope it helps!
    Rregards,
    Pavan

  • How to insert delay without using loops, and how can I use variable to store data in labview

    Hi all,
    I am new to Labview and I realized that quite often I am in condition to require a delay beween two functions or elements.. how can we insert a delay in such cases?
    I know how to use delays in a loop. but don't know how to inser some time delay between two elements.
    I have one more question, I know its a bad practice to post 2 questions in 1 thread.
    How can I use a temporary variable to store data, So far I am storing it in an indicator by making it invisible in front panel and making local variable of that indicator, is it the right way to do it ?
    Thanks in advance.

    Generally, LV doesn't have variables in the same sense that most languages do. You can use indicators to perform the same function as variables, but as Adnan pointed out, you run the risk of having race condition and it creates data copies, which is a problem if you have a lot of data. In most cases, you should use wires to perform the function of variables, which is to store data and make it available to the different functions in your code. Instead of thinking about variables, you need to think about data (something like "I have the data coming out of this function. Where does it need to go?").
    Try to take over the world!

Maybe you are looking for

  • HDMI not working, please help

    i have hp dv6 w7 when i pluge the HDMI cable to the laptop it restart and take me to the safe mode and it's not working in the tv any more, please help.

  • Registry Key Issue of Installing Tuxedo 10gR3

    Folks, Hello. I am installing Tuxedo 10gR3 for PeopleTools 8.50 and the following message comes up: "Warning! Detected installation of Oracle Software, tuxedo 9.1 on this machine. It is recomended that you exit installation and remove tuxedo 9.1". I

  • Back up with CD or DVD?

    I'm in the process of backing up iTunes, iPhoto and Appleworks files etc. There is the option to use either CD or DVD media for this. Is it preferable to use one or the other? In other words can I store more data on a DVD than a CD? Or are both equal

  • Broken plugin icon

    hey ya'll i was wondering if i could get some help... i dont know how many of you are fammiliar with myspace but if you are you will know about the music player on peoples profile. so basically whenever i go to the page instead of the player automati

  • Anyone have a fix for Facebook video chat not working in Mavericks?

    I have seen many people having the problem of video chat not working in Facbook since upgrading to Mavericks. The good news is the camera icon has reappeared, but it still is not working. Any help would be AWESOME!! thx