Hi Team,
I am trying to Export the schema and data from Azure SQL Database to blob storage. I used the SqlPackage Export function to export the .bacpac file which works for all the schemas present in the database, but I need to export only tables which belongs to one schema only.
SQL DB1- dbo schema.
Table Names:
dbo.x1
dbo.x2,
......................................................................
SQL DB1 - stage1 schema
Table Names:
stage1.y1
stage2.y2
As per above example I want to export all tables from dbo schema only, not stage1 schema. I know SqlPackage has option /p: TableData=[list of table names], but I do not want to explicitly mention name of the tables, however I want to export all tables under dbo schema.
Please share your valuable suggestion on this. I would Highly appreciate your help and support.
Thanks