Subject | Re: [firebird-support] Restoring a Backup with a NULL cntraint and NULL data |
---|---|
Author | Ann W. Harrison |
Post date | 2010-07-13T17:04:47Z |
Maya Opperman wrote:
that look at IBSurgeon for backups.
http://www.ib-aid.com/products/firebird_interbase/IBBackupSurgeon
work. Backup produces attribute value pairs, where the length of
the value is counted.
Good luck,
Ann
>The -n switch may disable not null constraints. Worth a try. Failing
> We have an irate customer who is attempting to restore a backup, but due
> to a not null constraint, and a table having a NULL value in that field,
> the restore won't complete.
>
> His backup from a month ago has the same problem. And he deleted the
> original FDB by attempting to restore several times over.
that look at IBSurgeon for backups.
http://www.ib-aid.com/products/firebird_interbase/IBBackupSurgeon
>Unless the two field names were the same length, that's no going to
>
>
> Out of desperation, we tried editing the GBK via notepad++, so try
> remove the not null constraint.
> In the GBK, we changed the field name (was an integer field) to a name
> of a timestamp field also in the table, which we are sure will be unique
> and not null.
work. Backup produces attribute value pairs, where the length of
the value is counted.
Good luck,
Ann