On Tue, 11 May 2010 13:05:10 +0000 (GMT), kundan bharti
<kundan_bha...@yahoo.co.uk> wrote:

>Hello Sir/Maam,
>
> I am getting the error "SQLITE_CORRUPT: database disk image
> is malformed" while opening the attached database in
> SQlite Expert. 

Attachments usually don't make it in mailing lists, perhaps
you can put it on a website give us a link?
Do you get the same error with the sqlite3 command line
tool?

> Can you please tell me the reason as well as

To analyse the reason we would like to know in which
environment and with which sqlite3 version the database was
created.
One of the reasons could be deletion of a journal after a
failed transaction.

> a solution to rectify this issue.

First make a backup copy of the database file.
Try the  .dump  command in the command line tool.
If that doesn't return all your data you can try
 .dump tablename  for every single table separately.
-- 
  (  Kees Nuyt
  )
c[_]
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to