SAP Sybase IQ16.0 (Sybase? client), providing a command-line client

Source: Internet
Author: User
Tags dba sybase

The Sybase-Client (Java client) has recently been found removed from the IQ16.0. New clients may only use scc?!

For the old users, is undoubtedly a more painful thing.

It seems that only from IQ15.4 or 15.3 to pick a client out of use.


That being the case, I indexed a command line client with the SDK library.

This is a very small and exquisite IQ command line client, and interestingly, it can also be used in ASA12 and above versions of the ASA database. This is where the charm lies.
Use, put it below the IQ or ASA Bin32 subdirectory, into this directory: Sasql < connection string >

Usage is as follows:

Usage is as follows:

C:\scjviewiq16\iq-16_0\bin32>sasql.exe "Uid=dba;pwd=sql;links=tcpip (HOST=MEGA-VM
014:2638;verifyservername=no) "
The conn string Is:uid=dba;pwd=sql;links=tcpip (Host=mega-vm014:2638;verifyserve
Rname=no)
Successfully connected. Welcome using Sasql for sqlanywhere database.sasql vers
Ion 1.0.1 Command line utility for SA database
Copyright Iihero & Springtech, Inc.
Enter ". Help;" For instructions
Enter SQL statements terminated with a ";"
Sasql>. Help;
. exit; Exit this program
. Quit; Exit this program
. Help; Print the Help menu
. Read <sql file>; Read and execute a SQL file
<sql statement>; Execute a SQL statement

Sasql>

Each command ends with;

Sasql> call Sp_tables ();
Estimated number of rows:-346
Table_qualifier,table_owner,table_name,table_type,remarks
---------------------------------------------------------
' Iqdemo ', ' SYS ', ' isystab ', ' SYSTEM TABLE ', (NULL)
' Iqdemo ', ' SYS ', ' isystabcol ', ' SYSTEM TABLE ', (NULL)
' Iqdemo ', ' SYS ', ' isysobject ', ' SYSTEM TABLE ', (NULL)
' Iqdemo ', ' SYS ', ' ISYSIDX ', ' SYSTEM TABLE ', (NULL)
' Iqdemo ', ' SYS ', ' isysphysidx ', ' SYSTEM TABLE ', (NULL)

..............

---------------------------------------------------------
346 rows returned


Warning: [Procedure] ' has completed '
Total Elapsed time = 281ms


You can also execute an SQL file. Other functions will be expanded in the future, so much to write first.

Download Address:

http://download.csdn.net/detail/iihero/7072717





Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.