I need to create 1 xml file with my data in 2 different tables in sql.
To do this I have the following 4 step tsql code. But I\'m not sure if this is the right way?