| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| zefrim Beginner
 
 
 Joined: 29 Jun 2006
 Posts: 22
 Topics: 19
 
 
 | 
			
				|  Posted: Tue May 27, 2008 2:09 am    Post subject: DB2 Z-OS  / SQL-Question |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| kolusu Site Admin
 
  
 
 Joined: 26 Nov 2002
 Posts: 12394
 Topics: 75
 Location: San Jose
 
 | 
			
				|  Posted: Thu May 29, 2008 12:01 pm    Post subject: |   |  
				| 
 |  
				| zefrim, 
 try this
 
 
  	  | Code: |  	  | SELECT TBNAME AS TABLE_NAME
 ,NAME   AS COLUMN_NAME
 FROM SYSIBM.SYSCOLUMNS
 WHERE COLTYPE  = 'CLOB'
 ;
 | 
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  | 
	
		|  |