Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to get Message from Error Code

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

How to get Message from Error Code

1. Print error message according to error code number under Windows

Command Net helpmsg

Displays information about Windows network messages (such as error, warning, and alert messages). When you type NET HELPMSG and the 4-digit number of the Windows error (for example, NET 2182), Windows tells you about the message and suggests action you can take to solve a problem. "

For the equivalent PowerShell method, please see: PowerShell equivalent of NET HELPMSG

two。 Non-Windows platform

Please refer to: Errno Codes by Platform, Linux Error Codes Number on Linux Fedora System

3. MySQL error

Perror command is a tool program in MySQL database system, which is used to print the meaning of errno error code in C language and the meaning of storage engine error code in MySQL. (perror prints a description for a system error code or for a storage engine (table handler) error code.)

Please refer to the perror of the Linux command-explain the error code

4. Oracle error

"ORA-XXXX" is a common type of error in DBA. In general, we can search the Internet with relevant explanations and solutions. If the accident scene is not on the Internet and the error has not been encountered, what should we do?

Powerful ORACLE has already provided us with a simple and practical tool: oerr, which can quickly find an overview and solution of the corresponding error code in the linux or unix environment.

Please refer to: oracle quickly find the overview and solution of the corresponding error code through oerr

5. SQL Server error

The system view sys.sysmessages contains a row for each system error or warning that can be returned by the SQL Server database engine. The database engine displays an error description on the user screen.

SELECT * FROM [sys]. [messages] WHERE message_id IN (41034 and 41005) AND language_id=1033

Please refer to: sys.sysmessages

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report