Unix Technical Forum

Need help on executing sql script on ids 7.31

This is a discussion on Need help on executing sql script on ids 7.31 within the Informix forums, part of the Database Server Software category; --> Hello, please anybody can tell me how to run sql script from command line.I wrote my sql statements , ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 12:17 PM
Maumas
 
Posts: n/a
Default Need help on executing sql script on ids 7.31

Hello,

please anybody can tell me how to run sql script from command line.I
wrote my sql statements , saved in file and want to execute from
command line.i am using informix dynamic server 7.31 and i'm new on
it.
thanks

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 12:17 PM
Thomas Ronayne
 
Posts: n/a
Default Re: Need help on executing sql script on ids 7.31

Easiest?

dbaccess dbname prog

where prog is prog.sql (you don't need the .sql on the command line, but
the file then needs to be file.sql)


Maumas wrote:
> Hello,
>
> please anybody can tell me how to run sql script from command line.I
> wrote my sql statements , saved in file and want to execute from
> command line.i am using informix dynamic server 7.31 and i'm new on
> it.
> thanks
>
>


--
Everything works -- if you let it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:25 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com