For some assistance, you could check out the Public Domain project a friend of mine made:
www.codeplex.com/publicdomain.
Along with tons of other useful utilities, look into the Data.SQLHelper.GenerateCreateTablesQuery(DataTable[] tables)
. Just use SQL for the database type.