Re: Real Newbie Question
Posted in 1998
aaa@bbb.ccc wrote:
>Hi,
>
>I'm hoping someone can help me. I recently received a run time version of
>Informix as part of a package from Bay Networks called Optivity Call Reporter.
>Unfortunately this means that there is virtually no documentation as to how
>Informix actually runs.
>My problem is that I want to run sql queries from within my Unix environment
>(I run Solaris 2.5.1) without having to open dbaccess to query the database.
>Is it possible to set up shell scripts to do this, or run these queries from
>the Unix command prompt.
>
dbaccess your_database_name <<EOF
select * from ...EOF
Hope it helps,
Octav
--
Octav Chiriac Phone: (373) 2 21 20 96
NetInfo S.R.L. Fax: (373) 2 21 20 96
Chisinau (373) 2 24 00 83
Moldova, Republic of mailto:com@netinfo.moldova.net