Hi Everyone ,
I want to know,If the system databases (individual) what will happen? If i execute any queries,will they run or get any errors?
if delete model,master database what will happen?
If it does n't happen any pblm to sql then what is the advantage of them?
Please make me clear on this......
Thanks,
mahesh
Loading
Prabhu RajaPosted Sep 30, 2011, 1:05 AM
Use DatabaseName --Database name, for the following query . It will not hurt your other databases on any way
Go
Delete * from table where tableid = 1
For more reference : Click Here
Pravin MorePosted Sep 30, 2011, 12:57 AM
tempdb is Used as a temporary work space for temporary tables created by user sand lots of other things....... and it get cleaned when sql server log out.....so server will not up when tempdb is crashed,droped or moved to another loaction n not available..............
msdb is used by SQL Server Agent for scheduling alerts ,database mails etc....if its damaged or droped then any scheduling information that is used by SQL Server Agent is lost ....so it needs to restore .
Thanks,
Pravin.
maheswar reddyPosted Sep 29, 2011, 10:17 AM
for your reply.But In case of tempdb,msdb what will happen.
Pravin MorePosted Sep 29, 2011, 5:44 AM
Master database is system database and it contains information about running server's configuration. When SQL Server is installed it usually creates master, model, msdb system database by default. therefore Without Master database SQL Server can not be started.
If Master database is corrupted then somethimes it can not start SQL Server at all and it can not be restored. SQL Server should be rebuild using command prompt and restored from latest backup once again.
thats the master database.........hope this info help you.
Thanx,
Pravin