Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Informix
Expertise: Beginner
Aug 2, 2000

DBACCESS Syntax

Question:
When accessing dbaccess through a script (in UNIX), what is the importance of the hyphen after the database name?

For example:

dbaccess mystores- <

Why do we need a hyphen after mystores?

Answer:
The hyphen tells dbaccess to get it's input from the standard input, which in this case is the "here document" that you're creating by using the <

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap