<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>A Little Bit Scripting Saves the Day</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2007/03/06/a-little-scripting-saves-the-day.aspx</link><description>Recently, I got sucked into importing Excel sheets into a database. I had thought, well that's easy with a tool such as SQL Server 2000 DTS Import/Export Wizard or SQL Server 2005 Import/Export Wizard. Needless to say, the Excel import business ran into</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>re: A Little Bit Scripting Saves the Day</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2007/03/06/a-little-scripting-saves-the-day.aspx#955</link><pubDate>Thu, 08 Mar 2007 22:23:12 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:955</guid><dc:creator>Stephen Moore</dc:creator><description>&lt;p&gt;The approach that I've always used for this is to create an Excel formula that builds an INSERT statement based off of the data in the spreadsheet. &amp;nbsp;Then just copy the formula results to the clipboard and paste them into SSMS or Query Analyzer and run them. &amp;nbsp;It sometimes takes a few iterations to make sure I have the formula bugs worked out, but it's the quick and dirty preference for me.&lt;/p&gt;
</description></item><item><title>re: A Little Bit Scripting Saves the Day</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2007/03/06/a-little-scripting-saves-the-day.aspx#957</link><pubDate>Fri, 09 Mar 2007 13:55:12 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:957</guid><dc:creator>Linchi Shea</dc:creator><description>&lt;p&gt;Interesting! Does this work well with arbitrarily long cell contents for a text colum? I'm no Excel expert, but I guess you could use Excel formula to easily find the lengths of all the cells, right?&lt;/p&gt;
</description></item><item><title>re: A Little Bit Scripting Saves the Day</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2007/03/06/a-little-scripting-saves-the-day.aspx#1146</link><pubDate>Mon, 16 Apr 2007 15:24:17 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:1146</guid><dc:creator>Ranga </dc:creator><description>&lt;p&gt;I have used linked server to query excel sheets.....it works!&lt;/p&gt;
</description></item></channel></rss>