The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
ksh scripting help praveenbvarrier Shell Programming and Scripting 1 04-15-2008 07:19 AM
difference between AIX shell scripting and Unix shell scripting. haroonec Shell Programming and Scripting 2 04-12-2006 05:12 AM
scripting guru's pls help me with scripting on AIX thatiprashant Shell Programming and Scripting 1 01-20-2006 03:58 PM
Scripting? woofie What's on Your Mind? 1 03-09-2005 03:03 AM
scripting BigTool4u2 Shell Programming and Scripting 1 11-21-2002 09:20 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-10-2007
Registered User
 

Join Date: Jun 2007
Posts: 8
sql scripting help

I would like to run the following as bash script

sql -U history
update feed_domain_configuration
set enabled=1
where domain='lon' and vendor_name='<lond'


-sam
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 12-10-2007
Registered User
 

Join Date: Jul 2005
Location: Amsterdam
Posts: 97
'sql -U history
update feed_domain_configuration
set enabled=1
where domain='lon' and vendor_name='<lond'"

which database?


Regards,
Johan Louwers.
Reply With Quote
  #3 (permalink)  
Old 12-10-2007
Registered User
 

Join Date: Jun 2007
Posts: 8
Sybase

Thanks
sam
Reply With Quote
  #4 (permalink)  
Old 12-10-2007
Registered User
 

Join Date: Jul 2005
Location: Amsterdam
Posts: 97
Hi sam, I have no experience with Sybase... Have a look at http://tldp.org/HOWTO/Sybase-ASE-HOWTO/usage.html


How do you normally start a sql script from the command line... sql / isql command or something? Just use this command and put it into your bash script.... What is the normal syntax used to start a .sql script at sybase?

Regards,
Johan Louwers.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:07 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0