Cài đặt Rosetta2 dành cho Chip M1
softwareupdate --install-rosetta
-Lệnh để cài đặt docker run:
docker run -e "ACCEPT_EULA=1" -e "MSSQL_SA_PASSWORD=MyStrongPass123" -e "MSSQL_PID=Developer" -e "MSSQL_USER=SA" -p 1433:1433 -d --name=sql mcr.microsoft.com/azure-sql-edge
-Code để test :
--create the table
CREATE TABLE employee‹
username VARCHAR\51) NOT NULL,
email VARCHAR(100) NOT NULL
Database:
master
);
--insert sample data into the table
INSERT INTO employee (username, email) VALUES
('john', 'john@example. com'),
('Alice', '[email protected]'),
( 'Bob'. '[email protected]'):
Bấm Run ở trên để test.
Cảm ơn bạn đã xem hết video, nếu thấy hay nhớ like và đăng ký cho mình để theo dõi các video hay hơn nữa.