*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> espquery (1)              
Title
Content
Arch
Section
 

Contents


espquery(1)							   espquery(1)


NAME    [Toc]    [Back]

     espquery -	Database query for Embedded Support Partner

SYNOPSIS    [Toc]    [Back]

     espquery [-th] [-u	username] [-p password]	[-n hostname] -s sqlstring dbname

DESCRIPTION    [Toc]    [Back]

     espquery is a command that	is designed to perform limited set of
     operations	on the database	in the Embedded	Support	Partner	The command is
     provided mostly for use by	tools that are script in nature, yet need an
     interface to the SSDB. The	tools would have to have intimate knowledge of
     the schema	in the SSDB and	the rights to access the database. The
     operations	on the on the SSDB are limited to:

     SELECT    [Toc]    [Back]
     DESCRIBE
     SHOW

     The dbname	is a mandatory argument	and must be at the end after the
     option list.

     The espquery command has the following options:

     -t		  Option to disable the	printing of headers. With this option,
		  data is displayed without any	header information.

     -h		  Help command.	This option will print out the usage for the
		  command.

     -u	username  The username for accessing the data in the SSDB. The SSDB
		  will have set	users that have	privileges to access the data.
		  This option is mandatory.

     -p	password  The password for the account to access data in the SSDB.

     -n	hostname  Option to connect to a different host	that is	running	the
		  SSDB.	By default the hostname	is set to localhost. This
		  option is mandatory.

     -s	sqlstring The SQL query	that is	to be performed	on the database. The
		  sqlstring must be enclosed in	double quotes ("").

	  espquery -u sss -p sss -s "select * from event" ssdatabase

     The above command connects	to the database	called ssdatabase on the local
     system using the account sss password sss.	A select of all	records	from
     the table called event is performed.

EXAMPLE	2
	  espquery -n neetu.csd.sgi.com	-u sss -p sss -s "select * from	event"
	  ssdatabase




									Page 1






espquery(1)							   espquery(1)



     The above connects	to the database	called ssdatabase on the host called
     neetu.csd.sgi.com using the account sss password sss. A select of all
     records from the table called event is performed.


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
esp IRIX Embedded Support Partner
esparchive IRIX archiving utility for Embedded Support Partner
launchESPartner IRIX start Embedded Support Partner User Interface
espnotify IRIX a generic command line notification utility for SGI Embedded Support Partner
pnpbios FreeBSD support for embedded devices on the motherboard
tput HP-UX query terminfo database
tput IRIX initialize a terminal or query terminfo database
DtSearchQuery HP-UX Perform a DtSearch database search for a specified query
tput Linux initialize a terminal or query terminfo database
login_cap NetBSD query login.conf database about a user class
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service