Easiest way to clone database?

Hello,

Is there an easy way to clone a database without having to backup to disk or cloud?

For what I’m doing even just re-creating the structure without the data in a different database would work but I need to do it through SQL as I don’t have shell access using the .net connector.

This doesn’t exactly answer your question, but I happened to come across this and thought it might be helpful:

Besides the tables, what other types of objects do you need to clone? UDF and procedures? WASM?