3 ms·
Is Python/DataNitro really "One of the easiest ways to connect Excel to a database"? I can go to the Data tab, click on the ribbon item "From other sources:Fro
by sokoloff 14y ago
Is Python/DataNitro really "One of the easiest ways to connect Excel to a database"?
I can go to the Data tab, click on the ribbon item "From other sources:From SQL server" or "From other sources:From Microsoft Query" in far less time than it takes me to read this blog post.
Am I missing something? (other the possibility for SQL injection attacks by users of that spreadsheet)
- Someone 14y agoAlso, one do it the other way around: use SQL queries to read (and update!) Excel files. For examples, see http://support.microsoft.com/kb/306397 http://support.microsoft.com/kb/306397 and http://sqlserverpedia.com/wiki/Access_Excel_Sheets_as_a_Table_in_SQL_Server http://sqlserverpedia.com/wiki/Access_Excel_Sheets_as_a_Tabl...
- WayneDB 14y agoI think an even easier way is to use .NET/Mono with the open source library called EPPlus which lets you read and write Excel 2007 (Office Open XML/xlsx) files. http://epplus.codeplex.com/ http://epplus.codeplex.com/
- gizzlon 14y agoCan you use it with arbitrary sql (non MS) servers on other hosts?
- sokoloff 14y agoYes, the latter is an ODBC option, which gives you arbitrary connectivity.