Dan 1:17 As for these four young men, God gave them knowledge and skill in all literature and wisdom; and Daniel had understanding in all visions and dreams.
In Daniel 1:17 God is said to have taught Shadrach, Meshach, and Abed-Nego (Hananiah, Mishael, and Azariah) “all literature and wisdom”. Similar language, if applied to God, would definitely be taken as a prooftext for omniscience.
But this is hyperbolic language. In verse 4, the youths are said to be skilled in all wisdom, which is then augmented in verse 17 after God seeks to establish them. The meaning is general. These youths were intelligent and capable by the power and training of God. The hyperbolic language is not meant to be taken as an absolutely and definitely not as a claim for omniscience.