Use database_name GO ALTER DATABASE database_name SET SINGLE_USER GO DBCC CHECKDB('database_name', REPAIR_REBUILD) GO ALTER <database-name> SET MULTI_USER
create table sec_user_log (userid int,username varchar(50)) insert into sec_user_log (userid,username) values (1,'john') select * from sec_user_log
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)