﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Discuss Content Posted by Andy Warren / Article Discussions / Article Discussions by Author  / Using OpenDataSource - SQL School Video / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 19 Jun 2013 12:32:05 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Using OpenDataSource - SQL School Video</title><link>http://www.sqlservercentral.com/Forums/Topic692618-29-1.aspx</link><description>Hi Andy,I've got this error while trying to OPENDATASOURCE:"Msg 7403, Level 16, State 1, Line 1The OLE DB provider "Microsoft.Jet.OLEDB.4.0" has not been registered."Where do I register it?Thanks</description><pubDate>Thu, 15 Oct 2009 15:08:38 GMT</pubDate><dc:creator>nroudak</dc:creator></item><item><title>RE: Using OpenDataSource - SQL School Video</title><link>http://www.sqlservercentral.com/Forums/Topic692618-29-1.aspx</link><description>Hi Andy,Did you eventually get the answer to your question?  I am looking to do something very similar and would really appreciate some tips if you got yours working.Thank you,Melissa</description><pubDate>Mon, 08 Jun 2009 10:42:35 GMT</pubDate><dc:creator>etudiante</dc:creator></item><item><title>RE: Using OpenDataSource - SQL School Video</title><link>http://www.sqlservercentral.com/Forums/Topic692618-29-1.aspx</link><description>Good video (apart from the blurriness), thanks.But it would be useful for this and all other videos if you could make the code available (apologies if it is and I've missed it).</description><pubDate>Wed, 15 Apr 2009 02:20:45 GMT</pubDate><dc:creator>SQLSimon</dc:creator></item><item><title>RE: Using OpenDataSource - SQL School Video</title><link>http://www.sqlservercentral.com/Forums/Topic692618-29-1.aspx</link><description>Nice Video,Informative however the video was not that clear. Images were a bit hazzy. Should have previewed before he posted it.</description><pubDate>Thu, 09 Apr 2009 14:00:53 GMT</pubDate><dc:creator>sherif.hamawy</dc:creator></item><item><title>RE: Using OpenDataSource - SQL School Video</title><link>http://www.sqlservercentral.com/Forums/Topic692618-29-1.aspx</link><description>Nice video!  I had a follow on question regarding using OpenDataSource to load a text file in CSV format, like this:[code]SELECT * INTO dbo.stage_text_data FROM    OPENDATASOURCE('Microsoft.Jet.OLEDB.4.0',         'Data Source = C:\;         Extended Properties = "Text;HDR=NO;"')...test#csv[/code]I am trying to load the contents of a text file into a SQL Server staging table so that I can perform some data validation on it.  I am using the syntax above to create this stage table.In cases where the source CSV/text file is somehow invalid, like mismatched number of columns on each row, the statement above will still import it, simply creating the number of columns needed to equal to the max number of columns from the file.   I would like to be able to do some validation on this file before it is even imported, because if each row does not have the same number of columns, then I don't want to continue processing.  Example invalid file, in which there are only supposed to be 3 columns: first name, last name, phone number:[code]Andy,Smith,888-555-1234Joe,Jones,999-555-4321,222-444-9898[/code]You can see that the 2nd row has 4 columns, and I would like to simply fail importing the entire file.  I have tried researching ways to accomplish validating this, but have not come up with anything.Regards,Andy T.</description><pubDate>Thu, 09 Apr 2009 11:21:25 GMT</pubDate><dc:creator>Andy Torgerson</dc:creator></item><item><title>RE: Using OpenDataSource - SQL School Video</title><link>http://www.sqlservercentral.com/Forums/Topic692618-29-1.aspx</link><description>Hi Andy,I love this short video training.  Gets right to the point and shows you how to do something.  I heard you mention a video on linked servers, where is that located?Have a God One,SQL BatmanMy email is bedgar@aeshr.com</description><pubDate>Thu, 09 Apr 2009 07:47:39 GMT</pubDate><dc:creator>bedgar</dc:creator></item><item><title>RE: Using OpenDataSource - SQL School Video</title><link>http://www.sqlservercentral.com/Forums/Topic692618-29-1.aspx</link><description>Good video.</description><pubDate>Thu, 09 Apr 2009 06:30:10 GMT</pubDate><dc:creator>wadhwa.harish</dc:creator></item><item><title>Using OpenDataSource - SQL School Video</title><link>http://www.sqlservercentral.com/Forums/Topic692618-29-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/articles/Video/66412/"&gt;Using OpenDataSource - SQL School Video&lt;/A&gt;[/B]</description><pubDate>Tue, 07 Apr 2009 16:50:16 GMT</pubDate><dc:creator>Andy Warren</dc:creator></item></channel></rss>