How to move database from one instance to another instance of the same SQL Server Version using code.
What are the pre and post requisites I need to take care before I proceed.
Please help me ASAP with this so that I can perform this task in my production environment