Check if a table exists in a SQL Server 2008 database
To check if a table exists in a SQL Server 2008 database, use the following T-SQL code: Use the system view sys.objects and not the old sql server 2000 system table sysobjects if not exists…
To check if a table exists in a SQL Server 2008 database, use the following T-SQL code: Use the system view sys.objects and not the old sql server 2000 system table sysobjects if not exists…