Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

command line argument

Status
Not open for further replies.

tollbooth

MIS
Sep 20, 2002
9
US
I know there is no way to do this:

update notfoundinmimports,mhimports
set
notfoundinmhimports.found = 'y'
where
notfoundinmhimports.original_sym = mhimports.tradesymbol;

However, is there a way to achieve the above via a command line argument?
 
First of all, you can't update more than one table at a time.

Second, from what OS are you attempting to performt he update? ______________________________________________________________________
TANSTAAFL!
 
Then something like

echo "UPDATE....." | mysql [databasename]

should do it. ______________________________________________________________________
TANSTAAFL!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top