The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
scripting - write a script that will count the number of times a particular word BigTool4u2 Shell Programming and Scripting 3 06-24-2009 01:46 PM
ksh scripting help praveenbvarrier Shell Programming and Scripting 1 04-15-2008 10:19 AM
difference between AIX shell scripting and Unix shell scripting. haroonec Shell Programming and Scripting 2 04-12-2006 08:12 AM
scripting guru's pls help me with scripting on AIX thatiprashant Shell Programming and Scripting 1 01-20-2006 07:58 PM
Scripting? woofie What's on Your Mind? 1 03-09-2005 07:03 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-10-2007
sam786 sam786 is offline
Registered User
  
 

Join Date: Jun 2007
Posts: 20
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
  #2 (permalink)  
Old 12-10-2007
suntac suntac is offline
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.
  #3 (permalink)  
Old 12-10-2007
sam786 sam786 is offline
Registered User
  
 

Join Date: Jun 2007
Posts: 20
Sybase

Thanks
sam
  #4 (permalink)  
Old 12-10-2007
suntac suntac is offline
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.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:44 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0