just writing a tool (c# .Net 4) to convert an existing Access 2010 database to SQL Server 2008.
At the moment i have to convert the data types and build the “create” commands for table and the constraints manually.
So whats the fastest way to get the schema from Access with the DataAdapter and create a table from the DataTable at the SQL Server with all the constratins and converted typs ?
OleDbDataAdapter da = new OleDbDataAdapter(accCmd);
DataTable accSchema = new DataTable();
da.FillSchema(accSchema, SchemaType.Source);
//now create db table at sql server from accSchema
Thanks for your help.
Gpx
I have used this in the past when upsizing my access applications and it did a good job
Microsoft SQL Server Migration Assistant for Access v5.2