"'I thank and praise you, O God of my fathers: You have given me wisdom and power, you have made known to me what we asked of you, you have made known to us the dream of the king.'" NIV translation
Daniel is specific in his prayer as he has been given the dream of the king as well as its interpretation. God has done what no man could do and so He will be glorified.
"Then Daniel went to Arioch, whom the king had appointed to execute the wise men of Babylon, and said to him, 'Do not execute the wise men of Babylon. Take me to the king, and I will interpret his dream for him.' Arioch took Daniel to the king at once and said, 'I have found a man among the exiles from Judah who can tell the king what his dream means.'" NIV translation
Once again, we see the favor of God at work in the life of Daniel. When he went to the man that was put in charge of the execution, the man could have simply ignored him and carried out the orders of the king but he did not. Instead of death, Daniel gets a meeting with the king. That is also a picture of what Jesus has done for us in that He rescued us from death and allows us to meet with God anytime that we want.
"The king asked Daniel (also called Belteshazzar), 'Are you able to tell me what I saw in my dream and interpret it?' Daniel replied, 'No wise man, enchanter, magician or diviner can explain to the king the mystery he has asked about, but there is a God in heaven who reveals mysteries.'" NIV translation
Daniel appears before the king and, when asked if he could fulfill the king's request, replies that he cannot but he knows who can. When many lesser men would proudly say that they can, Daniel remained humble and informed the king that God was able. He had the opportunity to tell the king about the power of God and he did so but there are many today who do not acknowledge the fact that their gifts and talents are from God. The result of this pride is the failure to tell others about the power of Jesus Christ and the fact that they can have the same type of power through Him.
"He has shown King Nebuchadnezzar what will happen in days to come. Your dream and the visions that passed through your mind as you lay on your bed are these: 'As you were lying there, O king, your mind turned to things to come, and the revealer of mysteries showed you what is going to happen. As for me, this mystery has been revealed to me, not because I have greater wisdom than other living men, but so that you, O king, may know the interpretation and that you may understand what went through your mind.'" NIV translation
Daniel explains to the king that his visions were a revelation of future events. He was quick to explain that the interpretation was only from God and because of His grace and nothing of Daniel. He explains that God wants the king to understand what is to come and why. That is much the same with us today with God's word in Revelation. Many do not study it out of fear while others say that we cannot understand it. Just like King Nebuchadnezzar, God wants us to understand what is to come and so He gives us the ability to read and know what it says.