var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: how to pass variable to sybase script
I like to write a simple query, but just can't pass to sybase query
isql -Umy_id -Smy_DB -Pmy_passwd << EOF
select * from my_table
where id like "%key1%"
but it just does not return anything.
how to pass variable to sybase script
Write the query in a sql file.
Then replace the variable in sql file using sed command.
Now run the sql file
isql -Umy_id -Smy_DB -Pmy_passwd -i<sql file> -o<Output file>
I figure out what the problem is....as I just "modified" from a script
i put the -o option, hence it sends to a file