the requirment that you have specified is not clear....
can you please provide some more detail information ?
_______________________________________________________________
To get quick answer follow this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/