SharePoint - Importing other metadata describing a PDF document from SQL

I have patient charts scanned as PDF files that have a SQL Primary Key used as the file name excepting the '.pdf' extension.  I intend to load the PDF files into a MS SharePoint document library that I have created. I have defined other special metadata columns for this library such as
"Last Name"
"First Name"
"Date Of Birth"
etc etc...
This information exists in a SQL table. My hope is to import this data into the document library and populate the correct metadata fields - but how is this done? If this were ASP.NET and I was using a grid I would try to use a JOIN query.  Can anyone suggest the best approach ?
Would I have to use a third party control or maybe a bit of code in SPD?  
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

assuming you are using code to upload the files, you could upload the file, retrieve the metadata from the SQL Server database, and then set the properties of the file that you uploaded in the document library (This can probably actually be done in a single step - ie upload with properties, however I can't recall the specific methods at the moment).

If I was to approach this, first I would create the document library with the appropriate columns.
I would probably look at writing a .net console app, and use the Sharepoint web services to upload the file, and set the metadata of the file.

Check out:

There are plenty of other pages with more info as well.

If you didn't want to use the web services, you can also use the object model, however this will require that you deploy the application to the sharepoint web server so that the appropriate libraries are available.

Hope this helps.
bcombeAuthor Commented:
Hi Arduk - I apologize for delay in reverting back. I looked at the article and and it looks do-able with some tweaking - have you implemented anything like this yourself ? Some of the CAML is still mysterious to me.
Yes - I have used it - I based my code on this article - you don't need to know too much CAML - just set it up like in the article, using your field names rather than the field names in the articles - you don't have to understand too much - just make sure it works on a test doc lib before doing the real thing ;)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bcombeAuthor Commented:
Thanks Arduk - I got waist deep in the guidence you provided but started using the Bamboo tool for this as I ran out of time and had to have a dummy proof method for end users.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SharePoint

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.