Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling osql during app installation

Status
Not open for further replies.

JBaileys

Technical User
Jun 23, 2003
244
US

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).
 
The issue came down to that the osql command was not running as during the install routine - the sql tools were not part of the environment path. Added the binn directory and things are not operational!!
 

That should read now operational !!! It must be my fat fingers.

JB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top