teradata version of SQL Server UniqueIdentifier

I am trying to convert a table created in SQL Server database into Teradata but ran into wall. I am not sure what teradata uses for uniqueIdentifiers. Here is the create table syntex for SQL Server.

CREATE TABLE [dbo].[ContactBase](
 [ContactId] [uniqueidentifier] NOT NULL,
 [DefaultPriceLevelId] [uniqueidentifier] NULL)

Any ideas
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Kevin CrossChief Technology OfficerCommented:
I agree. Note: UNIQUEIDENTIFIER is 36 characters total in length, four of which are hyphens. The part I am unsure of is actually creating the UID values. I have not seen an equivalent of NEWID() or the like. I have seen a suggestion from what appeared to be a Teradata employee, working with developers, that indicated a unique identifier value could be created from the combination of TIMESTAMP, CLOCK (I am guessing TIME or DATE?), and SESSION. From looking at the manuals, these are integer values; therefore, I suspect the unique identifier here is more representative of the function of UNIQUEIDENTIFIER in SQL Server versus the form. In other words, you can formulate an id that is guaranteed to be unique; however, it may not take the same form as NEWID() in SQL. Might be worth a try, though, and then you can store as TempDBA suggested in a VARCHAR column.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Enterprise Software

From novice to tech pro — start learning today.