我正在尝试使用以下查询作为我的数据流的源,但我不断收到错误。数据流不支持功能吗?
SELECT customer.customerid AS 'customerid',
customer.customer_fname AS 'fname',
customer.customer_lname AS 'lname',
customer.customer_phone AS 'Phone',
address.customer_addressid as 'addressid',
address.Address_type as 'addresstype',
address.street1 as 'street1'
FROM customer customer
INNER JOIN customer_address address
ON customer.customerid = address.customerid
order by customer.customerid
FOR JSON AUTO, ROOT('customer')
我收到以下错误:
Notifications
Column name needs to be specified in the query, set an alias if using a SQL function
ADF V2,数据流,源