Subject | RE: [firebird-support] Unable to insert data into Column |
---|---|
Author | Leyne, Sean |
Post date | 2011-12-09T21:40:15Z |
Andrew,
Are you opening a new database connection when running the insert SQL?
Are you sure that the insert is actually doing anything? Are you seeing the new row?
Sean
> Firebird v2.1.3 classic on LinuxWas the column added recently?
>
> We have a table with a column on it, which when we run a simple sql to insert
> a new row with data in that column it doesnt populate the column (simple
> varchar(50) )
Are you opening a new database connection when running the insert SQL?
Are you sure that the insert is actually doing anything? Are you seeing the new row?
> if i do a backup/restore to a new database it works again and i can update theGiven that you are running 7x24 and the problem doesn't appear after a backup/restore (which is also effectively an engine restart), it seems likely that you are modifying the table structure with active connections. Those active connections are not aware of the table change...
> column, but as we are a 24/7 company id rather not take the DB down if
> possible.
Sean