Re: Using Import and Export Data tool from SQL Server to Oracle with Timestamp

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



James Appleby (james.w.appleby@xxxxxxxxx) writes:
I am trying to use the Import and Export Data tool that comes with SQL
Server 2000 to transfer data from SQL Server into Oracle 9i. (I'm not
migrating away from SQL Server, the software I'm writing supports both
and I need to duplicate data for testing purposes.) When using the
tool, I can seem to connect to both the source and destination
databases, however it won't copy over the data. It reports an error
with a field of type TIMESTAMP. Looking through the previous screens,
I've found it believes the column is NUMBER(11,0) rather than a date
time value. Does anyone know why this is and how I can resolve the
problem so that the data can be copied, please?


The timestamp data type has nothing to do with date and time. The
correct interpretation is binary(8). I suspect that the value is of
little interest on Oracle, since timestamp is a very special data type:
SQL Server automatically updates such a column when a row is updated
with a database-unique monotonically growing value. It's main purpose
is to provide a simple solution for optimistic concurrency. Except that it
tells in which rows were updated, it carries very little amount of
real information.


--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.



Relevant Pages

  • Re: IOT, memory and transaction time
    ... easily generate it with DBMS_METADATA.GET_DDL if your verison of Oracle ... were pretty consistent no matter how big the table (this transaction ... FOREIGN KEY (versionNo) REFERENCES T_TRANSACTIONS, ... Oracle provides read consistency and SQL Server ...
    (comp.databases.oracle.misc)
  • Re: Database or store to handle 30 Mb/sec and 40,000 inserts/sec
    ... "Writers block readers and readers block writers in SQLServer. ... getting around this fundamental issue and because of it SQL Server ... admitted they can happen in Oracle, I guess Oracle should never been used ... isolation level but you will always disagree because you follow doctorine ...
    (comp.databases.oracle.server)
  • Re: Data Types
    ... > moved to SQL Server and I don't know the best newsgroups yet. ... > Does a Unique Identifier data type take up less storage space than a 32 ... A uniqueidentifier uses 16 bytes. ... but I'm looking at the data types and think that the TimeStamp ...
    (microsoft.public.sqlserver.programming)
  • Re: Convert help needed desperately
    ... overflow error converting expression to data type datetime. ... Is my sql server hosed???? ... > the timestamp data type. ...
    (microsoft.public.sqlserver.programming)
  • Re: IOT, memory and transaction time
    ... easily generate it with DBMS_METADATA.GET_DDL if your verison of Oracle ... If it was the update statement that references ... FOREIGN KEY (versionNo) REFERENCES T_TRANSACTIONS, ... There are however differences how both products deal with concurrency; in Oracle readers don't get blocked while this may happen in SQL Server. ...
    (comp.databases.oracle.misc)