Hi,
I have just backed up and restored a DB to a diffrent server (both SQL 2008 R2 sp1 x64 dev) and I have noticed a scipt is failing. On the orginal server sp_OACreate 'SQLDMO.SQLServer' generates a number on the new server it returns a null. I have no idea why.
DECLARE @object int
DECLARE @hr int
EXEC @hr = sp_OACreate 'SQLDMO.SQLServer', @object OUT
print @object
Many thanks