I'm studying a course about database management based on the Transact-SQL language. The first problem I founded was in my OS because I'm using a MAC. I had to create a SQL container in Docker and create a connection using Azure Data Studio, where I have my server, but my problem (where I'm blocked) is this:
when I have to create the FILENAME for this database I don't know where is it the directory which I have to save the .mdf and .ldf files because I'm running my server from a 'virtual' location which is not in my computer system.
How can I solve this?
Because I know nothing about containers, is the first time using Docker or similar...
I already tried to do it in a virtual machine running windows but is too much slow so I have discarded that option at the moment and I have to use SQL Server because is the language used in the course, I don't have any other option.
SELECT * FROM sys.database_fileswhen connected to the system databases - such asmaster- to see where it stores the files for those databases but the minimal SQL needed to create a database isCREATE DATABASE Fooso you don't need to specify this