How to add TIMESTAMP data type in  Enterprise Architect...?

Hi all
There is no data type of timestamp in Enterprise Architech. There is only
DATE type. I have ERD prepared from Enterprise Architech. How to modify
DATE type to TIMESTAMP type.
How to add TIMESTAMP data type in Enterprise Architect or in ERD ?
Thanks in advance,
Pal

Have you asked this question of the vendor of Enterprise Architect? They may have a later version that supports the various TIMESTAMP data types. If your ERD tool doesn't support a data type, other than talking to the vendor or working around the problem (i.e. generate DDL to a text file and edit it before applying it to the database), you're probably out of luck.
Justin

Similar Messages

  • How to add new data type

    I need to add new data type like SDO_GEOMETRY in spatial Oracle.
    I don't mean the User-Defined Datatype but new datatype imbed in the database.
    It might be written in C++ or Java but I do not know how.
    Any hints and help will be appreciated. Thanks,

    > It is not simply defining new VARCHAR3.
    I will compare embedded new built-in data type and UDT as part of my research.
    What I really meant was what do you want from your new type that a user-defined object can't give you? (Apart from the obvious shortcomings of Oracle object types being addressed, but that could take a while.) You specifically said "I don't mean the User-Defined Datatype but new datatype imbedded in the database" and I wondered what you meant by that.

  • How to add dynamic data type as one of the terminals of a Custom VI

    Hello,
    Can anybody tell me if it's possible and how to add a dynamic data type as one of the terminals of a sub-VI? I would like to have a terminal that I can connect signal from DAQmx to my sub-VI.  Thanks.

    Here is one of the coolest things about LV, and one of its major advantages over languages like VB - it has automatic memory management and it compiles whenever you make a change. This allows you to be very free in the way you handle data and change your code. In this case, you should note the small gray dot that appears when you wire the dynamic data into the Array of Waveforms input. This gray dot means that LV coerces the source data type (DDT, in this case) to the target data type (Array of waveforms). If it wouldn't match, you would get a broken wire, the VI couldn't run, and if you hover over the wire or press the broken run button you would get an exact description of the error. Cool, eh?
    This can also be seen in other things. For example, you can change an array's data type or number of dimensions by simply doing it. This will automatically be reflected anywhere the array is called in the program, and if anything won't match, the VI will be broken. If you change the # of dimensions of an array, any array function which that array is wired to will adapt. This allows you to be very safe in the way you write code, because you have LV watching all that annoying stuff for you. You don't have to worry about misspelling a variable here (for the most part).
    One important point about coercion - it does take processor power. This will usually only be evident in large arrays or loops, but it is an important point. Another thing is that coercing numeric types can cause you to lose data - coercing a DBL to a U16, for example, will cause you to lose all the fractional data.
    To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
    In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
    Try to take over the world!

  • How to add different data types in Linked list?

    The basic idea is that I want to implement a linked list like the one which we generally implement in C. I need to store different data types in a single node. Is it possible to implement like this or I have to implement a linked list for each different data type?

    I have an application program in which there is a form. In this form there are different text fields in which data is to be inserted by the user. These data's will be inserted into the database. I want to hit the database only once. So I need to store these data in a data structure before I insert into the database. I think it will be easy for me to handle the data in a linked list if I can have different data types in a single node.
    Moreover, I think u're not getting my question. This pic will help u.
    http://img522.imageshack.us/img522/4500/sampler.jpg
    I'm not sure about that the code which u have written will have different data types in single node. I have to try that.
    And of course if anyone has any better idea than me, it will be very helpful.

  • How to add  teradata Data type in essbase shared services configuration

    [pic here |http://gerardnico.com/wiki/_detail/epm/hyperion_epm_system_configurator_database_registry.jpg?id=epm%3Aepm_installation]
    I am not getting oracle or Teradata during configuration of Shared Services in database type
    PIC HERE
    I added both the database (sample SH for oracle and WIMM (personalized database ) for Teradata) in the microsoft odbc administrator on the machine .
    but it does not detect these data bases -- does any one know to configure and add databases to the drop down list .
    thanks
    Edited by: UOOLK on 02-Aug-2011 07:28
    Edited by: UOOLK on 02-Aug-2011 07:31
    Edited by: UOOLK on 02-Aug-2011 07:32

    When configuring shared services it does not use ODBC connections it uses JDBC, by default you should see Oracle in the dropdown but you will not see teradata.
    You don't mention the version but if it is 11.1.2.x then you should see a screen like http://2.bp.blogspot.com/__2AaArK5lW8/S9XEZAzyHEI/AAAAAAAACRE/DI1A9ui7kTM/s1600/13.png when configuring shared services for the first time.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Migrating Sybase "timestamp" data type to Oracle DB

    Hi,
    We are migrating huge Application currently running on Sybase database
    to Oracle 10.2.0.3 (500+ Tables and Stored Procedures).
    Have following questions regarding this Migration.
    1) Many of the Sybase Tables have column which is of Sybase data type "timestamp".
    Do you have any recommendation what is the data type to be used in Oracle for
    migrating "timestamp" data type in Sybase?
    2) How should we migrate existing data and business logic residing in Sybase for
    data columns of Sybase data type "timestamp" ?
    Given below are details on how we use Sybase timestamp Column in our Application
    and we are trying to arrive at the best Solution that is possible for migrating
    all those Tables and related business logic to Oracle.
    We have following Control Table in Sybase which has column of timestamp data type and
    some other Business keys.
    sp_help EQP_IES_CRE_TIMESTAMP (This is similar to desc <table> command in Oracle)
    EQP_IES_CRE_TIMESTAMP,dbo,user table
    default,Nov 14 2001 10:39AM
    CRE_TIMESTAMP ,timestamp,8,,,0,,,,0
    REF_NUM ,char,30,,,0,,,,0
    REC_UPD_DT ,datetime,8,,,1,,,,0
    EQP_IES_CRE_TIMESTAMPI1,clustered, unique located on default, CRE_TIMESTAMP, REF_NUM, REC_UPD_DT,0,0,0,
    Following is the overall logic used in Sybase
    -- Step 1: Based on Event, populate Control Table with new Row.
    -- CRE_TIMESTAMP timestamp Column gets auto-populated by Sybase
    insert EQP_IES_CRE_TIMESTAMP (REF_NUM, REC_UPD_DT)
    values (@uuid_ref_num, @event_cre_dt)
    Since CRE_TIMESTAMP is auto-populated, it does not appear in above INSERT statement.
    -- Step 2: Store timestamp value populated by Sybase in previous step,
    -- to variable @event_timestamp. This value would be referenced
    -- later in other SQL statements
    select @event_timestamp = CRE_TIMESTAMP
    from EQP_IES_CRE_TIMESTAMP
    where REF_NUM = @uuid_ref_num
    and REC_UPD_DT = @event_cre_dt
    -- Sample value for @event_timestamp could be '001c0000182f2089'
    -- It is not very readable or understandable
    -- Step 3: Delete Control Table entry made in Step 1
    delete EQP_IES_CRE_TIMESTAMP from EQP_IES_CRE_TIMESTAMP
    where CRE_TIMESTAMP = @event_timestamp
    -- Step 4: Make use of saved timestamp value from Step 2 to trigger queries
    -- against other Tables that have timestamp Columns
    -- Some sample queries are as shown below
    delete eqp_staging
    where event_timestamp > @event_timestamp;
    insert into eqp_movement values(@event_timestamp, ......other columns) ;
    Any idea how above Table and logic could be migrated to Oracle DB
    We would also like to know how data values that currently exist
    in Sybase Tables should be populated in Oracle .
    Any suggestions or tips would be greatly appreciated
    Thanks
    Auroprem

    Hi All,
    Thanks for your responses.
    We have decided on Solution to migrate "timestamp" Column from Sybase to Oracle, that is
    specific to our Application needs.
    Following is what we decided:
    1) Create RAW Column in Oracle which would contain data Replicated from Sybase "timestamp" Column as is.
    2) Create additional Column of INTEGER data type to store number equivalent of Sybase "timestamp" column
    which would be more usable and consummable in Oracle as compared to RAW datatype.
    3) Write Row-Level INSERT/UPDATE Trigger on migrated Oracle Table to populate INTEGER Column using
    SQL Function TO_NUMBER(<raw_column_value>, 'xxxxxxxx').
    4) Applications that access this Table, upon migration to Oracle, will now start referencing INTEGER Column
    newly defined, and populated via Trigger.
    Please let us know if you see any issues with this approach
    Thanks
    user641521

  • I need help in "HOW TO EXTEND THE DATA TYPE SYSTEM"......

    Hi All,
    I need to add new data type like SDO_GEOMETRY in spatial Oracle.
    I don't mean the User-Defined Datatype but new datatype embed in the database.
    I read the Data Cartridge Developer's Guide but it has info how to use more efficiently UDT through indexes.
    Anybody used the “Type System” under Databases and Extensibility Services?
    It might be written in C++ or Java but I do not know how.
    Any hints and help will be appreciated.
    Thanks,

    > In Figure 1-1 Oracle Services, there is a "Type System" as Oracle Services.
    The "Type System" is merely a compartmentalising the data type handling and implementation code/modules in Oracle.
    This covers all types. Oracle native types, user defined types (UDTs), etc.
    Saying that you want to create a new type in the "Type System" is basically saying you want to use the CREATE TYPE SQL command in Oracle.
    > So, I want new_type1 and new_type2 behave like other built-in types, just the way
    SDO_GEOMETRY works in Oracle Spatial Cartridge.
    Not familiar with the SDO_GEOMETRY. Why do you mention this type specifically? What do you want to do similar?
    > I have already done it with user-defined types. Now I need to do this way so that I can
    compare and contrast in terms of speed, space...etc for part of my research.
    Hmm.. I'm not sure what you are trying to compare ito of a UDT and Data Cartridge extensions. It is not one or the other. What research is this if I may ask?
    Simplistically you extend the Type System with a new UDT/ADT. And there you have a new type data can be used in the SQL Engine and the PL/SQL engine. The OCI (Oracle Call Interface) supports such types via the OCI object API calls - which means this new type can also be used from Oracle clients written in Delphi, C++, Java, etc.
    That new type can be a complex type. This type may need specific management code (memory management, context management, internationalisation, etc). To support this you can extend the UDT/ADT further by developing Cartridge Basic Service interfaces for the type - designing and writing management code to, for example, support specific internationalisation requirements when dealing with multibyte character sets.
    You can also extend the UDT/ADT to be custom managed ito indexing, determining query optimisation, computing costs of custom methods/functions/operators on this custom data type. These extensions are done by developing Data Cartridge interfaces for the type.
    Thus I cannot see what you are trying to compare. It is not one layer/interface versus another. These layers exist for all Oracle types (in the Type System). Oracle not only allows you to add to the top layer by adding/defining a new data type. It also allows you to customise (if needed) the layers below it.

  • [svn] 1455: add sql date types and custom serialization tests

    Revision: 1455
    Author: [email protected]
    Date: 2008-04-29 11:56:59 -0700 (Tue, 29 Apr 2008)
    Log Message:
    add sql date types and custom serialization tests
    Modified Paths:
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/remotingService/dataTypes/DateTy pesTest.mxml
    Added Paths:
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/remotingService/dataTypes/MyFile Ref.as
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/remotingService/dataTypes/Proper tyProxyTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/remotingService/dataTypes/SQLDat eTypesTest.mxml

    Congrats to Shanky and Durval!
     SQL Server General and Database Engine Technical Guru - June 2014  
    Shanky
    SQL Server: What does Column Compressed Page Count Value Signify
    in DMV Sys.dm_db_index_physical_stats ?
    DB: "Interesting and detailed"
    DRC: "• This is a good article and provides details of each and every step and the output with explanation. Very well formed and great information. • We can modify the create table query with “DEFAULT VALUES". CREATE TABLE [dbo].[INDEXCOMPRESSION](
    [C1] [int] IDENTITY(1,1) NOT NULL, [C2] [char](50) NULL DEFAULT 'DEFAULT TEST DATA' ) ON [PRIMARY]"
    GO: "Very informative and well formed article as Said says.. Thanks for that great ressource. "
    Durval Ramos
    How to get row counts for all Tables
    GO: "As usual Durva has one of the best articles about SQL Server General and Database Engine articles! Thanks, buddy!" "
    Jinchun Chen: "Another great tip!"
    PT: "Nice tip" 
    Ed Price: "Good topic, formatting, and use of images. This would be far better if the examples didn't require the black bars in the images. So it would be better to scrub the data before taking the screenshots. Still a good article. Thank you!"
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • How to add the date field in the dso and info cube

    Hi all.
    I am new to bi 7. in the earlier version v hav to button to add the date field. but in the bi 7 der is no option so can any body tell me how to add the date field in the data targets
    Thanks & Regard
    KK

    my prob is solved
    KK

  • How to find the Data Type of a column

    Dear All,
    How to find the Data Type of a Column dynamically in oracle Form.
    Thanks and Regards,
    Fazil
    Edited by: user11334489 on Aug 25, 2012 9:06 PM

    hi,
    you can use get_item_property built-in
    eg:
    declare
       l_item VARCHAR2(10);
    begin
       l_item := Get_Item_Property('item_name',DATATYPE);
    end;

  • How to add one date column and charecter column

    hi all,
    i have 3 column start_date(date),end_date( date),duration (varchar2)
    i am trying to add start_time and duration like this
    end_date := to_char(start_time) + duration;
    but its showing value_error
    how to add one date column and charecter column.
    Thanks

    you need something that does:
    end_date (DATE) := start_date (DATE) + <number of
    days> (NUMBER)Not necessarily, because if the duration is just a string representation of a number then it will be implicitly converted to a number and not cause an error
    e.g.
    SQL> ed
    Wrote file afiedt.buf
      1  with t as (select to_date('01/07/2007','DD/MM/YYYY') as start_dt, '3' as duration_days from dual)
      2  -- END OF TEST DATA
      3  select start_dt + duration_days
      4* from t
    SQL> /
    START_DT+
    04-JUL-07

  • Queries involving where clause with timestamp data type

    I need to use milliseconds in my tables and do queries where I compare the time in the table to a specific time. I changed the column to the TIMESTAMP data type (from DATE) to accommodate the milliseconds.
    I am accessing the data via a C++ program using ODBC to access the Oracle 10g XE database and a SQLBindParameter statement to set up the comparisons.
    Below is a table that looks like mine but simplified to just a few fields:
    . DATA_ID NOT NULL NUMBER(10)
    . START_TIME NOT NULL TIMESTAMP(6)
    . STOP_TIME NOT NULL TIMESTAMP(6)
    My query is:
    . string sql("select "\
    . "to_Char(rv.start_time, 'YYYYMMDD HH24:MI:SS.FF3'), "\
    . "to_Char(rv.stop_time, 'YYYYMMDD HH24:MI:SS.FF3'), "\
    . "rv.data_id "\
    . "from "\
    . "Reservation rv "\
    . "where "\
    . "rv.data_id = ? and "\
    . "rv.stop_time >= to_timestamp(?, 'YYYYMMDD HH24:MI:SS.FF3') and "\
    . "rv.start_time <= to_timestamp(?, 'YYYYMMDD HH24:MI:SS.FF3');");
    MY C++ code (minus the usual statement preparation material) is:
    . string startTime("20090826 15:42:02.000");
    . string stopTime("20110828 02:04:52.000");
    . SQLRETURN rc = SQL_SUCCESS;
    . SQLINTEGER sqlRsrcInstanceId = resource->getResourceInstanceId();
    . SQLLEN sqlRsrcInstanceIdLI = 0;
    . rc |= SQLBindParameter( stmtHandle, 1, SQL_PARAM_INPUT,
    . SQL_C_LONG, SQL_INTEGER, 0, 0,
    . &sqlRsrcInstanceId, 0, &sqlRsrcInstanceIdLI );
    . SQLCHAR sqlStartTime[24];
    . memset(sqlStartTime, 0, 24);
    . SQLLEN sqlStartTimeLI = SQL_NTS;
    . strncpy( (char*)sqlStartTime, startTime, 23);
    . rc |= SQLBindParameter( stmtHandle, 2, SQL_PARAM_INPUT,
    . SQL_C_CHAR, SQL_CHAR,
    . sizeof(sqlStartTime)-1, 0,
    . &sqlStartTime, sizeof(sqlStartTime)-1,
    . &sqlStartTimeLI);
    . SQLCHAR sqlStopTime[24];
    . memset(sqlStopTime, 0, 24);
    . SQLLEN sqlStopTimeLI = SQL_NTS;
    . strncpy( (char*)sqlStopTime, stopTime, 23);
    . rc |= SQLBindParameter( stmtHandle, 3, SQL_PARAM_INPUT,
    . SQL_C_CHAR, SQL_CHAR,
    . sizeof(sqlStopTime)-1, 0,
    . &sqlStopTime, sizeof(sqlStopTime)-1,
    . &sqlStopTimeLI);
    When the statement is executed, I get the following error:
    . ODBC Return Code: SQL Error.
    . Native Error Code/Message:
    . 932/[Oracle][ODBC][Ora]ORA-00932: inconsistent datatypes: expected - got -
    Any suggestions on what is wrong or a better way to perform the query?

    The only way to test a query is to get out of your environment and fire up SQL*Plus (command line).
    I can not read all of what you wrote but the error you are generating should show up there along with sufficient information to quickly fix it.
    Once you have working statement put it back into your environment.

  • How to add new data file

    Hi Friends,
    We have 4 below file systems.
    Sybase/TST/sapdata_1
    Sybase/TST/sapdata_2
    Sybase/TST/sapdata_3
    Sybase/TST/sapdata_4
    Already we have added one data file each in sapdata_1 and 2.  Sapdata3 and 4 are emptry.
    How to add new data file in sapdata3 or 4.
    Please provide syntax for creating a new data file and steps for the same.
    Regards,
    Karthik.

    Just for the record: you have here the DBACockpit documentation:
    https://websmp201.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000571562012E
    And this is a sample of the extend to be executed:
    Regards,
    Victoria.

  • How to add a document type for the residence status GB in infotype 48

    Hi Team,
    How to add a document type for the residence status GB in infotype 48.
    Please answer this  at the earliest.PFA screnshot.
    Thanks
    chris

    I believe there is a PDF doc which comes with the component (it should be at your harddrive when you install it), which describes everything you will need.
    In a nutshell, there are two types of relationship: sibling - sibling, parent - child (there are some more nuances, but it follows the same logic).
    A relationship is created between two existing items (not sure, if you can also create a relationship for a new checked in item, but it would be just a usability). You select the type of relationship and the item - I believe depending on the relationship you may start from either item. The dialog to start is INFO (display metadata) or UPDATE (update metadata).
    When a relationship is created you may watch it also from either end (again INFO is the starting point).
    It is quite self-explanatory, so if you have the component installed you may just play around with it for a while and that is it.

  • Working with timestamp data type.

    Hi all!,
    I have some problems working with the timestamp data type.
    Let's say that i have a table named order, where i store (in two timestamps) the date where the order was made, and the date where the order was executed.
    I want:
    1) first to find the difference between these to timestamps, let me call them a,b,
    2) to find the average time of the difference of timestamps. With that i mean if my table has 60 typles for examples to get (b-a)/60.
    Can these happen?
    Thanks in advance,

    I would do this with a view and a stored procedure within oracle.
    Create a view that contains the two timestamp fields & the difference between them (along with any primary keys from the original table), then use this view in a stored procedure to average the values.

Maybe you are looking for

  • Need guidance with what settings to use

    I play in a band and am trying to put together video to run while we are on stage. I'm using a Macbook with FCE and using this projector: http://www.projectorcentral.com/NEC-NP100.htm I'm taking clips from DVDs (read: NOT shooting video) and pasting

  • JSF Question about getters

    Hi all! I`ve made a simple page with one input text and submit button. I attached a managed bean to the page and getters and setters for the input. The bean looks like this: public class User {      private String name;      public User() {      publ

  • Capture excise inv for movement type 301

    Hi All, can we capture and post excise invoice for movement type 301. If "YES" so plz give me detail. Thanx.... Trupti

  • .mac host more than one domain at a time????

    can . mac host more than one of my domains at a time????? thanks

  • Importing Email from PC onto new Mac

    I'm a first time Mac user and am trying to figure out how to get a ton of email off Outlook from my old PC into the Mail program on the new Mac. How should I save the emails for transfer? None of the choices seem to work for import (for example Comma