April 28, 2022 at 8:34 pm
We moved a database from on-prem to Azure Managed Instance. But now we can't use External Tables, so we're taking a different approach. Is there a way to drop the external tables so I can use the object names for local tables?
If I run the normal instruction
DROP EXTERNAL TABLE [dbo].[MyExternalTable];
It shows the error
Msg 102, Level 15, State 1, Line 1
Incorrect syntax near 'EXTERNAL'.
If I run the command to drop like a normal table, I get a different error mentioning that this is an external table.
DROP TABLE [dbo].[MyExternalTable];
It shows the error
Msg 3705, Level 16, State 1, Line 1
Cannot use DROP TABLE with 'dbo.MyExternalTable' because 'dbo.MyExternalTable' is a EXTERNAL TABLE. Use DROP EXTERNAL TABLE.
Is there any way around this?
April 29, 2022 at 9:10 pm
Thanks for posting your issue and hopefully someone will answer soon.
This is an automated bump to increase visibility of your question.
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy