Zhong,
I ran your process for one of my smaller sql servers and it worked great.
I have a question for you.
In the RestoreConfig table you have two columns, DatabaseName and DBExclude, that are not used. Are they for something in the future?
Bill Soranno
MCP, MCTS, MCITP DBA
Database Administrator
Winona State University
Maxwell 143
"Quality, like Success, is a Journey, not a Destination" - William Soranno '92