我使用MS SQL服務器2014年
我有一個表值函數
ALTER FUNCTION [dbo].[Resultsaddresssearch](@addressLine nvarchar, @locality nvarchar, @adminDistrict nvarchar, @postalCode nvarchar, @countryRegion nvarchar) RETURNS TABLE ( [Name] nvarchar NULL, [Point] [geography] NULL, [BoundingBox] [geography] NULL ) WITH EXECUTE AS CALLER AS EXTERNAL NAME [xtest2].[addresssearch.UserDefinedFunctions].[GeocodeTVF]
從查詢導出的數據結果
,我用這個查詢 SELECT * FROM dbo.Resultsaddresssearch('999 NE 10th%', '', '', '', 'USA');
結果我想出口到預先配置的csv,它是addy,csv。當我使用導出管理器時,我選擇了sql本機客戶端11作爲源。然後選擇平面文件作爲目的地。我從上面輸入查詢並點擊下一步,我得到這個錯誤:
- Column "Point": Source data type "204" was not found in the data type mapping file.
- Column "BoundingBox": Source data type "204" was not found in the data type mapping file.
感謝