I keep getting this error when i try to run my package from SQL JOB ..Can some please advise as to resolve this !
Message
Executed as user: .....\....... Microsoft (R) SQL Server Execute Package Utility
Version 9.00.3042.00 for 32-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Missing argument for option "sql". The command line parameters are invalid. The step failed.
dbcc shrinkfile(test_log,50)
" failed with the following error: "Could not locate file '
test_log' for database 'master' in sys.database_files.
The file either does not exist, or was dropped. ". Possible failure reasons:
Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.