If I am running SQL scripts in a batch job (using osql or sqlcmd or whatever), is there a generally accepted "best way" to hide the password? This is for SQL 2005 but if there is anything helpfuly in 2008 that would be good too.
All I could find was using environment variables, but that won't work well for me.
Thanks