Forum Discussion

ToddChitt's avatar
ToddChitt
Super User
1 year ago
Solved

Permission denied for CREATE TABLE statement

I created a new Workspace connected to a Free Trial license. I created a new Fabric SQL Database. I create a new Copy Job (preview) using on-prem SQL as the source via a Gateway (no issues there)...
  • dlevy's avatar
    1 year ago

    Hi ToddChitt - Sorry to hear you are having problems! 

     

    I've run into a similar situation before myself. For me it happens when I am connecting to the Analytics Endpoint instead of the SQL Endpoint.

     

    For copy table the steps should look a lot like this document: Load data with data pipelines into SQL database - Microsoft Fabric | Microsoft Learn. The key thing is to pick your SQL database endpoint from the OneLake Data Hub.

     

    For the SSMS connection, at the top of the SQL Editor, you should see an "Open In" menu. 

    Click on SQL Server Management Studio and copy the server and database name into the connection dialog in SSMS. (database name is on the Connection Properties tab)

     

    Let's make sure you are getting connected to the right place, then we can dig into the double schemas. We like schemas and think everyone should use them but once seems like enough.