<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>Garbage</title>
        <link>http://weblogs.sqlteam.com/davidm/category/78.aspx</link>
        <description>Garbage</description>
        <language>en-AU</language>
        <copyright>byrmol</copyright>
        <managingEditor>byrmol@gmail.com</managingEditor>
        <generator>Subtext Version 1.9.4.0</generator>
        <item>
            <title>A BCP GUI</title>
            <link>http://weblogs.sqlteam.com/davidm/archive/2004/03/31/1151.aspx</link>
            <description>Due to the excessive amount of BCP work that has plagued me recently, I was sick and tired of typing.&lt;BR&gt;Instead of writing a script in TSQL to build BCP commands, I decided on building a little GUI app. 
&lt;P&gt;I have tried to constrain the interface to only allow valid BCP argument combinations, but again due to laziness, I have not tested them all. If the BCP command appears to be doing nothing, you have the option to KILL the process. 
&lt;P&gt;Features: 
&lt;UL&gt;
&lt;LI&gt;Easy to use. (should be!) 
&lt;LI&gt;Tool tips for each switch are taken from BOL 
&lt;LI&gt;Batch option for building (not executing) multiple BCP commands ie. An entire database 
&lt;LI&gt;Automatically redirects output to a temporary file for viewing the results. 
&lt;LI&gt;Integrated File Viewer to look a the first 2MB of a file (needs improvement though).. 
&lt;LI&gt;Monitors file growth of the target data file (OUT modes) or output file (IN mode) &lt;/LI&gt;&lt;/UL&gt;Here's a picture of the main screen..&lt;BR&gt;&lt;A href="http://weblogs.sqlteam.com/images/weblogs_sqlteam_com/davidm/87/r_BCPHelper.png"&gt;&lt;IMG alt="BCP Helper" 
src="http://weblogs.sqlteam.com/images/weblogs_sqlteam_com/davidm/87/t_BCPHelper.png" border=0&gt;&lt;/A&gt; 
&lt;P&gt;I am hoping that this application needs no help file or manual, as it is targeted at developers who at least know what BCP is... 
&lt;P&gt;The entry point to this app accepts a parameterless constructor (when you simply open it), or a server name. The second constructor allows us to integrate it into the "Tools" menu in QA. 
&lt;P&gt;To integrate this into QA.. 
&lt;OL&gt;
&lt;LI&gt;Select "Tools".."Customise" from the main menu of QA 
&lt;LI&gt;Select the "Tools" tab 
&lt;LI&gt;Press the "Add" button 
&lt;LI&gt;Enter the Display Name 
&lt;LI&gt;Fill out the "Command" by browsing to the BCPHelper file 
&lt;LI&gt;Fill out the "Argument" section with the word $(Server). &lt;/LI&gt;&lt;/OL&gt;If you have completed it correctly it should look something like this...&lt;BR&gt;&lt;A href="http://weblogs.sqlteam.com/images/weblogs_sqlteam_com/davidm/87/r_QAIntergration.png"&gt;&lt;IMG alt="QA Integration" src="http://weblogs.sqlteam.com/images/weblogs_sqlteam_com/davidm/87/t_QAIntergration.png" border=0&gt;&lt;/A&gt; 
&lt;P&gt;Now when you select "Tools" from QA, you should see the BCP Helper application.&lt;BR&gt;When you launch the app from QA, it will take the current server and populate the text box. 
&lt;P&gt;You will need the .NET framework v1.0 or higher to run this&lt;BR&gt;Oh now there is a bitch..How on earth did MS miss the FolderBrowser Dialog control in 1.0 framework!!!! 
&lt;P&gt;Installation is just a matter of extracting the file&lt;BR&gt;This link is the zipped file (22Kb) at SQLTeam. &lt;A href="http://www.sqlteam.com/tools/bcphelper.zip"&gt;BCPHelper.zip&lt;/A&gt; 
&lt;P&gt;A special thank you to &lt;A href="http://weblogs.sqlteam.com/damianm/"&gt;Damian&lt;A&gt; for uploading the file and for giving some feedback. Also to &lt;A href="http://weblogs.sqlteam.com/robv/"&gt;Rob&lt;/A&gt; and &lt;A href="http://weblogs.sqlteam.com/billg/"&gt;Graz&lt;/A&gt; for some testing and hosting this... 
&lt;P&gt;All comments are welcome, and please report any bugs! Enjoy...&lt;/P&gt;&lt;img src="http://weblogs.sqlteam.com/davidm/aggbug/1151.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>byrmol</dc:creator>
            <guid>http://weblogs.sqlteam.com/davidm/archive/2004/03/31/1151.aspx</guid>
            <pubDate>Wed, 31 Mar 2004 03:13:00 GMT</pubDate>
            <wfw:comment>http://weblogs.sqlteam.com/davidm/comments/1151.aspx</wfw:comment>
            <comments>http://weblogs.sqlteam.com/davidm/archive/2004/03/31/1151.aspx#feedback</comments>
            <slash:comments>28</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/davidm/comments/commentRss/1151.aspx</wfw:commentRss>
        </item>
    </channel>
</rss>