Sybase IQ 12.4.0 Confirming connections, Using Odbc connectivity with Unix

Page 17

Adaptive Server IQ 12.4.0

Confirming connections

The following note should be added to Chapter 2, “The Database Server,” after the description of the -vserver switch.

Note In order to display the version on 64–bit platforms, you must do the following:

Run start_asiq -vinstead, which will set up the correct paths, environment, iq parameters, etc... Anything you pass to start_asiq will be passed to asiqsrv12. End users should always use start_asiq.

Add $ASDIR/lib/iqstubs

remember, once you set $SYBASE, as they will

to the beginning of the library path. However, this you will not be able to use any executables in now pick up the wrong libraries.

9.1.7 Confirming connections

In Chapter 2 of the Adaptive Server IQ Administration and Performance Guide, in the section “Introduction to connections”, the second paragraph incorrectly states that select db.name() can be used to confirm a connection. The correct syntax is:

select db_name()

to display the current database, or

select db_name([database_id])

to display any database you specify.

9.1.8 Using ODBC connectivity with UNIX

On UNIX systems, Adaptive Server IQ installation installs only the ODBC driver, and not the driver manager. If you are using an ODBC application that uses libodbc.so (libodbc.so.1) or libodbcinst.so (libodbcinst.so.1), simply create symbolic links for these that point to $SYBASE/asiq12/lib/dbodbc6.so.1. If you are creating a custom ODBC application, you can link directly to dbodbc6.so.

References to ODBC functions are resolved at run time. On UNIX, ODBC data sources are held in a file named .odbc.ini. Edit this file with any text editor to specify data sources. For details, see “Using ODBC data sources on UNIX,” in Chapter 2 of the Adaptive Server IQ Administration and Performance Guide.

Release Bulletin for Digital UNIX

17

Image 17
Contents Product summary Release Bulletin Adaptive Server IQ For Digital UnixRequired Operating System Patches Adaptive Server IQ Required Operating System PatchesRelease Bulletin for Digital Unix RestrictionsAdaptive Server IQ Converting 12.0.x databases to Following outer join format is supported Documentation for this version Installation InstructionsSetting the Ldlibrarypath Environment Variable Special migration instructions Accessing Current Release Bulletin InformationObtaining query plans Go to support.sybase.comChanged functionality in Adaptive Server IQ Changed functionality in this versionImproved stored procedure output Adaptive Server IQ Adaptive Server IQ Stopasiq utility Known problemsData definition Temporary tables in proceduresAdaptive Server IQ Queries 1 ANY, SOME, and ALL subquery supportLarge in subqueries Adaptive Server IQ OperationsOutput to file in Dbisql Changing length of Dbisql column valuesDbspawn Error when starting a server User-defined variable issueUnsupported terminal types cause Dbisql error User-defined variable issue Adaptive Server IQDSE not installed on Windows client systems Problems with Add User-defined Data Type wizardAdd Service utility installed only with Server Components Notification message setting omitted from Index PropertiesProduct compatibilities Documentation updates and clarificationsStartup, shutdown, and connection Data Type column in Table Editor retains focusSpecifying server switches Additions to the startasiq or asiqsrv12 command-line optionsGn command-line option Gm command line optionUsing -v switch on 64-bit platforms Gm command line option Adaptive Server IQAdaptive Server IQ Confirming connections Using Odbc connectivity with UnixConfirming connections Stopasiq utility Using a .odbc.ini fileUsing a .odbc.ini file Adaptive Server IQ Adaptive Server IQ Addition to Stop Database statement Addition to Stop Database statementConfiguration files do not accept quotes Error in Dbstop exampleError in Dbstop example Adaptive Server IQ Disconnect details omittedAdaptive Server IQ Switch must be uppercase Switch must be uppercaseData definition DDL Change to Create Database statementColumn Limit Correction LowDisk functions as HighGroupJoint Virtual Table JVT definition IQ database file paths must be uniqueError in raw partition limit Error documenting IQ PathError on Create Dbspace Adaptive Server IQ Error documenting IQ PathSize clause of Create Dbspace Adaptive Server IQ Size clause of Create DbspaceAddition to Drop Database statement Adaptive Server IQ Recommended index types Changes to Using join indexesRecommended index types Id custid idlname Changes to Using join indexes Adaptive Server IQAdaptive Server IQ Changes to Using join indexes Data manipulation DML Error in Diskstriping defaultSupport for joins between stores or databases Adaptive Server IQ DefaultNew and changed general database options Adaptive Server IQ New and changed general database optionsInsertnumberrowsperrawiobuffer Adaptive Server IQ DescriptionDescription Adaptive Server IQ Corrections to Insert LocationCorrection to Char function String function Repeat is supportedNumber* function not supported Adaptive Server IQ String function Repeat is supportedUsing Isnull and Coalesce Backup and system administrationUsing Isnull and Coalesce Adaptive Server IQ New options for reserving spaceInsufficient disk space Change to error messageEffect of checkpoints Adaptive Server IQ Forced recovery and leaked space recoveryStorage within the database as in use Dbccoption option Spiqcheckdb Set dbccoption to 2, as a temporary option New Stored Procedure Columns Improved output in stored proceduresTransaction Log utility Minpasswordlength optionSpiqstatus now displays IQ Page Size Maintaining a transaction log or mirror Grant Connect for existing user ID Error message for buffer cache settingsSetting PrefetchBufferLimit option Dropping users may delete tables Documentation on Data Backup and RecoveryCleaning up after abnormal exit Changes to Backup statementMonitoring server activity Creating attribute tables for PowerBuilder Using PC client applicationsClient applications Help filesAdaptive Server IQ plug-in help reflects Multiplex support Technical SupportSybase Certifications on the Web Other sources of informationTechinfo.sybase.com