Created
March 4, 2013 19:37
-
-
Save vandershraaf/5084830 to your computer and use it in GitHub Desktop.
WHAT THE NULL??
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In Java: | |
String test = "lala " + null; | |
System.out.println(test); | |
--> lala null | |
In Transact-SQL: | |
-- Let's assume @input is null | |
DECLARE @input VARCHAR(MAX); | |
PRINT 'lala ' + @input; | |
--> | |
[Nothing is output in SQL "==] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment