Why does this operator return 0 instead of an empty string? I actually use a view that selects an operator in contact with hardcoded column return NULL. Although I am trying to check if its NULL, it actually returns 0.
SELECT ISNULL((SELECT NULL as Col), '')
Any suggestion or help would be appreciated ...
snapshot
NULL , SELECT NULL int. , int char(N), int, char(N) int, . , '' int - , - 0.
NULL
SELECT NULL
int
char(N)
''
0
SELECT ISNULL((SELECT CAST(NULL AS char(1)) AS col), '') .
SELECT ISNULL((SELECT CAST(NULL AS char(1)) AS col), '')
Source: https://habr.com/ru/post/1611898/More articles:UIStackView - перетащить, чтобы изменить порядок уложенных объектов? - ioshow to pass data attribute in modal - javascriptForce CMake use full library path - linuxHow to "check" listing? - javagit error: unable to initialize work tree - gitProblems executing gradle bintrayUpload - androidGet Bluetooth MAC Address on iPhone - c ++Running Python code in Markdown - pythonHow to call JS function with new js package (0.6.0) - dartHow to prevent flag animation after setting value - androidAll Articles