Docker 验证证据
🚀 运行/交互
CREATE TABLE → INSERT → SELECT → sys.tables → SHOWPLANdocker-session.out.txt
$ sqlcmd -S localhost -U sa -C -Q "SELECT 1"
-----------
1
(1 rows affected)
$ sqlcmd fixed T-SQL session
(3 rows affected)
id name score
----------- -------------------- -----------
3 Carol 40
1 Alice 30
(2 rows affected)
name
--------------------------------------------------------------------------------------------------------------------------------
hello_items
(1 rows affected)
StmtText
-------------------------------------------------
SELECT * FROM dbo.hello_items WHERE score >= 30
(1 rows affected)
StmtText
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|--Clustered Index Scan(OBJECT:([master].[dbo].[hello_items].[PK__hello_it__3213E83FADD8674B]), WHERE:([master].[dbo].[hello_items].[score]>=CONVERT_IMPLICIT(int,[@1],0)))
(1 rows affected)