E
elziko
When a user of my application has finished with the database it must be
ready to be moved to any other machine for use by another user. For this I'd
like to detach and shrink the database (its in the default simple recovery
mode) and so I'm using SSEUtil from within my code to accomplish this.
However, I think it would be better if I did this from ADO.NET since I'd
have more control and I'd be able to get more information if an error was to
occur. What's the best way to accomplish an detach followed by a database
shrink in ADO.NET?
TIA
ready to be moved to any other machine for use by another user. For this I'd
like to detach and shrink the database (its in the default simple recovery
mode) and so I'm using SSEUtil from within my code to accomplish this.
However, I think it would be better if I did this from ADO.NET since I'd
have more control and I'd be able to get more information if an error was to
occur. What's the best way to accomplish an detach followed by a database
shrink in ADO.NET?
TIA