Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Comparing two decimal values in 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 @num1 DECIMAL = 1.98 DECLARE @num2 DECIMAL = 2.2 IF (@num1 != @num2) SELECT 0 ELSE IF (@num1 = @num2) SELECT 1
View schema
Execution time: 0 sec, rows selected: 3, rows affected: 0, absolute service time: 0,14 sec
edit mode
|
history
(No column name)
1
1