| Problem with Oracle Keyword [message #335434] | 
			Tue, 22 July 2008 03:23   | 
		 
		
			
				
				
				
					
						
						zrelli
						 Messages: 2 Registered: July 2008 
						
					 | 
					Junior Member  | 
					 | 
		 
		 
	 | 
 
	
		Hello 
 
I have a table called INT. I created a procedure for récuprer stored data. I use this line statement: 
 
SUBTYPE INT_CODITF_U IS INT.CODITF%TYPE  
 
 
I'm trying to do the compilation, but it displays an error message:  
 
PLS-00487: Reference variable 'INT' Invalid 
 
 
Thanks
		
		
		
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	
		
		
			| Re: Problem with Oracle Keyword [message #335460 is a reply to message #335441] | 
			Tue, 22 July 2008 04:25    | 
		 
		
			
				
				
				
					
						
						Frank
						 Messages: 7901 Registered: March 2000 
						
					 | 
					Senior Member  | 
					 | 
		 
		 
	 | 
 
	
		| zrelli wrote on Tue, 22 July 2008 10:44 |  But the problem that the customer who gives names to the tables, not us. 
  |  
  
It is your job to tell your customer that they cannot/should not use such names. You are supposed to be the one having the technical insight. 
		
		
		
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	
		
		
			| Re: Problem with Oracle Keyword [message #335467 is a reply to message #335466] | 
			Tue, 22 July 2008 04:41    | 
		 
		
			
				
				
				
					
						
						Frank
						 Messages: 7901 Registered: March 2000 
						
					 | 
					Senior Member  | 
					 | 
		 
		 
	 | 
 
	
		Sorry to say so, but I think that's why he is a kindergarten teacher. 
Why would you add a random text to an object-name? (considering an extra number as text) You should always use meaningful names. INT01 instead of INT is NOT meaningful. It suggests that the 01 has a meaning. 
 
[Edit: note that I did not mean to offend any kindergarten teacher; I did not mean to imply that being a kindergarten teacher is in any way less than being a data-modeller.]
		
		
		[Updated on: Tue, 22 July 2008 04:46] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 |