ddl - i am migrtaing database from sql server 2008 to teradata -


i migrating database sql server 2008 teradata , facing problem:

in sql server in ddl of table column defined follows:

[rowguid] uniqueidentifier rowguidcol not null constraint [df_address_rowguid] default (newid()) 

this column uses newid() function generate , insert random varchar value in column [rowguid] if user doesnt provide input.

there no similar function in teradata generate value.

what can used instead of of newid() function of sql server while creating similar table ddls teradata?

there no native equivalent guid/uuid in teradata. teradata offer identity column provide auto-incrementing column. identity column not come without own nuances , encourage read chapter 5 - create table in sql data definition language - detailed topics has section explaining identity columns.

however, part of migration sql server teradata need understand concept of how data distributed in teradata means of table's primary index. may require review existing data model , re-engineer how physically implemented in teradata.


Comments

Popular posts from this blog

php - get table cell data from and place a copy in another table -

javascript - Mootools wait with Fx.Morph start -

php - Navigate throught databse rows -