I am trying to run the update statement as follows:
UPDATE tblDeductionSystem SET [ORDER] = [0RDER] + 6 WHERE [ORDER] >= 7 AND ScoringCriteriaTypeID = @CheerDeductionScoreSheetID
Sql Server, if you gave me the wrong column name ORDER. I thought that if I separated the reserved word with square brackets, it would work.
If you copied this directly, your error has 0 (zero) instead of O (letter) on your [0rder]+6
[0rder]+6
What is [0RDER]? Is this another column? Look at that zero? 0against O. You may need to change the font of your favorite sql editor.
[0RDER]
0
O
, , , 0 O QWERTY, , 0 O. l33t ppl 0 Os.
Source: https://habr.com/ru/post/1765376/More articles:Установка конечной точки WebServiceWrapper во время выполнения - flexHow to make Android MediaPlayer () stop when the application is closed? - androidCSharpCodeProvider pulls .NET 2.0 assembly from .NET 4.0 application - .netOn pixel lighting in modern GLSL? - graphicsReducing the planning of quantized Boolean formulas - artificial-intelligenceHow to re-run the same test with the same data in MbUnit - c #get tag names and first child data using jQuery - jqueryWhere () at an abstract level to return new - inheritanceExtJS - Dynamically Format GridPanel Rows? - extjsWhat is the correct syntax for using MethodInvoker? - c #All Articles