tdb to sdb