Sybase IQ 12.4.0 Data definition, Adaptive Server IQ Queries, Temporary tables in procedures

Page 10

Data definition

Adaptive Server IQ 12.4.0

7.1 Data definition

This section reports problems with data definition.

7.1.1 Temporary tables in procedures

When you include an automatically created temporary table in a procedure, the table should be dropped automatically when the procedure completes.

In Adaptive Server IQ 12.4.0, however, the table is not dropped. As a result, it becomes visible outside the procedure, and a new instance of the table is created each time the procedure executes. These tables instances are not dropped until you disconnect.

This problem will be corrected in a future release. As a workaround in this release, put an explicit

drop table #temp_table_name

at the end of the procedure.

For example, the following procedure has been corrected so that the automatically created temporary table, #temp0, is explicitly dropped and will not be replicated.

create procedure foo begin

select * into #temp0 from table

drop table #temp0 /* this line fixes the problem*/ end

7.2 Adaptive Server IQ Queries

This section reports problems with Adaptive Server IQ queries.

7.2.1 ANY, SOME, and ALL subquery support

Adaptive Server IQ does not yet support subqueries that use the ANY, ALL or

SOME keywords. For example:

> ALL

>= ALL

< ALL

<= ALL

10

Release Bulletin for Digital UNIX

Image 10
Contents Release Bulletin Adaptive Server IQ For Digital Unix Product summaryRequired Operating System Patches Required Operating System Patches Adaptive Server IQAdaptive Server IQ Converting 12.0.x databases to RestrictionsRelease Bulletin for Digital Unix Following outer join format is supported Setting the Ldlibrarypath Environment Variable Installation InstructionsDocumentation for this version Obtaining query plans Accessing Current Release Bulletin InformationSpecial migration instructions Go to support.sybase.comChanged functionality in this version Changed functionality in Adaptive Server IQImproved stored procedure output Adaptive Server IQ Known problems Adaptive Server IQ Stopasiq utilityAdaptive Server IQ Queries Temporary tables in proceduresData definition 1 ANY, SOME, and ALL subquery supportOutput to file in Dbisql Adaptive Server IQ OperationsLarge in subqueries Changing length of Dbisql column valuesUnsupported terminal types cause Dbisql error User-defined variable issueDbspawn Error when starting a server User-defined variable issue Adaptive Server IQAdd Service utility installed only with Server Components Problems with Add User-defined Data Type wizardDSE not installed on Windows client systems Notification message setting omitted from Index PropertiesStartup, shutdown, and connection Documentation updates and clarificationsProduct compatibilities Data Type column in Table Editor retains focusAdditions to the startasiq or asiqsrv12 command-line options Specifying server switchesUsing -v switch on 64-bit platforms Gm command line optionGn command-line option Gm command line option Adaptive Server IQConfirming connections Using Odbc connectivity with UnixAdaptive Server IQ Confirming connections Using a .odbc.ini file Adaptive Server IQ Using a .odbc.ini fileStopasiq utility Addition to Stop Database statement Adaptive Server IQ Addition to Stop Database statementError in Dbstop example Adaptive Server IQ Error in Dbstop exampleConfiguration files do not accept quotes Disconnect details omittedData definition DDL Switch must be uppercaseAdaptive Server IQ Switch must be uppercase Change to Create Database statementJoint Virtual Table JVT definition LowDisk functions as HighGroupColumn Limit Correction IQ database file paths must be uniqueError on Create Dbspace Error documenting IQ PathError in raw partition limit Adaptive Server IQ Error documenting IQ PathAddition to Drop Database statement Size clause of Create DbspaceSize clause of Create Dbspace Adaptive Server IQ Recommended index types Changes to Using join indexesAdaptive Server IQ Recommended index types Changes to Using join indexes Adaptive Server IQ Id custid idlnameAdaptive Server IQ Changes to Using join indexes Error in Diskstriping default Data manipulation DMLAdaptive Server IQ Default Support for joins between stores or databasesNew and changed general database options New and changed general database options Adaptive Server IQAdaptive Server IQ Description InsertnumberrowsperrawiobufferCorrections to Insert Location Description Adaptive Server IQNumber* function not supported String function Repeat is supportedCorrection to Char function Adaptive Server IQ String function Repeat is supportedUsing Isnull and Coalesce Adaptive Server IQ Backup and system administrationUsing Isnull and Coalesce New options for reserving spaceChange to error message Insufficient disk spaceForced recovery and leaked space recovery Effect of checkpoints Adaptive Server IQStorage within the database as in use Dbccoption option Spiqcheckdb Set dbccoption to 2, as a temporary option Improved output in stored procedures New Stored Procedure ColumnsSpiqstatus now displays IQ Page Size Minpasswordlength optionTransaction Log utility Maintaining a transaction log or mirror Setting PrefetchBufferLimit option Error message for buffer cache settingsGrant Connect for existing user ID Documentation on Data Backup and Recovery Dropping users may delete tablesChanges to Backup statement Cleaning up after abnormal exitMonitoring server activity Client applications Using PC client applicationsCreating attribute tables for PowerBuilder Help filesTechnical Support Adaptive Server IQ plug-in help reflects Multiplex supportOther sources of information Sybase Certifications on the WebTechinfo.sybase.com