Article View: cn.bbs.comp.database
Article #611[MSSQL] Question of the Day
From: Galaxy��VOLUNTEERS��Database
Date: Tue, 25 Nov 2008 11:53
Date: Tue, 25 Nov 2008 11:53
16 lines
1400 bytes
1400 bytes
Q:I want to append output data from a query into an existing file, which command prompt tool will help me? Answer: SQLCMD Explanation: BCP always overwrites any file that might already be there. There is no option to append. But this can be achieved using SQLCMD indirectly by using append feature of DOS. Ref: BCP - http://msdn.microsoft.com/en-us/library/ms189607(SQL.90).aspx SQLCMD - http://msdn.microsoft.com/en-us/library/ms162773(SQL.90).aspx -- Welcome to Database Board ��ӭ������ݿ�� http://bbs.sjtu.edu.cn/bbsdoc?board=database [m[1;32m�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 207.46.55.29][m
Technical Details
Message-ID:
<4dCIQS$bWW@bbs.sjtu.edu.cn>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!87.106.161.54.MISMATCH!feeder1.news.weretis.net!newsfeeder.dynfx.net!weretis.net!newsfeed.datemas.de!news.isoc.lu!news.shec6.edu.cn!SJTUShow Full Headers
Complete Article Headers
X-Google-Thread: 101948,5d3ce33c2c6c6123,start X-Google-Attributes: gid101948,domainid0,public,usenet X-Google-Language: ENGLISH,GB Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!87.106.161.54.MISMATCH!feeder1.news.weretis.net!newsfeeder.dynfx.net!weretis.net!newsfeed.datemas.de!news.isoc.lu!news.shec6.edu.cn!SJTU From: Dem.bbs@bbs.sjtu.edu.cn (Galaxy��VOLUNTEERS��Database) Newsgroups: cn.bbs.comp.database Subject: [MSSQL] Question of the Day Date: 25 Nov 2008 11:53:09 GMT Organization: ��ˮ˼Դ Message-ID: <4dCIQS$bWW@bbs.sjtu.edu.cn> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit X-Filename: database/M.1227613948.A