13.07.2015 Views

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

370 SET= Data Set Option 4 Chapter 11See Also“SESSIONS= LIBNAME Option” on page 183SET= Data Set OptionSpecifies whether duplicate rows are allowed when creating a table.Alias: TBLSETDefault value: NOValid in: DATA and PROC steps (when creating and appending to DBMS tables using<strong>SAS</strong>/<strong>ACCESS</strong> software)DBMS support: TeradataSyntaxSET=YES | NOSyntax DescriptionYESspecifies that no duplicate rows are allowed.NOspecifies that duplicate rows are allowed.DetailsUse the SET= data set option to specify whether duplicate rows are allowed whencreating a table. The default value <strong>for</strong> SET= is NO. This option overrides the defaultTeradata MULTISET characteristic.ExampleThis example creates a Teradata table of type SET that does not allow duplicate rows.libname trlib teradata user=testuser pw=testpass;options sastrace=’,,,d’ sastraceloc=saslog;proc delete data=x.test1;run;data x.test1(TBLSET=YES);i=1;output;run;

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!