In valid Date set in the column

Hi I am facing a problem with the in valid date getting set at the time of updating the record.
The problem is ,
I am fetching the record for update and sending the created date fetched along with other values and the updated date is set to the system date.
Here the updated date is going fine and the created date is getting entered as 30/12/1899.
At the time of creating the record the created date is set to the system date only.
Any suggestions on this would be great.
I am using Hibernate for my database operations and the Database is Oracle 8.1
Awaiting an early reply,
Regards,
Shankar Medapati
[email protected]

Sir,
As a first suggestion please TAKE OFF THE BOLD!!!
There could be many things wrong with your stuff. The date you are supplying could be an invalid format or the column could be a timestamp column that the DB automagically updates on each update. Look into those.
Sincerely,
Slappy

Similar Messages

  • U201CValid Tou201D date set before the date that the report is run u2013 print u201Cnullu201D.

    Hi Experts
    I had a requirement for  the Query, when we executing the through slection screen we will be giving 0fiscyear "from and to" dates. the "Valid to" (0date)  has to check the relation of the Client partner and contract of relationship, if it is within the current date it should dipslay the report with values , if it is out of current date, it should display in the report as "null".
    Logic : This report is based on the u201CClient Partneru201D and the u201CContact ofu201D relationship. If any of these relationships have a u201CValid Tou201D
               date set before the date that the report is run u2013 print u201Cnullu201D.
    Could anyone of you provide the inputs on this.
    Thanks in advance
    Thanks
    Sekhar.P

    IvanLevo wrote:
    Could not find the /Library/Startup Items.
    Good, it shouldn't be there.
    For your Dock problem,
    Go to your Finder "Go" menu choose "Go to Folder" and enter ~/Library/Preferences. Then delete these files then restart or log out and back in.
    com.apple.Finder.plist
    com.apple.dock.plist
    com.apple.dock.db
    com.apple.dock.extra.plist
    Let us know

  • Query to get the data of all the columns in a table except any one column

    Can anyone please tell how to write a query to get the data of all the columns in a table except one particular column..
    For Example:
    Let us consider the EMP table.,
    From this table except the column comm all the remaining columns of the table should be listed
    For this we can write a query like this..
    Select empno, ename, job, mgr, sal, hiredate, deptno from emp;
    Just to avoid only one column, I mentioned all the remaining ( 7 ) columns of the table in the query..
    As the EMP table consists only 8 columns, it doesn't seem much difficult to mention all the columns in the query,
    but if a table have 100 columns in the table, then do we have to mention all the columns in the query..?
    Is there any other way of writing the query to get the required result..?
    Thanks..

    Your best best it to just list all the columns. Any other method will just cause more headaches and complicated code.
    If you really need to list all the columns for a table because you don't want to type them, just use something like...
    SQL> ed
    Wrote file afiedt.buf
      1  select trim(',' from sys_connect_by_path(column_name,',')) as columns
      2  from (select column_name, row_number() over (order by column_id) as column_id
      3        from user_tab_cols
      4        where column_name not in ('COMM')
      5        and   table_name = 'EMP'
      6       )
      7  where connect_by_isleaf = 1
      8  connect by column_id = prior column_id + 1
      9* start with column_id = 1
    SQL> /
    COLUMNS
    EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,DEPTNO
    SQL>

  • Show a graph without (or hiding) the data set inside the report

    Hi everybody,
    I created a report very simple with 3 columns:
    1) description
    2) minutes (number)
    3) calculated field (varchar) - where the minutes are transformed in a string which shows weeks, days, hours and minutes
    Then I created a graph, initially based on the minutes (Y axis) and the descriptions (X axis)
    Now, in my report I'd like to see only 2 columns: the description and the calculated field, but if I delete the column 'minutes', also the graph disappears.....
    So, my question is this: Is there a way to hide the minutes column in order to show ONLY the description and the calculated field but at the same time show also the graph (where Y values are always the minutes) ?
    Thanks in advance
    Alex

    Hi Frank,
    thanks for your response.
    I created a fragment-based flow and dragged it onto the main page as a region component. The main page contains the panelAccordian with its showDetailItem's. Each of the showDetailItem components of the panelAccordian contain such a region component.
    Now I set the partial trigger's property of the region component pointing to the showDetailItem component which contains the region but nothing changed. The graph is still not visible at the first click on the detailItem. I also set the trigger's property of the region component pointing to the panelAccordian but also nothing happens.
    Regards
    Michael
    Edited by: user13061309 on 06.08.2010 03:00

  • Spliting data wrt data available in the columns

    I have one table with column id,amnt1 and amnt2 with id as primary key
    WITH table_1 AS
    select '1' id, '200' amnt1,'100' amnt2 from dual union all
    select '2' id, '200' amnt1,'' amnt2 from dual union all
    select '3' id, '' amnt1,'100' amnt2 from dual union all
    select '4' id, '50' amnt1,'' amnt2 from dualunion all
    select '5' id, '150' amnt1,'270' amnt2 from dualunion all
    select * from table_1
    Depending up on the data in amnt1 and amnt2 i need to split the record.
    In first case id = 1 i need to check if the amount is available in the columns.If both columns amnt is available then split that record in to 2 as below
    WITH table_1 AS
    select '1' id, '200' amnt1,'' amnt2 from dual union all
    select '1' id, '' amnt1, '100' amnt2 from dual
    select * from table_1
    in second case id =2 only one row as only one row only one amnt contains data
    WITH table_1 AS
    select '2' id, '200' amnt1,'' amnt2 from dual
    select * from table_1
    In third case one row and in fourt case 1 row and fith case again two rows.
    Basically if amnt1 and amnt2 contains data it has to split in to two.So the final result will be like
    WITH table_1 AS
    select '1' id, '200' amnt1,'' amnt2 from dual union all
    select '1' id, '' amnt1,'100' amnt2 from dual union all
    select '2' id, '200' amnt1,'' amnt2 from dual union all
    select '3' id, '' amnt1,'100' amnt2 from dual union all
    select '4' id, '50' amnt1,'' amnt2 from dual union all
    select '5' id, '150' amnt1,'' amnt2 from dual union all
    select '5' id, '' amnt1,'270' amnt2 from dual
    select * from table_1
    Please help
    WITH table_1 AS
    select '200' amnt1,'2010-02-02' date1,'100' amnt2,'2010-03-08' date2 from dual union all
    select '500' amnt1,'2010-02-15' date1,'300' amnt2,'2010-02-08' date2 from dual union all
    select '500' amnt1,'2010-02-18' date1,'300' amnt2,'2010-04-09' date2 from dual
    select * from table_1

    user10285699 wrote:
    Not correct.this is not what i need.sorryYou said the final result should be...
    SQL> WITH table_1 AS
      2  (
      3  select '1' id, '200' amnt1,'' amnt2 from dual union all
      4  select '1' id, '' amnt1,'100' amnt2 from dual union all
      5  select '2' id, '200' amnt1,'' amnt2 from dual union all
      6  select '3' id, '' amnt1,'100' amnt2 from dual union all
      7  select '4' id, '50' amnt1,'' amnt2 from dual union all
      8  select '5' id, '150' amnt1,'' amnt2 from dual union all
      9  select '5' id, '' amnt1,'270' amnt2 from dual
    10  )
    11  select * from table_1
    12  /
    I AMN AMN
    1 200
    1     100
    2 200
    3     100
    4 50
    5 150
    5     270Saad Nayef's solution gives...
    SQL> WITH table_1 AS (SELECT '1' id, '200' amnt1, '100' amnt2 FROM DUAL
      2                   UNION ALL
      3                   SELECT '2' id, '200' amnt1, '' amnt2 FROM DUAL
      4                   UNION ALL
      5                   SELECT '3' id, '' amnt1, '100' amnt2 FROM DUAL
      6                   UNION ALL
      7                   SELECT '4' id, '50' amnt1, '' amnt2 FROM DUAL
      8                   UNION ALL
      9                   SELECT '5' id, '150' amnt1, '270' amnt2 FROM DUAL)
    10  SELECT id, amnt1, NULL amnt2 FROM table_1
    11  UNION ALL
    12  SELECT id, NULL, amnt2 FROM table_1
    13  MINUS
    14  SELECT id, NULL, NULL FROM table_1
    15  /
    I AMN AMN
    1 200
    1     100
    2 200
    3     100
    4 50
    5 150
    5     270And if I did it my way I would get...
    SQL> ed
    Wrote file afiedt.buf
      1  WITH table_1 AS
      2  (
      3  select '1' id, '200' amnt1,'100' amnt2 from dual union all
      4  select '2' id, '200' amnt1,'' amnt2 from dual union all
      5  select '3' id, '' amnt1,'100' amnt2 from dual union all
      6  select '4' id, '50' amnt1,'' amnt2 from dual union all
      7  select '5' id, '150' amnt1,'270' amnt2 from dual
      8  )
      9  select id, amnt1, null amnt2 from table_1 where amnt1 is not null
    10  union all
    11  select id, null, amnt2 from table_1 where amnt2 is not null
    12* order by 1, 2, 3
    SQL> /
    I AMN AMN
    1 200
    1     100
    2 200
    3     100
    4 50
    5 150
    5     270All of which are identical results.
    If there's something wrong in those, you'd better explain what you want, because you've been given a correct answer (hence why I didn't answer this question myself earlier as I could see it was correct).

  • I have used a 'for loop' to create an array of output data, however I want the each of the data sets from the array to be placed into a 1-D array. How do I concatenate the output of the for loop into a 1-D array?

    I am using this to create a data set that will be passed as an anolog output therefore it needs to have the correct array dimensions to go into the analog write vi.

    I'm updating my request... I've figured out how to do this by copying an example that uses a simple FOR loop (as seen in the attached current version of my VI). My question now becomes this: Is there a way to save the Y values corresponding to those X values into two more arrays? That is, just for argument's sake, let's say I took the first 100 elements from the X array, and found them to be positive. Then I would like to take the first 100 elements of the Y array and put them into a 'Y Values for X > 0' array. ...And likewise with the negative X values, they should have a separate array of corresponding 'Y values for X < 0' array.
    I can see that I should somehow save the indices of the positive X values from the large arrray wh
    en I sort them out, and use those indices to pick out the elements from the main Y array with the same indices.
    I just can't seem to set up the code necessary to do this. ...Can anyone help, please?
    Attachments:
    Poling_Data_Reader_5i.vi ‏79 KB
    30BLEND.txt ‏3 KB

  • How to get the data by excluding the columns which are having null values

    I have a table with 10 columns , 3 columns are having all null values . I want to retrive the data by excluding these 3 columns. That means output table should contain only 7 columns .
    Can u give a query on this?
    Thanks,
    Mahesh

    select <list of column with not null values>
      from table_nameThat is you need to specify the column name.

  • How to Export VO query data for all the columns.

    Hi All,
    I have advanced Table where i will be displaying only few of the columns from the VO query, when i export it will display only those columns which are displayed in advanced Table, so is it possible to export other columns also?
    Thanks
    Babu

    I faced this similar issue ...as per my knowledge if the widget for the underlying VO attribute is rendered then only one can export the data...a possible workaround is..u can create a similar page showing the respective columns intended to be exported and redirect to tht page and export it from there .....

  • Validity Date options in the Portal for Child Subtype

    Hi All,
    For Child Subtype, the three options
    1. Valid from Today
    2. Valid as of Future Date
    3. Validity Period
    are present in the portal depending on the usecase maintained. For the 2nd & 3rd option, the user can enter only future dates.
    Past dates are not allowed to be entered from the portal but are allowed in the backend.
    We have a requirement of allowing past dates from the portal. But when we try to do this, we get an error 'Start data should be today's date or later'.
    What is the reason of preventing past dates for the record in the portal when this is available in backend?
    Thanks,
    Anushree

    Hi
    Some companies don't want employees to be able to back-date records for children due to eg. rules for reimbursement, absence quotas etc. They want HR-department to check if setting dates in past is OK.
    But you can change this behaviour by creating an implementation of HRXSS_PER_BEGDA. It is found in PTARQ -> Customizing-> Service-specific settings ->Own data -> Change default start date.
    Make sure you test the use case, because not all use-cases allow setting dates.
    Code would be like this:
    method IF_EX_HRXSS_PER_BEGDA~DEFAULT_DATE.
      data: ls_t7xsspersubtype type t7xsspersubtype.
      if infty eq '0021'.    -> Add subtype if needed
      Get use-case
        select single * from t7xsspersubtype
          into ls_t7xsspersubtype
          where molga eq molga
            and infotype eq infty
            and subtype eq subty.
      Set begda='19000101' if use-case is A*
        if sy-subrc eq 0 and
           ls_t7xsspersubtype-usecase+0(1) eq 'A'.
          begda = '19000101'.
        endif.
      endif.
    endmethod.
    Hope this helps
    /Kirsten

  • In Thunderbird, how do I change the date format for the column display?

    I want the date to show as DD-MM-YYYY HH:MM AM/PM. Although this should be really obvious (and I know I've done it in the past), I can't find where to do this and can't find anything in Thunderbird Help on this, not even when I search "Thunderbird, change date format".

    Thunderbird usually uses the computer date and time and settings.
    I'm using Windows and notice that TB is using the short date format which I set up under Regional & Language Options.
    Are you using the International settings or Date/Time settings?
    It should pick up the settings from the 'International' or maybe its called now called 'Language & Text' setting.
    not sure which of these suits your macbook:
    http://www.macyourself.com/2008/08/31/modify-the-default-clock-in-os-xs-menu-bar-to-show-the-full-date/
    http://www.dummies.com/how-to/content/language-text-preferences-on-your-macbook.html
    http://www.dummies.com/how-to/content/how-to-change-your-macs-date-and-time.html
    http://www.youtube.com/watch?v=2zBMl8Vb3wc
    http://support.apple.com/kb/TS3579

  • How to set 0 for "Nan" Value in the Column

    Hi All,
      I have 3 imp columns with name Build %,Deploy%,Validation % and I would like to set the value as "0" or "1" using formula and below is the formula . But I am getting the values as "Nan" due to that it's reflecting the
    Pivot Table & Report  which show in below 2nd image.
    And I had written formula  as "=SWITCH(EDSCIMonthlyReport[Build %] , "Nan", 0)"  to copy all the values of the Build % Field to another calculated Column and set the value "0" if found "Nan" ,But I am getting
    error as"Function 'SWITCH' attempted to compare values of incompatible types. Ensure that both values are Numeric, String, or Boolean(True/False). Consider using the VALUE or FORMAT function to convert one of the values".Can any one help me how can
    I solve this issue
    Thanks,
    Sid

    Hello Sid,
    Again TFS? The data type of the column is "text" and now you want to convert it to a numeric to use it as a measure, right?
    - First you have to change "NaN" to "0" (<= 0 as type "Text"!, see your error msg); you can do it with an IF expression
    - Then you have to remove the % sign; it's a text as well. For this you can use the SUBSTITUE function
    - Then you can convert it to a numeric using the VALUE function
    As one complete expression it will look like this:
    = VALUE(SUBSTITUTE(If(Tabelle3[Build] = "NaN"; "0"; Tabelle3[Build]); "%"; ""))
    As you can see in below screenshot PowerPivot automatically detects the data type as "Decimal"; now you can use it as a measure value.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • How are valid-from and valid-to dates set in TRPROD table in APO during CIF

    First question:
    How are the valid-from and valid-to dates set in the APO TRPROD table?
    For example, if I activate a transportaion lane model on March 1, 2008, will the valid-from and valid-to in TRPROD be 20080301 and 99991231?
    Or are these dates defined in the model itself? Or in APO config somewhere?
    Next question:
    Suppose I rerun the model on May 1 2008 to add some records that didn't get added in the March 1 run.  But suppose I want to back-date the valid-from of these records to March 1, rather than use May 1 as the valid-from.
    Can this be done?
    Or is the valid-from always the date of the CIF that creates the TRPROD records?
    Please advise. 
    Thanks

    Hi Srinivas -
    Thanks very much for replying so quickly, but your response didn't answer the questions.
    Let me try again.
    1)
    If I run a CIF on March 1 2008 based on a model that will generate APO TLane data, will the TRPROD valid-from and valid-to get automatically set to 20080301 and 99991231?
    2) 
    If the answer to this question is yes, then is it also true that if I run a new set of records in on May 1, 2008 (no duplications with the original set), then the valid-from and valid-to dates will be 20080501 and 99991231.
    3)
    But if (1) and (2) are both true (if you answer them both "yes", then suppose I want the May 1 record set to have valid-from dates of March 1 (for example, if the May 1 record set includes records that didn't get included in the March 1 set due to an error in selection criteria).  How do I get the valid-from to be March 1 when I run the CIF on May 1?
    On the other hand, if (1) and (2) are NOT true, then how DO the two dates get set during a CIF ????
    Thanks
    djh

  • Sales Deal with two different validation dates for the same material

    Hi SAPers,
    I am trying to create a u201CSales Dealu201D VB31, for the same material/condition, but with two different validation dates. After the creation of the first record, I select u201CNew conditionu201D button, but the system give me the message VK104, u201Cthe condition is being processed in the current session.u201D.
    How can I solve this issue?
    Thanks in advance.
    Pedro

    We can't have multiple records for the same condition and key values valid on the same date. The condition end date is part of the primary key in the database table. The date ranges between the records cannot overlap. When you create a new record, usually the end date is set to 12/31/9999 by default. If you need to have this deal to end on a different date and a new deal to start afterwards, then first you need to change 12/31/9999 to a different date.
    Also usually I try to exit the screen between the transactions.

  • Variable Data Set has only one thing but the error asks for more

    Hi -
    I have a PSD (CS5, Win7) where I've defines 5 layers with variable names. One of them is the Heading layer with the variable named varHeading.  The Data Set I'm importing is very simple in that only the Heading layer will change. I'm gone over the construction of this text file a number of times but when I try to Import it as a Data Set I get the error:
    "Could not parse the file contents as a data set.  There were not enough variable names in the first line of the text file."
    varHeading
    "BABY CAR SEAT AECC0841"
    "BABY CAR SEAT AECC0842"
    "BABY CAR SEAT AECC0843"
    "BABY CAR SEAT AECC0844"
    "BABY CAR SEAT AECC0845"
    My first question is - does the number of variables stored in the PSD file have to match the variable names in the first line of the text file??
    If NOT - can someone please help me figure out what I'm doing wrong?
    TIA your expert input.
    j2

    When you say you have defined 5 layers with variable names are you trying to attach the data set, that has one column, to each one at the same time? Did you create the data set in the Photoshop Data Sets Dialog ? The error that you are getting pops up when you have defined more variables than you have in your data set.

  • Why would only the first line of my data set txt file work?

    Hi -
    I had a lot of success using variables and external data sets until today.
    I have an external text file that I have imported as a data set (Image/Variables/Data Sets/Import...).  All of the variables have been defined and confirmed (at least PSD hasn't told me it can't find something which is the typical error msg.)
    This external text file, with the extension ".txt" has 12 lines on it, each line is 7 comma separated values, and each line is ending in a carriage return.
    YESTERDAY when I used File/Export/Export Data Set as Files... the procedure went beautifully for the 8 times I used it.  TODAY I only get the first of the 12 lines completed and then the export stops.  There are no error messages or other signs that Photoshop has choked on something so I guess something is wrong with my text file... BUT WHAT??
    Any insight on any step in this would be helpful.  You all know that if I'm using this feature it's because I have TONS of repetition ahead of me if it doesn't work.
    TIA your expertise,
    JL

    Fixed it!
    When Exporting as Data sets as files... the step I missed was to select "All Data Sets" from the Data Set drop down.
    Thanks all.
    JL

Maybe you are looking for

  • HP 2511x No HDMI or DVI

    I have an HP 2511x monitor the blue VGA works but not the other options.  I've tried on multiple computers and even a phone with hdmi output.  I've changed the sources automatically and manually and it just says in red " No Signal."

  • Satellite laptop: connecting video out to projector causes hum in (headset) audio output

    Our church connects video output from the laptop to a projection system and audio out (via headset jack) to a sound board mono channel (line in).  Stereo to mono adapter.  We get a significant hum in the audio whenever the video cable is plugged in. 

  • Vendor account group assign to Reconciliation account

    Hello Experts, Is it possible to customize a reconciliation account assignment to vendor account group? Our requirement is when you create a vendor, then select a vendor account group, the reconciliation account will automatically be proposed in the

  • Why won't iPhone open PDF's after updating to IOS8.1?

    There is nothing I regret more than updating my iPhone 4 to the new IOS. My phone wasn't updating apps, so I did the iOS update. Now many things are not working, including not opening any PDF files when in Safarai. It keeps asking "open" and "open in

  • Dynamic iterating over table columns

    hello there, i have to create a string depending on the values in my table columns. this string creation is used on different tables with different number of columns and different column types. so i want to write a procedure which does simplified the