It looks like a singe USE DBNAME; at the top of the sql script will help, but at this point I am trying to fix up the existing install.
I am only carrying on with this to see if maybe the install script needs to know if we are using mssql 2000 vs a later version and include the "USE netxms_db;" statement.
I am only carrying on with this to see if maybe the install script needs to know if we are using mssql 2000 vs a later version and include the "USE netxms_db;" statement.