Links
TADOSqlManagerQuery Component References
TADOSqlManagerQuery::DetachDB Method
__fastcall bool DetachDB(WideString DBName, bool SkipCheck);

Detaches a database from a server and, optionally, runs UPDATE STATISTICS on all tables before detaching 

DBName: Database name 

SkipCheck: If true, UPDATE STATISTICS is skipped. If false, UPDATE STATISTICS is run. This option is useful for databases that are to be moved to read-only media.

Copyright (c) 2006. All rights reserved.
What do you think about this topic? Send feedback!