bcp and a format file?Or you can code the output to indent the values....USE NorthwindGO SELECT ISNULL(CONVERT(varchar(25),OrderID),'') +'|'+ISNULL(CustomerID,'') +'|'+ISNULL(CONVERT(varchar(25),EmployeeID),'') +'|'+ISNULL(CONVERT(varchar(25),OrderDate,120),'') +'|'+ISNULL(CONVERT(varchar(25),RequiredDate,120),'') +'|'+ISNULL(CONVERT(varchar(25),ShippedDate,120),'') +'|'+ISNULL(CONVERT(varchar(25),ShipVia),'') +'|'+ISNULL(CONVERT(varchar(25),Freight),'') +'|'+ISNULL(ShipName,'') +'|'+ISNULL(ShipAddress,'') +'|'+ISNULL(ShipCity,'') +'|'+ISNULL(ShipRegion,'') +'|'+ISNULL(ShipPostalCode,'') +'|'+ISNULL(ShipCountry,'') FROM Orders
Brett8-)