> For the complete documentation index, see [llms.txt](https://kythuat.dtechvn.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kythuat.dtechvn.com/cai-dat-dtech/a-severe-error-occurred-on-the-current-command.md).

# A severe error occurred on the current command

Lỗi khi select một bảng table trên database trả ra lỗi này hoặc xem báo cáo như Cân đối phát sinh không ra số liệu, tìm kiếm vẫn có.

## TẢI VỀ BẢN VÁ LỖI CỦA MICROSFOT&#x20;

## KB3137745 - Cumulative update package 11 for SQL Server 2012 SP2 - [TẠI ĐÂY](https://support.microsoft.com/en-us/topic/kb3137745-cumulative-update-package-11-for-sql-server-2012-sp2-da013001-f4f1-1ef4-b205-6e491ddf508b) <a href="#page-header" id="page-header"></a>

<figure><img src="https://3934179848-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpqWC051kMhpZgqZaU9Oy%2Fuploads%2FWFHXSQw98KUkUcIv0yov%2Fimage.png?alt=media&amp;token=8ffe3532-d289-4ba8-b73d-a280d13d04a3" alt=""><figcaption></figcaption></figure>

Download tương ứng version SQL cài đặt , thường là x86.

Cài đặt xong chạy lại SQL select để kiểm tra kết quả.

Tham khảo tại đây:

{% embed url="<https://support.microsoft.com/en-us/topic/kb3139489-fix-a-severe-error-occurred-on-the-current-command-when-a-table-valued-user-defined-function-is-referred-to-by-a-synonym-f17d05df-3012-7558-096d-af04dad17e43>" %}

{% embed url="<https://blog.sqlauthority.com/2017/11/02/sql-server-msg-0-level-11-severe-error-occurred-current-command-results-discarded/>" %}

{% embed url="<https://www.mssqltips.com/sqlservertip/1476/how-to-read-log-file-in-sql-server-using-tsql/>" %}
