| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| hitlerbros Beginner
 
 
 Joined: 29 Sep 2004
 Posts: 3
 Topics: 2
 
 
 | 
			
				|  Posted: Wed Oct 06, 2004 12:38 am    Post subject: Column data displaying Value even though it is null. |   |  
				| 
 |  
				| I have inserted a row in a table with one field as null. But when I checked  the table through FILE-AID/DB2 ,the null is showing a value 16448. But while retrieving field value is null itself. Please let me know how to show this blank while viewing through FILE-AID/DB2 . |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| kolusu Site Admin
 
  
 
 Joined: 26 Nov 2002
 Posts: 12394
 Topics: 75
 Location: San Jose
 
 | 
			
				|  Posted: Wed Oct 06, 2004 6:59 am    Post subject: |   |  
				| 
 |  
				| hitlerbros, 
 Did you try retrieving the same column in spufi and see if it returning the same result?
 
 Kolusu
 _________________
 Kolusu
 www.linkedin.com/in/kolusu
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| hitlerbros Beginner
 
 
 Joined: 29 Sep 2004
 Posts: 3
 Topics: 2
 
 
 | 
			
				|  Posted: Wed Oct 06, 2004 8:25 am    Post subject: |   |  
				| 
 |  
				| No, It is not whowing the value in SPUFI OUT. But the query I am having is there anyway I can show blank using FILE-AID/DB2. |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| kolusu Site Admin
 
  
 
 Joined: 26 Nov 2002
 Posts: 12394
 Topics: 75
 Location: San Jose
 
 | 
			
				|  Posted: Wed Oct 06, 2004 8:53 am    Post subject: |   |  
				| 
 |  
				| hitlerbros, 
 You can try using a COALESCE or VALUE fucntions to put a space in the null column
 
 
  	  | Code: |  	  | SELECT COALESCE(COL1,' ')
 FROM TABLE
 ;
 
 | 
 
 OR
 
 
  	  | Code: |  	  | SELECT VALUE(COL1,' ')
 FROM TABLE
 ;
 
 | 
 
 Hope this helps...
 
 Cheers
 
 kolusu
 _________________
 Kolusu
 www.linkedin.com/in/kolusu
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  | 
	
		|  |