Click here to Skip to main content
15,895,283 members
Home / Discussions / Database
   

Database

 
AnswerRe: Writting to a database Pin
Simon_Whale19-Nov-10 5:26
Simon_Whale19-Nov-10 5:26 
GeneralRe: Writting to a database Pin
PIEBALDconsult19-Nov-10 10:41
mvePIEBALDconsult19-Nov-10 10:41 
GeneralRe: Writting to a database Pin
Simon_Whale21-Nov-10 12:54
Simon_Whale21-Nov-10 12:54 
GeneralRe: Writting to a database Pin
PIEBALDconsult21-Nov-10 13:58
mvePIEBALDconsult21-Nov-10 13:58 
GeneralRe: Writting to a database Pin
Simon_Whale21-Nov-10 21:55
Simon_Whale21-Nov-10 21:55 
AnswerRe: Writting to a database Pin
Dr.Walt Fair, PE19-Nov-10 8:09
professionalDr.Walt Fair, PE19-Nov-10 8:09 
AnswerRe: Writting to a database Pin
PIEBALDconsult19-Nov-10 10:39
mvePIEBALDconsult19-Nov-10 10:39 
Questionprobel with restore database - sql server Pin
Gali197818-Nov-10 20:39
Gali197818-Nov-10 20:39 
hi
i try to backup and restore database using sql-server 2008 and got error.

to backup i done this:
BACKUP DATABASE MyDB TO DISK='d:\MyDB.BAK'
(and its work fine)

to restore i done this:
USE MASTER RESTORE DATABASE MyDB FROM DISK='d:\MyDB.BAK


and got this error:

Msg 3159, Level 16, State 1, Line 7
The tail of the log for the database "MyDB " has not been backed up. Use BACKUP LOG WITH NORECOVERY to backup the log if it contains work you do not want to lose. Use the WITH REPLACE or WITH STOPAT clause of the RESTORE statement to just overwrite the contents of the log.
Msg 3013, Level 16, State 1, Line 7
RESTORE DATABASE is terminating abnormally.


Where I'm wrong ? what is missing ?

thank's in advance
AnswerRe: probel with restore database - sql server Pin
Goutam Patra18-Nov-10 20:52
professionalGoutam Patra18-Nov-10 20:52 
GeneralRe: probel with restore database - sql server Pin
Gali197818-Nov-10 21:13
Gali197818-Nov-10 21:13 
AnswerRe: probel with restore database - sql server Pin
Goutam Patra18-Nov-10 21:19
professionalGoutam Patra18-Nov-10 21:19 
GeneralRe: probel with restore database - sql server Pin
Gali197819-Nov-10 1:45
Gali197819-Nov-10 1:45 
GeneralRe: probel with restore database - sql server Pin
Gerben Jongerius19-Nov-10 2:22
Gerben Jongerius19-Nov-10 2:22 
AnswerRe: probel with restore database - sql server Pin
Goutam Patra19-Nov-10 20:31
professionalGoutam Patra19-Nov-10 20:31 
QuestionCreating an inventory database in sql server 2008 Pin
maas2618-Nov-10 14:38
maas2618-Nov-10 14:38 
AnswerRe: Creating an inventory database in sql server 2008 Pin
PIEBALDconsult18-Nov-10 15:08
mvePIEBALDconsult18-Nov-10 15:08 
GeneralRe: Creating an inventory database in sql server 2008 Pin
Jörgen Andersson18-Nov-10 21:54
professionalJörgen Andersson18-Nov-10 21:54 
GeneralRe: Creating an inventory database in sql server 2008 Pin
NeverHeardOfMe18-Nov-10 22:38
NeverHeardOfMe18-Nov-10 22:38 
GeneralRe: Creating an inventory database in sql server 2008 Pin
Jörgen Andersson18-Nov-10 22:49
professionalJörgen Andersson18-Nov-10 22:49 
AnswerRe: Creating an inventory database in sql server 2008 Pin
Andy_L_J18-Nov-10 19:50
Andy_L_J18-Nov-10 19:50 
GeneralRe: Creating an inventory database in sql server 2008 Pin
maas2619-Nov-10 2:00
maas2619-Nov-10 2:00 
QuestionDb for multilanguage Pin
mehrdadc4817-Nov-10 20:53
mehrdadc4817-Nov-10 20:53 
AnswerRe: Db for multilanguage Pin
Eddy Vluggen18-Nov-10 10:02
professionalEddy Vluggen18-Nov-10 10:02 
QuestionSQL Server Report Services direct to printer and PDF format Pin
Central_IT17-Nov-10 0:31
Central_IT17-Nov-10 0:31 
Questionsave / read image in mysql Pin
Jassim Rahma17-Nov-10 0:16
Jassim Rahma17-Nov-10 0:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.