Skip to content

Commit 380ca09

Browse files
Merge pull request #209140 from jovanpop-msft/patch-236
Custom objects in lake database
2 parents 3e33fe7 + 958ca48 commit 380ca09

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

articles/synapse-analytics/sql/resources-self-help-sql-on-demand.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -778,9 +778,13 @@ Here's the solution:
778778

779779
### Operation isn't allowed for a replicated database
780780

781-
If you're trying to create SQL objects, users, or change permissions in a database, you might get errors like "Operation CREATE USER is not allowed for a replicated database." This error is returned when you try to create objects in a database that's [shared with Spark pool](../metadata/database.md). The databases that are replicated from Apache Spark pools are read only. You can't create new objects into a replicated database by using T-SQL.
781+
If you're trying to create SQL objects, users, or change permissions in a database, you might get errors like "Operation is not allowed for a replicated database." This error might be returned when you try to modify a Lake database that's [shared with Spark pool](../metadata/database.md). The Lake databases that are replicated from the Apache Spark pool are managed by Synapse and you cannot create objects like in SQL Databases by using T-SQL.
782+
Only the following operations are allowed in the Lake databases:
783+
- Creating, dropping, or altering views, procedures, and inline table-value functions (iTVF) in the schemas other than `dbo`. If you are creating a SQL object in `dbo` schema (or omitting schema and using the default one that is usually `dbo`), you will get the error message.
784+
- Creating and dropping the database users from Azure Active Directory.
785+
- Adding or removing database users from `db_datareader` schema.
782786

783-
Create a separate database and reference the synchronized [tables](../metadata/table.md) by using three-part names and cross-database queries.
787+
Other operations are not allowed in Lake databases.
784788

785789
### Can't create Azure AD sign-in or user
786790

0 commit comments

Comments
 (0)