The system I am working on needs to create data dumps in SQL format. Is there a built-in way (like the mysqldump
tool) to create this with SQL Server?
I am working specifically with Azure SQL Edge in a container on a Mac or on Linux.
This is not a production system, no need to be super performant.
If this is not possible, is there any other simple way to share small pieces of my database, as files?
The desired result of such a dump would be a simple text file (not CSV, nor *.bak or similar)
insert into table a.A
values
(v,v,v,v,v),
(v,v,v,v,v),
....
....
....
(v,v,v,v,v);
insert into table a.b
values
(v,v,v,v,v),
(v,v,v,v,v),
....
....
....
(v,v,v,v,v);
One of the purposes is educational, which is why readable SQL format is preferable.