I am trying to run a request on another server and should specify it in the select statement, but the server name has a '-' in it, for example the server name. this leads to an error in the header. How can i fix this?
Use square brackets []around the server name:
[]
select * from [server-name].[db-name].[schema-name].[table-name]
Source: https://habr.com/ru/post/1752801/More articles:PHP cache implementation with maximum cache folder size - phpHelp handling exceptions - c #https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1752798/git-how-do-i-set-up-ssh-keys-to-access-my-remote-repository-from-a-second-computer&usg=ALkJrhi05lAPcLrZ4xy4P2kTvzXfwrIlvQStop generator from inside a block in Python - pythonКакой пример использования указателей С++? - c++Creating a proxy for WCF service in Java and PHP Duplicate message error - javaHow to call Matlab from C ++ code? - c ++Problem with ListActivity extension - javaServices / analytics libraries available for iPhone / iOS? - iosHow would I generalize this C # code to a more general method? - c #All Articles