Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Tech-Recipes.com - NULLIF Function - SQL Server
Language:
Ada
Assembly
Bash
C#
C++ (gcc)
C++ (clang)
C++ (vc++)
C (gcc)
C (clang)
C (vc)
Client Side
Clojure
Common Lisp
D
Elixir
Erlang
F#
Fortran
Go
Haskell
Java
Javascript
Kotlin
Lua
MySql
Node.js
Ocaml
Octave
Objective-C
Oracle
Pascal
Perl
Php
PostgreSQL
Prolog
Python
Python 3
R
Rust
Ruby
Scala
Scheme
Sql Server
Swift
Tcl
Visual Basic
Layout:
Vertical
Horizontal
DECLARE @MyString1 as VARCHAR(20) = 'Tech-recipes.com' ,@MyString2 as VARCHAR(20) = 'Tech-recipes.com'; SELECT NULLIF(@MyString1, @MyString2) as NULLIF_Example;
View schema
Execution time: 0 sec, rows selected: 2, rows affected: 0, absolute service time: 0,16 sec
edit mode
|
history
NULLIF_Example
1
NULL