Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

LocalDB Export to Excel

I have collected a bunch of data using my locally developed website. Now I need to analyze the data, but it seems like I cannot locate the .mdf file for the LocalDB database my website uses.

Looking at the data connection, it says myusername\localdb#abunchofnonsense.mydomainname.Models.UserDBContext.dbo. And the the connection string is data source=(localdb)\v11.0; initial catalog=mydomain.models.userdbcontext; integrated security=true.

Also, I'm using ASP.NET MVC, Visual Studio 2013, and Entity Framework if it helps.

It's probably quite confusing what I'm trying to do here. I collected some data and need to run logistic regression with it. Now the question is how can I connect Excel to this LocalDB so I can export the data I have collected?

like image 495
TitanTheYaphet Avatar asked Mar 21 '23 04:03

TitanTheYaphet


1 Answers

You can import your LocalDB tables and data directly into Excel by the option Get External Data > From Other Sources under the Data tab in Microsoft Excel (2013 to be precise) - as the following screenshot shows:

*Get External Data > From Other Sources in Excel 2013

like image 114
Aunn Raza Avatar answered Mar 31 '23 07:03

Aunn Raza