13.07.2015 Views

Caché Upgrade Checklists - InterSystems Documentation

Caché Upgrade Checklists - InterSystems Documentation

Caché Upgrade Checklists - InterSystems Documentation

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.

<strong>Caché</strong> 2009.1 <strong>Upgrade</strong> Checklist6.2.12.5 Custom Aggregate Definitions ChangedCustom aggregates Var and StDev now correspond to MDX in being unbiased estimators, that is, dividing by n-1 wheren is population size. The new, biased estimators (divide by n) are now VarP and StDevP.6.2.12.6 Large Reports May Fail to CompileIn this version, some very complex report definitions may fail to compile because the code they generate exceeds 32Kcharacters. In this case, please contact the <strong>InterSystems</strong> Worldwide Response Center (WRC).6.2.13 Web Services Changes6.2.13.1 SOAP Client Wizard — Multiple Return ValuesA method that returns multiple values is now represented as explicitly having Output parameters. This change is requiredto handle the case where an optional parameter is missing. In prior versions, this would cause the first value returned to beincorrectly assigned as the return value of the method.6.2.14 xDBC Changes6.2.14.1 Privilege Checking Extended To More Catalog QueriesWhen calling the following catalog queries, privilege checking is now enforced and no catalog metadata will be returnedif the user does not have at least one privilege for the table or view.ODBCSQLSpecialColumns (SQL_BEST_ROWID=1)SQLForeignKeys (Cross Reference)SQLForeignKeys (Exported Keys)SQLForeignKeys (Imported Keys)SQLPrimaryKeysSQLStatisticsJDBCgetBestRowIdentifier()getCrossReference()getExportedKeys()getImportedKeys()getIndexInfo()getPrimaryKeys()6.2.14.2 Improvements To Precision/Scale For Numeric Values And ExpressionsThe following assumptions are now made when preparing SQL statements via xDBC:Numeric literalsWhen a numeric literal value is specified in an SQL statement that is Prepared through xDBC, its value is replaced with ahost variable (unless it is enclosed in ((val)) ). The type of this variable is NUMERIC with a length of 20, a precision of18, and a scale of 9. If a different type, precision, or scale is desired, a CAST should be used in the SQL statement.Addition and SubtractionThe type of the resulting expression will be NUMERIC unless one or both of the arguments is a double, then the result willbe a DOUBLE. If the type is NUMERIC,• the precision will be determined by:max(scale1, scale2) + max(precision1-scale1, precision2-scale2) + 1• and, the scale is determined by:156 <strong>Caché</strong> <strong>Upgrade</strong> <strong>Checklists</strong>

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

Saved successfully!

Ooh no, something went wrong!