Please start any new threads on our new 
    site at https://forums.sqlteam.com.  We've got lots of great SQL Server
    experts to answer whatever question you can come up with.
    
        | 
                
                    | 
                            
                                | Author | Topic |  
                                    | sreehariStarting Member
 
 
                                        37 Posts | 
                                            
                                            |  Posted - 2006-09-04 : 10:55:54 
 |  
                                            | Hi allMy database 'a2rd' was marked as suspectand i did the following steps to make it available USE MASTERselect name, dbid, mode, status from sysdatabases where dbid = db_id('a2rd')UPDATE SYSDATABASES SET STATUS=-32768 WHERE NAME='a2rd'EXEC sp_configure 'show advanced option', '1'EXEC sp_configure 'allow updates', '1'RECONFIGURE WITH OVERRIDEDBCC NEWALLOC(a2rd)DBCC TEXTALL (a2rd)DBCC CHECKDB (A2RDnow how can i take the backup of the database that was in emergency mode..Thanks in advance.. |  |  
                                    | nrSQLTeam MVY
 
 
                                    12543 Posts | 
                                        
                                          |  Posted - 2006-09-04 : 18:46:25 
 |  
                                          | You can't backup the database without recvering it.You can bcp out all the data though.==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |  
                                          |  |  |  
                                    | paulrandalYak with Vast SQL Skills
 
 
                                    899 Posts | 
                                        
                                          |  Posted - 2006-09-05 : 17:33:02 
 |  
                                          | Firstly, what caused the database to go suspect?Secondly, which version are you on? On SQL Server 2000, DBCC CHECKDB incorporates everything done by NEWALLOC and TEXTALL. What were the results of the CHECKDB?Thirdly, do you have a backup to restore from?Paul RandalLead Program Manager, Microsoft SQL Server Core Storage Engine (Legalese: This posting is provided "AS IS" with no warranties, and confers no rights.) |  
                                          |  |  |  
                                |  |  |  |