BCP queryout from Azure VM : SQLState = 37000, NativeError = 40515 Reference to database and/or server name in 'DBName.dbo.TableName' is not supported
问题 I was trying to export a table from database in Azure VM into a text file using BCP in my Local Machine's SSMS. !! bcp "SELECT * FROM DBName.dbo.TableName" queryout D:\tablename.txt -S AzureVM -U userName -P passWord -n But following error was the result Starting copy... SQLState = 37000, NativeError = 40515 Error = [Microsoft][ODBC Driver 13 for SQL Server][SQL Server]Reference to database and/or server name in 'DBName.dbo.TableName' is not supported in this version of SQL Server. SQLState =