<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlserver.ro/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>T-SQL</title><link>http://sqlserver.ro/forums/15/ShowForum.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Re: Update tabela din fisier csv</title><link>http://sqlserver.ro/forums/thread/7985.aspx</link><pubDate>Tue, 19 Jan 2010 12:11:18 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:7985</guid><dc:creator>rsocol</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/7985.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=7985</wfw:commentRss><description>Eu mă refeream la ceva de genul:&lt;br /&gt;&lt;br /&gt;SELECT * FROM OPENROWSET(BULK 'c:\test.csv', FORMATFILE = 'c:\test.fmt') AS a;&lt;br /&gt;&lt;br /&gt;Răzvan</description></item><item><title>Re: Update tabela din fisier csv</title><link>http://sqlserver.ro/forums/thread/7984.aspx</link><pubDate>Tue, 19 Jan 2010 12:06:25 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:7984</guid><dc:creator>Diana</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/7984.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=7984</wfw:commentRss><description>Poti sa si importi csv-ul intr-un tabel si apoi sa folosesti UPDATE / MERGE. In functie de "datele problemei", procedura se poate si automatiza.</description></item><item><title>Re: Update tabela din fisier csv</title><link>http://sqlserver.ro/forums/thread/7983.aspx</link><pubDate>Tue, 19 Jan 2010 11:55:44 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:7983</guid><dc:creator>ssandu</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/7983.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=7983</wfw:commentRss><description>Acum ma chinui doar sa fac un select si nu vrea&lt;br /&gt;Am 2 variante&lt;br /&gt;SELECT * FROM OPENROWSET('MICROSOFT.JET.OLEDB.4.0', &lt;br /&gt;'Text;Database=D:\;', &lt;br /&gt;'SELECT * FROM ajutor.csv')&lt;br /&gt;AS source&lt;br /&gt;si&lt;br /&gt;SELECT * FROM OPENROWSET('MSDASQL', 'Driver={Microsoft Text Driver (*.txt; *.csv)}; DefaultDir=D:\;', &lt;br /&gt;'select * from ajutor.csv') AS source&lt;br /&gt;&lt;br /&gt;Ambele dau eroare&lt;br /&gt;.... could not find the object 'ajutor.csv'.  Make sure the object exists and that you spell its name and the path name correctly."&lt;br /&gt;desi fisierul e acolo.</description></item><item><title>Re: Update tabela din fisier csv</title><link>http://sqlserver.ro/forums/thread/7982.aspx</link><pubDate>Tue, 19 Jan 2010 11:13:56 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:7982</guid><dc:creator>rsocol</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/7982.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=7982</wfw:commentRss><description>Dacă foloseşti SQL Server 2005 (sau ulterior), poţi să citeşti datele dintr-un fişier CSV cu &lt;a href="http://msdn.microsoft.com/en-us/library/ms190312.aspx"&gt;OPENROWSET&lt;/a&gt;. Singura chestie este că &amp;#238;ţi trebuie un &lt;a href="http://msdn.microsoft.com/en-us/library/ms178129.aspx"&gt;format file&lt;/a&gt;, pe care poţi să-l faci &lt;a href="http://msdn.microsoft.com/en-us/library/ms191516.aspx"&gt;de m&amp;#226;nă sau cu BCP-ul&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Răzvan</description></item><item><title>Update tabela din fisier csv</title><link>http://sqlserver.ro/forums/thread/7981.aspx</link><pubDate>Tue, 19 Jan 2010 10:33:18 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:7981</guid><dc:creator>ssandu</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/7981.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=7981</wfw:commentRss><description>Cum pot face update la o tabela dintr-un fisier csv folosind TSQL ?&lt;br&gt;</description></item></channel></rss>