You haven't provided enough information for us to be able to give you any help.
What database - SAS or non-SAS? How do you want to 'connect' the database in EG - through metadata library definitions, through your own LIBNAME statements, through SQL Passthru....
Ready to join fellow brilliant minds for the SAS Hackathon?
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.