有这么一段SQL
SELECT BranchCD,BusinessDate,Level1
FROM [salesDB_temp].[dbo].func_sale_day_product_Amendhistory('MINING_ETL_CUSTOMER_HISPRE_UPDATE')
WHERE Level1=26 and BusinessDate>= dateadd(month,-5,getdate())其中 FROM [salesDB_temp].[dbo].func_sale_day_product_Amendhistory('MINING_ETL_CUSTOMER_HISPRE_UPDATE')
是什么意思?
SELECT BranchCD,BusinessDate,Level1
FROM [salesDB_temp].[dbo].func_sale_day_product_Amendhistory('MINING_ETL_CUSTOMER_HISPRE_UPDATE')
WHERE Level1=26 and BusinessDate>= dateadd(month,-5,getdate())其中 FROM [salesDB_temp].[dbo].func_sale_day_product_Amendhistory('MINING_ETL_CUSTOMER_HISPRE_UPDATE')
是什么意思?
func_sale_day_product_Amendhistory
具体的内容就只有打开函数才知道了.
('MINING_ETL_CUSTOMER_HISPRE_UPDATE') --该函数的参数