I am going to create own File based database system.(In this we use flat .txt files to store our data.)
Please tell me how can I verify my query in java against the sysntax. Currently I am thinking to use regular expression for queries to be verified but its is too hard to write the regular expression for all queries. Please tell me another way to do this or provide me the regular expression for queries if its possible.