Is it possible to insert row with timestamp field without to TO_TIMESTAMP

hello
is it possible to insert row with timestamp column without using to_timestamp unction
somthing like insert into app.master values (3,333, 'inser tmstmp', 6.7, '2010-11-10 15:14', 'f','9','2010-12-22')

784633 wrote:
hello
is it possible to insert row with timestamp column without using to_timestamp unction
somthing like insert into app.master values (3,333, 'inser tmstmp', 6.7, '2010-11-10 15:14', 'f','9','2010-12-22')If you don't like the answers in your previous thread (Re: how can i set timestamp format don't expect to get different answers just because you start a new thread.

Similar Messages

  • JBO-26020: Attempting to insert row with no matching EO base

    Hi All,
    I have a bit of a problem here. The following is some background information. Please help if possible.
    Aim: I have a custom application whereby I need to add the sequence value (assuming the sequence.nextval is already taken and stored into a variable/original table) to my custom table.
    Procedures taken: I have found the EO which gets the sequence value for the original application and the VO that gets the EO. I have added both EO and VO to my project and tried to add the VO to my custom AM. In my custom AM I have added the following code to initialize the create function of the standard EO:
    **********CODE******************
    OAViewObject vo3 = (OAViewObject)getRegRequestsVO1();
    if (!vo3.isPreparedForExecution())
    vo3.executeQuery();
    Row row = vo.createRow();
    vo3.insertRow(row);
    row3.setNewRowState(Row.STATUS_INITIALIZED);
    Problem: However when I use the code vo3.insertRow(row); it prompts me with the applicaiton error of JBO-26020: Attempting to insert row with no matching EO base. I don't quite understand what I am doing wrong.
    Can anyone please help.
    Cheers

    This i have find out .
    FYI...
    JBO-26020: InvalidOperException
    Cause: The application code tried to take a row from one row set (or view object) and insert it into another row set (view object). In response, the framework will make a "copy" of the row in the new row set. This new row will share references to the underlying entity objects. However, if the source and destination row sets do not share any entity object bases at all, this operation will fail as it does not find any entity rows to share.
    Action: When attempting to take a row from one row set and insert into another, make sure that they share at least one entity object base.
    Thanks

  • Transient VO insert error-Attempting to insert row with no matching EO base

    Hi ,
    I have a transient Vo (created using option - rows populated programmatically, not based on Query) and I need to uptade/insert rows in vo on click of a button.
    when i nsert row, i get following error
    oracle.jbo.InvalidOperException: JBO-26020: Attempting to insert row with no matching EO base
    This is what I am doing in my code
    ViewObject vo2 = am.findViewObject("TransientVO1");
    vo2.executeQuery();
    if (vo2 == null) {System.out.println("vo2 is null");}
    if (vo2 != null)
    System.out.println("in vo2 != null");
    Row row2 = vo2.createRow();
    row2.setAttribute("PlatformName", "ss");
    row2.setAttribute("UserName", "ss");
    vo.insertRow(row2);
    System.out.println(" vo2.getRowCount()"+ vo2.getRowCount());
    Why is it saying no EO base... is it mandatory to have EO for transient VO? Please help.
    Thanks

    The EO handles all DML, hence you need it if you have to set attributes in a VO. An EO handles the storage of a the single row (or part if your VO consists of multiple tables).
    You can try and overwrite the setter method of the attributes in ViewRowImpl class and store the changes somewhere else.
    Timo

  • My old mac screen broke down and I would like to transfer my photos and documents to my new mac. Is it possible to transfer it with the cable without fixing my screen?

    My old mac screen broke down and I would like to transfer my photos and documents to my new mac. Is it possible to transfer it with the cable without fixing my old mac screen? Please help!

    Sure! If the two Macs have Thunderbolt ports, attach a Thunderbolt cable between them. If they have FireWire, or if one has FireWire and one Thunderbolt, connect a FireWire cable (with a TB adaptor if necessary). Reboot the old Mac holding down the T key. Make sure it's connected to power. You'll now see its system drive appear on the desktop of the other Mac and you can use Migration Assistant to automatically transfer files, or drag them over manually.
    Matt

  • How to insert date with timestamp into table values

    hi,
    I have a table
    create table abc1(dob date);
    insert into abc1 values (to_date(sysdate,'RRRR/MM/DD HH24:MI:SS'))
    but when i see in data base it shows as normal date without time stamp.
    Is it possible to insert into back end with timestamp.
    Thanks..

    First, SYSDATE is a DATE already, no need to convert it to a DATE using the TO_DATE() function.
    The date ALWAYS has a time component, whether or not it is displayed is up to your NLS settings. for example:
    SQL> CREATE TABLE ABC1(DOB DATE);
    Table created.
    SQL> ALTER SESSION SET NLS_DATE_FORMAT='MM/DD/YYYY';
    Session altered.
    SQL> INSERT INTO ABC1 VALUES(SYSDATE);
    1 row created.
    SQL> SELECT * FROM ABC1;
    DOB
    02/04/2010
    SQL> ALTER SESSION SET NLS_DATE_FORMAT='MM/DD/YYYY HH24:MI:SS';
    Session altered.
    SQL> SELECT * FROM ABC1;
    DOB
    02/04/2010 12:54:57
    SQL> DROP TABLE ABC1;
    Table dropped.

  • Insert row with same formatted cells

    I am a newbye with Numbers.
    I have created a spreadsheet with some columns and every cell formatted, such as a list or a box to check.
    Until now every time I have inserted a new row the system create a row with the same formattated cells,
    now the system insert a blank row without formattated cells.
    Please, help me! Thanks.

    Vin,
    Being new to Numbers, you should read the Numbers User Guide, available as a free download from the help menu.
    The problem you are experiencing may be in another column. The condition that Barry mentioned, having the same expression or special format in every body row, applies to every column in the table.
    Jerry

  • Table maint genertr inserting multiple rows with all fields editable

    Hi
    I have created a ztable in se11 and maintained table maintenance generator SM30.
    Now i need to insert multiple rows into the table with all fields editable.
    How can i achieve this?
    Thanks in advance.

    >
    deepak thimmegowda wrote:
    > Hi
    >
    > I have created a ztable in se11 and maintained table maintenance generator SM30.
    >
    > Now i need to insert multiple rows into the table with all fields editable.
    >
    > How can i achieve this?
    >
    > Thanks in advance.
    Create a Table maintenance generator with One Step .
    regards,
    Jinson.

  • Strange Behaviour: Inserting Rows with OrdVideoDomain using JDeveloper

    Dear Sirs...
    i created two tables each containing OrdVideoDomainField.
    i use the same function to fill the rows with values. the code is like this:
    ViewObject V=GetViewObject(V);
    Row R=V.CreateRow();
    byte b[]=new byte[10];
    OrdVideoDomain O=new OrdVideoDomain(b);
    R.setAttribute("f",O);
    R.setAttribute("name",AnyName);
    V.insertRow(R);
    R=null;
    GetTransaction.postChanges(); // gets the appmodule and then gets the transaction object within and finally posting the change
    GetTransaction.commit();
    When i use the function of the viewobject A, all the data is stored correctly when dealing with table A. But when dealing with table B, all the data are stored correctly but the OrdVideoDomain field is filled with null. i get no error at all.
    i checked the names of the fields in the tables, and they are correct.
    i tried to upload files into both tables and these are working perfectly fine.
    i tried to get the data from both tables and they are working perfectly fine.
    the problem is only when i store data programatically into the table b.
    does any one have a similar problem?
    how to solve it?
    i am using ADF UIX in jdeveloper 10g 10.1.2 with oracle database 10g release 2 and both are under windows.
    thanks for any help in advance
    best regards

    Sorry, i have found the problem, it is a programming error
    best regards

  • Import Wizard with timestamp fields

    Hi there,
    I'm trying to copy data with time stamp from one server to another, but I'm keep getting the following error.
    Error 0xc0202048: Data Flow Task: Attempting insertion into the row version column "TimeStamp". Cannot insert into a row version column.
    (SQL Server Import and Export Wizard)
    Is there anyway I can deselect the timestamp field when I run the wizard?
    How can I successfully transfer the data?
    Thanks
    regards,
    Mike

    Hi, I'm having the same issue even with the On Error column set to 'ignore" in the Data Type Mapping review screen.
    I've also seen in the Conversion Details the comment about timestamp vs VarChar, but if I uncheck the Convert column I am unable to run the import.
    There must be a way to overcome this?
    Thanks
     Validating (Error)
    Messages
    Error 0xc0202048: Data Flow Task 1: Attempting insertion into the row version column "TimeStamp". Cannot insert into a row version column.
     (SQL Server Import and Export Wizard)
    Error 0xc0202045: Data Flow Task 1: Column metadata validation failed.
     (SQL Server Import and Export Wizard)
    Error 0xc004706b: Data Flow Task 1: "component "Destination - SorContractPrice" (92)" failed validation and returned validation status "VS_ISBROKEN".
     (SQL Server Import and Export Wizard)
    Error 0xc004700c: Data Flow Task 1: One or more component failed validation.
     (SQL Server Import and Export Wizard)
    Error 0xc0024107: Data Flow Task 1: There were errors during task validation.
     (SQL Server Import and Export Wizard)
    [Source Information]
    Source Location : E:\SYSPRO61\Temp\METSUPL.xls
    Source Provider : Microsoft.Jet.OLEDB.4.0
    Table: `METSUPL$`
    Column: TimeStamp
    Column Type: VarChar
    SSIS Type: Unicode string [DT_WSTR]
    Mapping file (to SSIS type): C:\Program Files (x86)\Microsoft SQL Server\100\DTS\MappingFiles\JetToSSIS.xml
    [Destination Information]
    Destination Location : siwerp
    Destination Provider : SQLNCLI10
    Table: [dbo].[SorContractPrice]
    Column: TimeStamp
    Column Type: timestamp
    SSIS Type: byte stream [DT_BYTES]
    Mapping file (to SSIS type): C:\Program Files (x86)\Microsoft SQL Server\100\DTS\MappingFiles\MSSQLToSSIS10.XML
    [Conversion Steps]
    Step 1: DT_WSTR to DT_BYTES
    SSIS conversion file: C:\Program Files (x86)\Microsoft SQL Server\100\DTS\binn\DtwTypeConversion.xml

  • Working with TIMESTAMP fields in Excel

    Please forgive me if this is a really stupid question.
    I have an Oracle 10g dtabase that i am trying to connect to via ODBC in Excel.
    I can get data from tables into MS Query untill i try and insert a TIMESTAMP field when all fails. The TIMESTAMP field ahave a time zone on them.
    Can anyone point me in the direction of an ODBC driver which works in this situation, i have tried the standard MS driver and also the ODBC driver supplied by ORACLE.
    Thanks in advance for any help.

    It would be interesting to know your ODBC driver version.
    Basic TIMESTAMP is supposed to be supported but TIMESTAMP WITH TIME ZONE,
    TIMESTAMP WITH LOCAL TIME ZONE are not supported.
    Do you get the error ORA-932 inconsistant datatypes or another error when you select your Oracle table?
    So far as I remember, you can download the ODBC driver from DataDirect :
    http://www.datadirect.com/products/odbc/index.ssp
    The Datadirect driver seems to handle Timestamp with Time Zone.
    Please try with this one and let me know your feedback.
    Regards
    Mireille

  • Generic Delta with Timestamp Field

    Dear SDN Team,
    We changed one of our HR datasource from FULL to DELTA with Timestamp(TMSTMP)-Time Stamp(UTC).
    Which Delta we need to take Timestamp(Local) or Timestamp(UTC)
    Our Generic Datasource is based on Function Module.This data source contains HR Hours Data i.e Direct Hours & Indirect Hours.
    With interval settings has
    Safety Interval Upper Limit - 'Blank' .
    Safety Interval Lower Limit - 1800
    New status for Changed Records (Selected)
    It is a HR Generic Data Source.
    We are creating the records in PA30,PA40 and going to take the records from PA0000,PA0001
    Delta type for this DS is "AIE" as our delta type process for our DS.
    I am trying to load the INIT to Cube,but its not allowing to load,saying with 'AIE' delta type its not possible to load to cube.
    I changed the delta type to 'ADD' then the safety interval limits changed to
    Safety Interval Upper Limit - 1800 .
    Safety Interval Lower Limit - Blank.
    Additive Delta (selected)
    Is it possible to load the Generic Delta Time stamp to Cube?
    Please let us know what are the settings & delta type needs to be there to load the Generic Delta Timestamp to Cube.
    Your suggestions are really appreciated.
    Thanks and Kind Regards,
    Lakshman Kumar G

    Hi,
    We used TMSTMP filed with Data element TZNTSTMPS with data type DEC Length 15 in Function Module & Extract Structure.
    Default filed name is TIMESTAMP_UTC,Domain is TZNTSTMPS.
    Generic Delta -
    Filed name - TMSTMP
    Timestamp (UTC) selected
    With interval limits
    Safety Interval Upper Limit      1800
    Safety Interval Lower Limit
    New Status or Changed Records selected.
    Thanks and Kind Regards,
    lakshman

  • BC4J: Problem deleting a row with clob field

    When I try to delete a row that contains a CLOB field.
    When I call the function removeCurrentRow in my View object I get this exception:
    JBO-25014: Another user has changed the row with primary key oracle.jbo.Key
    Could anyone tell me why I can't remove the row? Thanks in advance!
    null

    This looks like a bug in TreeBinding. Please file this as a bug/tar with OracleSupport with your reproducible testcase (or steps to reproduce). Thanks.

  • Problems with TIMESTAMP Field from SQL Server

    OBIEE 11g
    Hi All,
    I want to convert data into OBIEE that is coming from a TIMESTAMP field in SQL Server Database. So in SQL Server field has data like '9/20/2012 12:05:08 AM'. I have first changed the datatype in physical layer to DATETIME and then in BMM I do a CAST(<DATE_FIELD> AS DATE). On the frontend when I use this column the error I get back is [nQSError: 59030] Illegal data type conversion from source type: VARBINARY to target type: TIMESTAMP. (HY000). Does anyone know a workaround or solution.
    Thanks in Advance!

    Hi Guys,
    None of the solutions you mentioned have worked unfortunately. I have a date column and another column that holds user id. I basically want to do a count of all the user id's where that particular date column is NULL. I have checked in the physical layer and the date column in question is coming from SQL Server as a TIMESTAMP datatype. So I initially did not change anything and brought the column in as is but that did not work out. I then tried to change the datatype in the physical layer to DATETIME and then also DATE. After changing the datatype in the physical layer in the BMM I would do a CAST(<date column> as DATE) and this still did not work. I then tried to just change the datatype to DATETIME and DATE without doing the CAST in the BMM and this still did not work. Not too sure what to do now.

  • Is it not possible to give the select single field without an into clause

    Hi,
    i have to check whether my input value( only one filed) is available in the table.
    for eg i need to check whether company code is available in the table t001.
    then i will give .
    data lv_bukrs type t001-bukrs.
    lv_bukrs = 1010.
    select single bukrs from t001 where bukrs = lv_bukrs.
    here its asking for me to give a vaible to store the bukrs that is
    select single bukrs into dummyvalue from t001 where bukrs = lv_bukrs.
    Is it not possible to give the select single fieldname without an into clause

    Its Possible by declaring the tables statement
    <b>tables : AFKO.
    select single * from AFKO where <condition>.</b>
    If SINGLE is specified, the resulting set has a single line. If the remaining additions to the SELECT command select more than one line from the database, the first line that is found is entered into the resulting set. The data objects specified after INTO may not be internal tables, and the APPENDING addition may not be used. The addition ORDER BY can also not be used.
    An exclusive lock can be set for this line using the FOR UPDATE addition when a single line is being read with SINGLE. The SELECT command is used in this case only if all primary key fields in logical expressions linked by AND are checked to make sure they are the same in the WHERE condition. Otherwise, the resulting set is empty and sy-subrc is set to 8. If the lock causes a deadlock, an exception occurs. If the FOR UPDATE addition is used, the SELECT command circumvents SAP buffering.
    Notes
    When SINGLE is being specified, the lines to be read should be clearly specified in the WHERE condition, for the sake of efficiency. When the data is read from a database table, the system does this by specifying comparison values for the primary key.
    If accessing tables for which SAP buffering is planned for single records, the SAP buffer is bypassed if the addition SINGLE is not specified. This behavior depends on the current implementation of the database interface and may change in future releases. In particular, it should not be used to bypass the SAP buffer. You should use the explicit addition BYPASSING BUFFER for this instead.
    The addition SINLGE is not permitted in a subquery.
    Regards
    - Gopi

  • How to edit the cube with new fields without changing historical  in BI 7.0

    HI,
    I have requirment that need to edit cube with new fields and without changing historical data on it.
    Please some one can advise me abt the above scenario.
    Note:I am using BI7.0

    hi Krish,
    In BI 7.0,
    we cannot add a characteristic to an existing dimension if the data is not deleted from the cube.
    It can go to a new dimension and that will not change the existing structure of the cube tables, but will just add to it (as another dim table).  or use remodeling.
    for more details, please seach threads.....
    with hopes
    ARS

Maybe you are looking for