News for hackers. Stuff that matters.
Re:Excel and SQL by sokoloff on Thursday May 23, 2013 @06:36PM (#5759980)
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)

Re:Excel and SQL by Someone on Thursday May 23, 2013 @07:15PM (#5760177)
Also, 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 and http://sqlserverpedia.com/wiki/Access_Excel_Sheets_as_a_Tabl...
Re:Excel and SQL by gizzlon on Friday May 24, 2013 @04:31AM (#5761797)
Can you use it with arbitrary sql (non MS) servers on other hosts?
Re:Excel and SQL by sokoloff on Friday May 24, 2013 @10:34AM (#5763017)
Yes, the latter is an ODBC option, which gives you arbitrary connectivity.
Re:Excel and SQL by WayneDB on Thursday May 23, 2013 @08:47PM (#5760565)
I 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/