hi there is a JDBC forum here. you will probably get more answers there. show us what you have got so far, what your ideas are and there is surely someone who will try and help you out.
to begin with: there should not be a big difference whether you work with MS SQL server, MySQL or DB2 with JDBC. After you loaded the correct JDBC driver (yours should come with your DB or be available at microsoft webpage) and set your DB specific parameters you work with the Connection, ResultSet, PreparedStatement and Statement Objects wich are DB neutral. so you could first have a look at a JDBC tutorial and then try to figure out how to get your driver loaded.