Array ( [0] => Array ( [0] => 42S22 [SQLSTATE] => 42S22 [1] => 207 [code] => 207 [2] => [Microsoft][SQL Server Native Client 11.0][SQL Server]Invalid column name 'PUBLISH_SETTING_ID'. [message] => [Microsoft][SQL Server Native Client 11.0][SQL Server]Invalid column name 'PUBLISH_SETTING_ID'. ) ) ERROR : function dbQuery() ->SQL IS ----------> SELECT * FROM TB_KM_LINK WHERE KMLINK_ID ='5020' AND PUBLISH_SETTING_ID = '1' AND ( FLAG_STATUS is null OR FLAG_STATUS != 'D' ) ######