This article is a mirror article of machine translation, please click here to jump to the original article.

View: 11930|Reply: 0

[Source] The meaning of the return value return_value in SQL Server

[Copy link]
Posted on 1/19/2016 10:07:14 AM | | | |


Because if the sp that comes with SQL Server is in the return state, it is basically 0 (success) / 1 (failure).
So it is more convenient to use the same convention when customizing SP.
Of course, you can also define it the other way around, so that it can be confusing when mixing systems and customizations.
Therefore, conventions must be done before design, and a system will always follow a unified convention.





Previous:SQL statement to get the date part or time part of the datetime
Next:SQL Server types correspond to C# types
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com