[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: [sqr-users] Clob, sqr and sql variables
- Subject: Re: [sqr-users] Clob, sqr and sql variables
- From: "George Jansen" <GJANSEN@aflcio.org>
- Date: Tue, 01 Feb 2005 08:08:57 -0500
- Delivery-date: Tue, 01 Feb 2005 08:11:21 -0500
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
CLOBs allow you to check their NULL/NOT NULL status without the need for
PL/SQL:
SQL> create table whizbang (a number, b clob);
Table created.
SQL> insert into whizbang (a) values (1);
1 row created.
SQL> /
1 row created.
SQL> /
1 row created.
SQL> select count(*) from whizbang where b is null;
COUNT(*)
----------
3
SQL> c/null/not null
1* select count(*) from whizbang where b is not null
SQL> /
COUNT(*)
----------
0
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users