Re: Automation and dbaccess
Posted in 2000
Bogdan Neagu — — source: Informix-list mailing list archive (1991-1998)
If you are on UNIX:
echo 'drop table <tablename>;' | dbaccess <databasename> -
HTH.
Bogdan
Chris Pope wrote:
> Hi, I'm a neophyte Informix DBA. I'm trying to figure out how to automate
> the dropping of a database. I need to kill all the sessions and drop the
> database. How can I automate dbaccess to do this?
>
> Thanks.
>
> -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
> http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
> -----== Over 80,000 Newsgroups - 16 Different Servers! =-----