Avatar of Fordraiders
Fordraiders
Flag for United States of America asked on

convert teradata sql to sql server for creating a table

teradata and sql server

I have a create table sql from Teradata:
I need it revamped to create a table in sql server ?
CREATE MULTISET TABLE PRD_DWH_QT_XREF.s_xref_data ,NO FALLBACK ,
     NO BEFORE JOURNAL,
     NO AFTER JOURNAL,
     CHECKSUM = DEFAULT,
     DEFAULT MERGEBLOCKRATIO
     (
      material_no_ref VARCHAR(14) CHARACTER SET LATIN NOT CASESPECIFIC,
      comp_code_ref VARCHAR(3) CHARACTER SET LATIN NOT CASESPECIFIC,
      comp_sku_condensed_ref VARCHAR(30) CHARACTER SET LATIN NOT CASESPECIFIC,
      match_type_code_ref VARCHAR(2) CHARACTER SET LATIN NOT CASESPECIFIC,
      quantity_correction DECIMAL(14,6),
      "comment" VARCHAR(250) CHARACTER SET LATIN NOT CASESPECIFIC)
PRIMARY INDEX ( material_no_ref );

Open in new window



Thanks
fordraiders
Microsoft SQL Server 2008Microsoft SQL Server

Avatar of undefined
Last Comment
Fordraiders

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Brian Crowe

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Fordraiders

ASKER
Thanks Brian !!
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes