Can you give me some DBCC command options?(Database consistency check) - DBCC CHECKDB - Ensures that tables in the db and the indexes are correctly linked.and DBCC CHECKALLOC - To check that all pages in a db are correctly allocated. DBCC SQLPERF - It gives report on current usage of transaction log in percentage. DBCC CHECKFILEGROUP - Checks all tables file group for any damage.
2263Well sometimes sp_reanmedb may not work you know because if some one is using the db it will not accept this command so what do you think you can do in such cases?
2 4264
How to create a local temporary stored procedure?
what’s the difference between Covering Indexes and Clustered Indexes ? how to use clustered index small ?
Do you know what is sql injection?
Is it true that rules do not apply to data already existing in a database at the time the rule is created?
What happens to a statement batch if there is a compilation error?
What are partitioned views?
What is the difference between char, varchar and nvarchar?
How to create user messages with print statements in ms sql server?
Write a SQL query to make a column as unique?
How to set database to be single_user in ms sql server?
Explain system views?
How do you manipulate data?
List the different index configurations possible for a table?
How do you trace the traffic hitting a sql server?
When multiple after triggers are attached to sql table, how to control the order of execution?