I have the need to programmatically create a new database as a copy of an existing one, within the same Azure Managed Instance. I have searched for hours and cannot find a way to do it! This need will arise frequently, hence the need to do it programmatically.
I presume it has to be possible. Any ideas?