One way to approach this is to create a Web Script (search the Alfresco wiki) to create a form. Submitting the form would then invoke an action to do the storing. If the MS SQL Server had Web Services implemented, you could invoke those web services. Alternatively, you could create a Java-backed web script that used JDBC to connect to the database and perform the save.