i have the following database 2 tables with PK_Hash_ID in md5 table and FK_Hash_ID in Files table.
Lets say for example I need to insert new record,
first I have to check if its MD5 exists in MD5 table, if not add it to the MD5 table and Files table,
however if its already there on MD5 just take that Hash_ID and insert
it into files with some other values taken from the Parameters such File_name, Parent_Path, DataType,etc
Consider that the solution must be a Stored Procedure, That takes parameters
