v3.26.3
BORROWINGS AND INDEBTEDNESS - Schedule of Outstanding Debt (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Current portion of long-term debt and bank borrowings    
Commercial paper $ 99,710 $ 99,963
Other 13,359 14,521
Total current portion of long-term debt and bank borrowings 113,069 114,484
Long-term debt    
Other 54,408 66,943
Long-term debt 9,998,689 5,034,169
Commercial paper, excluding unamortized discounts 100,000 100,000
Commercial Paper    
Long-term debt    
Unamortized discounts $ 290 $ 37
Weighted average effective interest rate 3.80% 4.50%
Senior Notes    
Long-term debt    
Total principal amount $ 10,000,000 $ 5,000,000
Less: unamortized debt discount and issuance costs (55,719) (32,774)
Total carrying amount 9,944,281 4,967,226
Senior Notes | Level 2    
Long-term debt    
Fair value of senior notes $ 9,800,000  
Senior Notes | 3.90% due 2027    
Long-term debt    
Stated interest rate 3.90%  
Total principal amount $ 1,100,000 1,100,000
Senior Notes | 4.05% due 2029    
Long-term debt    
Stated interest rate 4.05%  
Total principal amount $ 1,200,000 1,200,000
Senior Notes | 4.25% due 2031    
Long-term debt    
Stated interest rate 4.25%  
Total principal amount $ 1,200,000 1,200,000
Senior Notes | 4.50% due 2034    
Long-term debt    
Stated interest rate 4.50%  
Total principal amount $ 1,500,000 1,500,000
Senior Notes | Floating due 2029    
Long-term debt    
Total principal amount $ 300,000 0
Basis spread on variable rate 0.70%  
Senior Notes | 4.75% due 2029    
Long-term debt    
Stated interest rate 4.75%  
Total principal amount $ 1,000,000 0
Senior Notes | 5.00% due 2031    
Long-term debt    
Stated interest rate 5.00%  
Total principal amount $ 1,500,000 0
Senior Notes | 5.30% due 2033    
Long-term debt    
Stated interest rate 5.30%  
Total principal amount $ 1,100,000 0
Senior Notes | 5.60% due 2036    
Long-term debt    
Stated interest rate 5.60%  
Total principal amount $ 1,100,000 $ 0