<?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: BCP - export in diferite formate de encoding</title><link>http://sqlserver.ro/forums/thread/4388.aspx</link><pubDate>Mon, 17 Mar 2008 11:39:59 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:4388</guid><dc:creator>ggciubuc</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/4388.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=4388</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://sqlserver.ro/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;B0g:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;
&lt;P&gt;Daca as apela la optiunea save as... ar fi o operatiune in plus pe linga exportul din BCP. Plus ca sa deschizi un fisier cu vro 5.000.000 rowuri si sa'l salvez din nou e un proces destul de consumator.&lt;/P&gt;
&lt;P&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/P&gt;
&lt;P&gt;Desigur ca aceasta varianta este utilizabila la cantitati mici de date , altfel solutia SSIS este de studiat daca e vorba de operatiuni periodice de acest gen.&lt;/P&gt;</description></item><item><title>Re: BCP - export in diferite formate de encoding</title><link>http://sqlserver.ro/forums/thread/4387.aspx</link><pubDate>Mon, 17 Mar 2008 09:03:10 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:4387</guid><dc:creator>ignatandrei</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/4387.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=4387</wfw:commentRss><description>O gaselnitza ca a lui&amp;nbsp; ggciubuc , vazuta de un programator :&lt;br&gt;Salvezi fisierul in ce encoding poti, dupa care, cu o aplicatie .NET care monitorizeaza folder-ul respectiv pt. creearea de noi fisiere, citesti tot si salvezi in toate formatele...&lt;br&gt;&lt;br&gt;</description></item><item><title>Re: BCP - export in diferite formate de encoding</title><link>http://sqlserver.ro/forums/thread/4385.aspx</link><pubDate>Mon, 17 Mar 2008 08:14:18 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:4385</guid><dc:creator>B0g</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/4385.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=4385</wfw:commentRss><description>&lt;P&gt;@Diana: parametrul -C este pentru o compatibilitate anterioara si daca ii dau un cod de pagina aferent lui UTF-8 da eroare.. nu recunoaste acel cod de pagina. In ceea ce priveste SSIS sau .NET - preferam sa rezolv problema din BCP ca ar trebui sa'mi asigure cea mai buna performanta pe un volum mare de date.&lt;/P&gt;
&lt;P&gt;@ggciubuc: fisierul generat de mine ar trebui sa fie programatic in encodingul respectiv. Daca as apela la optiunea save as... ar fi o operatiune in plus pe linga exportul din BCP. Plus ca sa deschizi un fisier cu vro 5.000.000 rowuri si sa'l salvez din nou e un proces destul de consumator.&lt;/P&gt;
&lt;P&gt;Multzam de idei... daca mai are cineva vro gaselnitza... va rog... nu ezitati&lt;/P&gt;
&lt;P&gt;B0g&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>Re: BCP - export in diferite formate de encoding</title><link>http://sqlserver.ro/forums/thread/4379.aspx</link><pubDate>Sun, 16 Mar 2008 10:24:24 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:4379</guid><dc:creator>ggciubuc</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/4379.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=4379</wfw:commentRss><description>Iata o idee simpla: deschideti fisierul exportat in notepad si apoi cu "Save as..." aveti la Encoding niste tipuri de encoding sub care puteti salva fisierul (am mai vazut ceva asemanator in OpenOffice - replica OpenSource pt MS Office).</description></item><item><title>Re: BCP - export in diferite formate de encoding</title><link>http://sqlserver.ro/forums/thread/4378.aspx</link><pubDate>Sat, 15 Mar 2008 17:41:43 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:4378</guid><dc:creator>Diana</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/4378.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=4378</wfw:commentRss><description>&lt;P&gt;Eu nu am trecut (inca) prin asta...Ai incercat sa folosesti in comanda bcp optiunea -C cu un "code page" - de exemplu -C1200?&lt;/P&gt;
&lt;P&gt;Poti explora si SSIS (de exemplu sa exporti intr-un "destination" de tip "flat file") sau, in .NET2, sa "scrii" intr-un fisier folosind clasa StreamWriter,&amp;nbsp;cu un constructor care specfica si "encoding" - ul.&lt;/P&gt;</description></item><item><title>BCP - export in diferite formate de encoding</title><link>http://sqlserver.ro/forums/thread/4377.aspx</link><pubDate>Fri, 14 Mar 2008 14:16:45 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:4377</guid><dc:creator>B0g</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/4377.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=4377</wfw:commentRss><description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;vreau sa folosesc BCP ca sa export niste date din SQl server 2005 intr'un fisier care sa poate fi codat in mai multe formate -&amp;nbsp;ASCII,&amp;nbsp;UTF-8, UTF-16, UTF-16LE, UTF-16BE. Din ce am descoperit pina acuma se poate face export direct numai in ASCII (simplu cu optiunea &amp;lt;&amp;lt;-c&amp;gt;&amp;gt; sau cu fisier de configurare a outputului cu optiunea &amp;lt;&amp;lt;-f&amp;gt;&amp;gt;) sau UTF-16LE (doar simplu - cu optiunea &amp;lt;&amp;lt;-w&amp;gt;&amp;gt;, fara sa suporte si fisier de configurare - cu optiunea &amp;lt;&amp;lt;-f&amp;gt;&amp;gt;). In rest nu reusesc sa obtin alt encoding al fisierului nici macar folosind collate'ul campurilor caracter dintr'un fisier de configurare.&lt;/P&gt;
&lt;P&gt;S'a mai confruntat cineva cu aceasta problema? Eventual daca se poate folosi altceva decit BCP.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Multzam,&lt;/P&gt;
&lt;P&gt;B0g&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item></channel></rss>