We are using osql to run inside of an install script. The script first installs MSDE (correctly). Then, another script creates the db, tables and columns (incorrectly). OSQL goes through the motions like everything is good - no error return codes - but then no database either.
We use the same script in query analyzer and it works as advertised (db, tables and columns are built).