位置: sqlserver判断数据库是否存在 - 标签
sql 判断数据库,表,存储过程等是否存在的代码(sqlserver判断数据库是否存在)
简述:sql判断是否存在--判断数据库是否存在ifexists(select*frommaster..sysdatabaseswherename=N'库名')print'exists'elseprint'notexists'-----------------判断要创建的表名是否存在
发布时间:2024/02/26
鄂ICP备2023003026号