<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>munibus</author_name>
  <author_url>https://blog.hatena.ne.jp/munibus/</author_url>
  <blog_title>Muni Bus</blog_title>
  <blog_url>https://munibus.hatenablog.com/</blog_url>
  <categories>
    <anon>SQL Server</anon>
  </categories>
  <description>bcpコマンドを使う。以下は、以下のようなtestdbデータベースのdbo.testtblテーブルの中身をすべてCSVファイルに出力した例。Windows認証でサーバー○○○に接続している。 &gt;bcp testdb.dbo.testtbl out test.csv -S ○○○ -T -c -t &quot;,&quot; コピーを開始しています... 3 行コピーされました。 ネットワーク パケット サイズ (バイト): 4096 クロック タイム (ミリ秒) 合計 : 1 平均 : (3000.00 行/秒) 出力したCSVファイルは以下のとおり。 1,ABC,55.5 2,123,66.5999999999…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmunibus.hatenablog.com%2Fentry%2F2023%2F06%2F10%2F235330&quot; title=&quot;【SQL Server】データベースの中身をCSVファイルに出力（エクスポート）する - Muni Bus&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/m/munibus/20230610/20230610235250.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-06-10 23:53:30</published>
  <title>【SQL Server】データベースの中身をCSVファイルに出力（エクスポート）する</title>
  <type>rich</type>
  <url>https://munibus.hatenablog.com/entry/2023/06/10/235330</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
