<pre>Hi, DBNAME represents - server name The following is sql statement set @sql = 'bcp xxxxx.dbo.CsvTemp out D:/EDI/INCOMING/test1.csv -c -t, -T -SDBNAME' which is part of a stored procedure SP1. When i call this SP1 from .net website... BCP utility just creates the file at the location , doesnot write anything to it and holds the file forever. when i run it from SQL management server.. It works fine... Really stuck... don't know what to do... Thanks Shweta
set @sql = 'bcp xxxxx.dbo.CsvTemp out D:/EDI/INCOMING/test1.csv -c -t, -T -SDBNAME'
SELECT
CsvTemp
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)