In [ ]:
#r "nuget:Microsoft.DotNet.Interactive.SqlServer,*-*"
In [ ]:
#!connect mssql --create-dbcontext --kernel-name adventureworks "Persist Security Info=False; Integrated Security=true; Initial Catalog=AdventureWorks2019; Server=localhost"
In [ ]:
adventureworks.SalesPerson.ExploreWithSandDance()
In [ ]:
#!sql-adventureworks

select * from AdventureWorks2019.Sales.SalesPerson
In [ ]: