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.

790 SQL Pass-Through Facility Specifics <strong>for</strong> Teradata 4 Chapter 28OptionTPT_RESTART=Default ValueNOTPT_TRACE_LEVEL= 1TPT_TRACE_LEVEL_INF= 1TPT_TRACE_OUTPUT=TPT_WORK_TABLE=UPDATE_ISOLATION_LEVEL=UPDATE_LOCK_TYPE=UPDATE_MODE_WAIT=driver name, followed by a timestamptable_name_WTthe current LIBNAME option settingthe current LIBNAME option settingthe current LIBNAME option settingSQL Pass-Through Facility Specifics <strong>for</strong> TeradataKey In<strong>for</strong>mationFor general in<strong>for</strong>mation about this feature, see “Overview of the SQL Pass-ThroughFacility” on page 425. Teradata examples are available.Here are the SQL pass-through facility specifics <strong>for</strong> the Teradata interface.3 The dbms-name is TERADATA.3 The CONNECT statement is required.3 The Teradata interface can connect to multiple Teradata servers and to multipleTeradata databases. However, if you use multiple simultaneous connections, youmust use an alias argument to identify each connection.3 The CONNECT statement database-connection-arguments are identical to theLIBNAME connection options.The MODE= LIBNAME option is available with the CONNECT statement. Bydefault, <strong>SAS</strong>/<strong>ACCESS</strong> opens Teradata connections in ANSI mode. In contrast,most Teradata tools, such as BTEQ, run in Teradata mode. If you specifyMODE=TERADATA, Pass-Through connections open in Teradata mode, <strong>for</strong>cingTeradata mode rules <strong>for</strong> all SQL requests that are passed to the Teradata DBMS.For example, MODE= impacts transaction behavior and case sensitivity. See yourTeradata SQL reference documentation <strong>for</strong> a complete discussion of ANSI versusTeradata mode.3 By default, <strong>SAS</strong>/<strong>ACCESS</strong> opens Teradata in ANSI mode. You must there<strong>for</strong>e useone of these techniques when you write PROC SQL steps that use the SQLpass-through facility.3 Specify an explicit COMMIT statement to close a transaction. You must alsospecify an explicit COMMIT statement after any Data Definition Language(DDL) statement. The examples below demonstrate these rules. For furtherin<strong>for</strong>mation about ANSI mode and DDL statements, see your Teradata SQLreference documentation.3 Specify MODE=TERADATA in your CONNECT statement. WhenMODE=TERADATA, you do not specify explicit COMMIT statements asdescribed above. When MODE=TERADATA, data processing is not case

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

Saved successfully!

Ooh no, something went wrong!