As the question goes, how to determine whether the database libraries and tables exist?
大家讲道理2017-08-08 14:16:12
if exists(select*from sysobjects where name ='bbsUsers' )
drop table bbsUsers
bbsUsers is the table to be queried
sysobjects is the system table
ringa_lee2017-08-08 14:15:49
You have an operation to connect to the database in the program. If there is no table or library, there will be an error message