Tests for blobs

This commit is contained in:
Colin Dellow 2018-03-16 23:53:08 -04:00
parent 01e8ffaba7
commit 753a490687
13 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,2 @@
SELECT COUNT(*) FROM no_nulls2 WHERE binary_10 = X'10'
1

View File

@ -0,0 +1,2 @@
SELECT COUNT(*) FROM no_nulls2 WHERE binary_10 < X'10'
16

View File

@ -0,0 +1,2 @@
SELECT COUNT(*) FROM no_nulls2 WHERE binary_10 <= X'10'
17

View File

@ -0,0 +1,2 @@
SELECT COUNT(*) FROM no_nulls2 WHERE binary_10 > X''
99

View File

@ -0,0 +1,2 @@
SELECT COUNT(*) FROM no_nulls2 WHERE binary_10 >= X'01'
98

View File

@ -0,0 +1,2 @@
SELECT COUNT(*) FROM no_nulls2 WHERE binary_10 <> X'10'
98

View File

@ -0,0 +1,2 @@
SELECT COUNT(*) FROM nulls WHERE binary_9 = X'020202'
1

View File

@ -0,0 +1,2 @@
SELECT COUNT(*) FROM no_nulls2 WHERE binary_9 < X'020202'
2

View File

@ -0,0 +1,2 @@
SELECT COUNT(*) FROM nulls WHERE binary_9 <= X'0101'
2

View File

@ -0,0 +1,2 @@
SELECT COUNT(*) FROM nulls WHERE binary_9 > X''
50

View File

@ -0,0 +1,2 @@
SELECT COUNT(*) FROM nulls WHERE binary_9 >= X'62626262'
1

View File

@ -0,0 +1,2 @@
SELECT COUNT(*) FROM nulls WHERE binary_9 <> X'62626262'
49

View File

@ -0,0 +1,2 @@
SELECT COUNT(*) FROM nulls WHERE binary_9 <= X'01'
1