exec master..xp_cmdshell 'bcp "SELECT[RecordType],[CustomerGroupFROM [HBSLIVE].[dbo].[UDEF_WEB_UPDATE_RASS_ASR]" queryout "D:\WebFiles\Web Update File Out\*** Update Files\RASS_ASR_ALL.xls" -f "D:\WebFiles\Web Update File Out\Format Files\mytestformatfile.fmt -UKYLE -User Name -SAppserver'
If I have a text file in the...