Page 1 of 1

MSSQL --UNKNOWN: Invalid characters in the hostname.

Posted: Fri Feb 05, 2021 12:58 pm
by mohan.sharma
Hi All,

I am using MSSQL Query wizard and using simple query but getting error "UNKNOWN: Invalid characters in the hostname."

USE master
SELECT Count(*)
FROM sys.databases
WHERE state_desc!='ONLINE'

Any help