Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Friday, September 7, 2012 2:06 PM
Hi,
I want to migrate a SharePoint list data to a a table in SQL server 2008.
can any one guide in doing so or is there any sample available for the same?
Thanks,
reddy
All replies (2)
Friday, September 7, 2012 2:23 PM
Hi Reddy,
it depends on how big you list is
if you have few items i would suggest using data sheet view to copy the items or open with access and then copy the items
if its too big you can try using ssis
you can use sharepoint webservices to acess data
http://msdn.microsoft.com/en-us/library/hh430809.aspx
Friday, September 7, 2012 2:31 PM
First, create your database in SQL Management Studio with all the columns you want. From there you'll want to export your SharePoint list to Excel. I would recommend saving as a csv but if you want to keep it as Excel be sure to save as the older .xls format. Then go back to SQL Server Mgmt Studio. Connect to the desired database, right click then choose Tasks > Import Data. Choose data source: flat file for .csv or Excel for .xls. Just follow the prompts from there and you should get your data into SQL.