Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie question - looking for something like Interactive SQL 2

Status
Not open for further replies.

Jacque

Technical User
Nov 9, 2001
301
US
I've just started using DB2 and would like to know if there is a command line query component like ISQL? I've found the command center and SQL Assist but I find them too slow and cumbersome, although this may just be due to the learning curve. I prefer to manually enter my queries and be able to hot key the execute command instead of having to use my mouse to click the execute button.

Also, any recommendations for a good DB2 reference book?

Thanks! Any help would be appreciated.
Cheers & TGIF! [cheers]
Jacque
 
Jacque,
there are many good db2 reference books out there, but it depends on what platform and language environment is going to be your main point fo call. It would be no good me recommending you a top tome for Cobol and OS/390 is you're going to be using Java and Oracle (or whatever). Also, sadly, the version of db2 plays a part also.
Let us know what you details are, and I'm sure you will get many further replies.
Marc
 
Jacque,

the equivalent on a UNIX box of ISQL is quite simply db2. Entering db2 will give you a similar prompt and functionality comparable to isql.

Cheers
Greg
 
Hi guys!

Marc,
Is this enough for a good recommendation.
Windows 2000 & XP
C #
DB2 v8.1.2.169

Sathyaram,
Thanks, I'll check WinSQL out.

Greg,
I wish I still had access to a UNIX box.

Cheers,[cheers]
Jacque
 
Jacque,
I read a write up a while ago of 'DB2 Universal Database V8 for Linux, Unix, and Windows: Database Administration Certification Guide' which rated it reasonably highly. On searching for it on Amazon, I found that Sathyarams has written a write up there on it, so may be able to give more info.
For the amazon listing see here:
 
Thanks Marc,
That book sounds right up my alley, I'll check it out at my local bookstore.

Sathyaram,
Thanks for the review.

Cheers [cheers]
Jacque
 
Hi Greg,
Sorry for the delay - Windows for Intel.

Sathyaram,
Thanks for the tip on WinSQL,
Jacque

 
Jacque,

Windows and all version of UDB contain the Command Line Processor(CLP). It is a text based application which is used to execute SQL statements and DB2 commands. You can create a database, catalog a database and issue dynamic SQL commands ffrom the CLP, if you don't wish yo use the DB2 Command Center graphical interface.

All SQL statements issued from the CLP are dynamically prepared and executed on the database server. The output, or result, of the SQL query is displayed on the screen by default.

Therefore as your on a windows platform simply entering

db2

should do what you require and bring up the CLP.

Cheers
Greg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top