Please let em know if this is valid.......
I am trying to run mysql from my shell script by passign a parameter.the sql(script.sql) is in directory $mydir and the parameter is $date and trying to run it this way:
un="username"
pd="PASSWORD "
dbname="dbname"
result = `mysql($un,$pd,$dbname,$mydir,"script.sql",$date)`
I am trying to store the date in result.is this valid statement???
Please advise???????
thanks so much!!!!!