MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DB2 Z-OS / SQL-Question

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
zefrim
Beginner


Joined: 29 Jun 2006
Posts: 22
Topics: 19

PostPosted: Tue May 27, 2008 2:09 am    Post subject: DB2 Z-OS / SQL-Question Reply with quote

Hi

Maybe someone can help me:

I would like an SQL evaluation on the sysibm.systables
and determine whether a table contains CLOB fields or not
all in a single SQL.



Maybe someone can give me a tip.

Thank you

Zefrim
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12380
Topics: 75
Location: San Jose

PostPosted: Thu May 29, 2008 12:01 pm    Post subject: Reply with quote

zefrim,

try this

Code:

SELECT TBNAME AS TABLE_NAME   
      ,NAME   AS COLUMN_NAME   
  FROM SYSIBM.SYSCOLUMNS       
WHERE COLTYPE  = 'CLOB'       
;
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group