The following works in sql 2000 but not in 2005, it complains "Invalid object name '##DummyTable'".
Code:
SET @command = 'bcp "..##DummyTable" out "' + @ZipFile + '" -c -U "' + @username + '" -P "' + @password + '"'
Why is this?