Erro: [Microsoft][SQL Server Native Client 10.0]TCP Provider: The semaphore timeout period has expired.
SELECT CID.cid_nome, CID.cid_distritode, CID.cid_uf, UFS.uf_nom, CAP.cid_nome AS cap_nome, CID.cid_lat, CID.cid_lon, (SELECT catr_atr_vlr FROM sys_cidades_atrib WHERE catr_cid_id = CID.cid_id AND catr_atr_id = 57) AS cid_raio, (SELECT COUNT(*) FROM sys_hoteis WHERE ht_cid_id = CID.cid_id AND ht_stt IN ('A', 'F')) AS cnt_htl FROM sys_cidades CID INNER JOIN sys_estados UFS ON CID.cid_uf = UFS.uf_cod INNER JOIN sys_cidades CAP ON UFS.uf_cap = CAP.cid_id WHERE CID.cid_id = 1259