I don't want to just code it for you. I will give you a step by step what you need to do. Also, you're answer is cut off. According to the tag it says C#. So I am going to give relevant C# stack overflow links.
Get the PDF's How to read an entire file to a string using C#?
Run the PDF's through a base64 converter. https://stackoverflow.com/a/25919641/24903843
Insert the data into an sql database SQL Insert Query Using C# This assumes that you know the basics of sql if you don't then read w3schools
Best of luck. In order to solve this problem you just have to break it down into steps and solve each one, one by one.