Forum Discussion
wm-thompson
Apr 03, 2024Brass Contributor
How are schemas used and defined in Azure and wih Azure Data Studio?
I had thought that a database schema was the name of the structure on which tables are interconnected by primary keys and foreign keys. But in the tool, Azure Data Studio, the user is asked to select...
Kidd_Ip
Aug 21, 2025MVP
Below the suggestion on how to view or create schemas in Azure Data Studio:
1. View Existing Schemas:
-
- Connect to your database.
- Expand the database in the Object Explorer.
- Navigate to Schemas under Security.
2. Create a Schema via SQL:
CREATE SCHEMA Inventory AUTHORIZATION dbo;
3. Assign Tables to a Schema:
CREATE TABLE Inventory.Products (
ProductID INT PRIMARY KEY,
Name NVARCHAR(100)
);