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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

580 Autopartitioning Scheme <strong>for</strong> In<strong>for</strong>mix 4 Chapter 19create view samples.hires88 asselect *from connection to mycon(select empid, lastname, firstname,hiredate, salary from employeeswhere hiredate>=’31JAN88’);disconnect from mycon;quit;This example connects to In<strong>for</strong>mix and executes the stored procedure testproc. Theselect * clause displays the results from the stored procedure.proc sql;connect to in<strong>for</strong>mix as mydb(server=testdsn);select * from connection to mydb(execute procedure testproc(’123456’));disconnect from mydb;quit;Autopartitioning Scheme <strong>for</strong> In<strong>for</strong>mixOverviewAutopartitioning <strong>for</strong> <strong>SAS</strong>/<strong>ACCESS</strong> Interface to In<strong>for</strong>mix is a modulo (MOD) functionmethod. For general in<strong>for</strong>mation about this feature, see “Autopartitioning Techniquesin <strong>SAS</strong>/<strong>ACCESS</strong>” on page 57.Autopartitioning Restrictions<strong>SAS</strong>/<strong>ACCESS</strong> Interface to In<strong>for</strong>mix places additional restrictions on the columns thatyou can use <strong>for</strong> the partitioning column during the autopartitioning phase. Here is howcolumns are partitioned.3 INTEGER3 SMALLINT3 BIT3 TINYINT3 You can also use DECIMALS with 0-scale columns as the partitioning column.3 Nullable columns are the least preferable.

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

Saved successfully!

Ooh no, something went wrong!