With every passing day, huge number of information is exchanged, gathered over the electronics mean. This needs to aware users about their database security and how to handle it. Though, this is a more complex process for large organizations having massive amount of data in the warehouses, legacy systems, flat files, etc. This paper has proposed new method of protecting database using dynamic certificates for each query sent to the database. This dynamically generated encrypted query is more secure than the original query. Also, we have developed a very own Database Management System to test our security mechanism.