Home Forums SQL Server 2008 SQL Server 2008 High Availability check if database exist before restore RE: check if database exist before restore
Lynn Pettis
SSC Guru
Points: 442467
More actions
May 7, 2013 at 12:08 pm
#1613107
Do not use sys.sysdatabases. It is a SQL Server 2000 system and is included for backward compatibility. You should use sys.databases instead.