From: <ait...@gm...> - 2003-06-29 21:32:25
|
Hi, I'm trying to overwrite database in use for a "Restore database backup" feature in a program, using "gbak -RESTORE_DATABASE" command. My code is something like this: myConnection.Close(); DoRestoreDatabaseBackup(); myConnection.Open(); It works perfect with ConnectionPooling = false, but almost never when ConnectionPooling = true, even if "myConnection" is the only connection opened across the application. It's not a problem for me by now, I only need a connection, I'll work without ConnectionPooling, but I'd like to know how could I do it in case of working with more than one connection. Thanks in advance, Aitor. |