This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Step into the future of simplicity with Fabric CLI. The Fabric Command Line Interface (CLI) has arrived in preview, bringing with it a seamless way to create SQL databases for your projects. This guide will take you through the steps to get started, ensuring you can leverage the power of Fabric CLI with ease.
fab auth login
Note: for this article I chose “Interactive with a web browser” option.
Follow the prompts to authenticate using your Microsoft account.
fab create <workspacename>.Workspace/<databasename>.SQLDatabase
Note: replace <workspacename> with the name of the workspace where you want to create the SQL database and replace <databasename> with the name that you want to use for your SQL database workload
fab ls <workspacename>.Workspace
This will display a list of all artifacts that are in the workspace including the one that just got created. Ensure that your newly created database is in the list.
To learn more about fabric CLI on the Fabric CLI GitHub page
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.