在SQL Server中查看想要在mongodb中创建
CREATE VIEW memplog
AS
SELECT
recipient, originator, [text], create_date, sent_date
FROM
[smslog_01042018]
UNION ALL
SELECT
recipient, originator,[text], create_date, sent_date
FROM
[smslog_02042018]
UNION ALL
SELECT
recipient, originator,[text], create_date, sent_date
FROM
[smslog_03042018]