我正在尝试使用以下数据在报表生成器中创建折线图:
TRWR rental 85805 2013-09-14 13:02:54.900
TRWR rental 74415 2013-09-15 18:00:00.420
VRWR rental 83017 2013-09-14 10:03:43.597
VRWR rental 73984 2013-09-15 18:00:01.203
HRWR rental 83017 2013-09-14 14:03:15.497
HRWR rental 74005 2013-09-15 18:00:01.957
我正在使用的查询如下:
select ServerName, DatabaseName, FileSizeMB, DISTINCT PollDate from DBinfo
where DatabaseName IN (@Database) AND ServerName IN(@Servers) AND PollDate Between @StartDate AND @EndDate AND PhysicalFileName LIKE ('%mdf')
但是,当我尝试创建图表时,X 轴(日期)正在重复。这就是我设置它的方式。谁能告诉我如何输入不同的日期。请查看图片链接:http: //imgur.com/7nhP3B6