Unix Technical Forum

Re: count data length

This is a discussion on Re: count data length within the DB2 forums, part of the Database Server Software category; --> SELECT COUNT(*) FROM TableA WHERE RTRIM(LENGTH(cola)) IN (13, 14);...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 05:14 AM
Tonkuma
 
Posts: n/a
Default Re: count data length

SELECT COUNT(*)
FROM TableA
WHERE RTRIM(LENGTH(cola)) IN (13, 14);

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 05:14 AM
Tonkuma
 
Posts: n/a
Default Re: count data length

I'm sorry. Last post will not work.
Correction:
SELECT COUNT(*)
FROM TableA
WHERE LENGTH(RTRIM(cola)) IN (13, 14);

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:06 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com