sql指令錯誤:select S.* , E.caption as sex_c , E.caption_e as sex_e , B.caption as country_c , B.caption_e as country_e , F.caption as then_position , G.caption as position from scholar S left join code_ex1 as A on A.id = S.unit_code and A.code_type_id = 'unit' left join code_ex1 as B on B.id = S.country_code and B.code_type_id = 'country' left join code_ex1 as C on C.id = S.then_position_code and C.code_type_id = 'position' left join code_ex1 as D on D.id = S.state_code and D.code_type_id = 'state' left join code_ex1 as E on E.id = S.sex_code and E.code_type_id = 'sex' left join code_ex1 as F on F.id = S.then_position_code and F.code_type_id = 'position' left join code_ex1 as G on G.id = S.position_code and G.code_type_id = 'position' where S.unit_code = '01' and isnull(S.is_show,0) = 1 and S.sn = 483
ERROR [08001] [Microsoft][SQL Server Native Client 11.0]用戶端無法建立連線,因為登入前的交握期間發現錯誤。常見原因包括用戶端嘗試連接到不支援的 SQL Server 版本、伺服器太忙而無法接受新連接,或伺服器有資源限制 (記憶體或允許的連線數上限)。
ERROR [08001] [Microsoft][SQL Server Native Client 11.0]TCP 提供者: 指定的網路名稱無法使用。
ERROR [08001] [Microsoft][SQL Server Native Client 11.0]用戶端無法建立連線
ERROR [01S00] [Microsoft][SQL Server Native Client 11.0]無效的連線字串屬性
ERROR [08001] [Microsoft][SQL Server Native Client 11.0]由於預先登入失敗,所以用戶端無法建立連接