I think you might be thinking of Norway on the oil part. Denmark produces some oil, but not a particularly large amount, and almost entirely in the past 10 years. Tax/royalty revenues to the state now amount to about 3% of the state budget, which is a nice cushion, but not really the main source of funds.