Friday, December 26, 2014

using case function with insert


thanks erland, I am not generating the insert from another code, and i know i could have hard coded it directly by using senior or junior, but i was in the middle of writing a code, and decided to just manipulate the data and it wasnt working.



Generally, code does not work when you make up your syntax. If you are talking to a human, you can invent some new word, some new grammar or whatever, and that person may still understand you.


Computers do not work that way.





Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

No comments:

Post a Comment