Check out this discussion which was had yesterday along the same lines:
[url]http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=%23YGzQ9VQDHA.2832%40TK2MSFTNGP10.phx.gb l&rnum=4&prev=/groups%3Fq%3DSriSamp%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26scoring%3Dd%26selm%3D%2523YGzQ9VQDHA.2832%2540 TK2MSFTNGP10.phx.gbl%26rnum%3D4[/url]
See towards the end, on the solution given by Vishal and see if that is what
you wanted. If not, we can then post a solution.
Please reply to the whole group only!
"Dishan" <d700693hotmail.com> wrote in message
> Hi All,
> Does anyone knows how to pass the parameter to the sql script.
> ex. I have db creation script db.sql and it has db name .
> I want to pass the db name somehow .. commandline?? I ...