>>Copying files is a long process, if files are huge. I liked Franco's hacking idea. Besides, it seems to work well.
>
>Keep in mind there be dragons in the properties memo of dbc records - lots of kinky binaries. While you may be just lucky, it could happen that (depending on your settings) some CRs get replaced with CRLFs etc... so I'd rather go for StrTran(properties, lcOldTableName, lcNewTableName).
Right, that is what we will do. Moreover, changing database name is even more challenging process. I had Sergey's program GetDBCName by low-level functions, so I changed it and now we can change database name by using a little bit of "hacking". I'll publish the program tomorrow, if you want.
If it's not broken, fix it until it is.
My Blog