SQL Help with Journals Please

Hi Have a customer with 1.3 whose journals were huge and db had reached 2g limit. To get them out of a hole I had to delete the journals completely as it was stopping the pos's being used. Made a backup of the data first. I didnt know the command to only delete before a certain date then.

They are now upgrading to 2.0 and I have the current db with about 2 weeks journals and the old db with years of them.

I want to make the new db have the current journals and the previous years from the db backup, can this be done via some sql commands?

Thanks

Reply to
Gaz
Loading thread data ...

Good evening..

You have two solutions ..

You can restore the backup in another database, and after import the old journal receipts, but before to import the data you need to disable the identity on Journal, change the ID on your record, import the old records from the other database .. and to enable the identity on primary key..

cod

Reply to
cod

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.