4D v19EXTRACT | 
            ||||||||||||||
                 
                
  | 
                
			
                    
                         
    4D v19
 
EXTRACT 
                                
                                
        
 | 
                |||||||||||||
| 
                     | 
		||
The EXTRACT function returns the specified part which it extracts from the arithmetic_expression. The arithmetic_expression passed should be of the Timestamp type.
This example returns all the invoice numbers from the month of January:
SELECT INVOICE_NO
FROM INVOICES
WHERE EXTRACT(MONTH(INVOICE_DATE)) = 1;
	Produkt: 4D
	Thema: Functions
	
        
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	4D -  SQL Reference ( 4D v19)
	
	
Fehler melden