Script to create database xmla file

Manual method for generating file in SSMS

I'm looking for an automatic method for generating the file that is created in the screenshot above to see if it can be done. It is an xmla file detailing the structure of the tables within the database. Preferably a solution in C# or PowerShell, but any method would be appreciated.



Read more here: https://stackoverflow.com/questions/68482387/script-to-create-database-xmla-file

Content Attribution

This content was originally published by CDWatson at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: