0
|
Z4u3z1Lv6专家互助发布于2022-11-9 14:01
|
|
-
用户C5217293(提问者)
- SELECT
sample_id,
process_time,
measurement_time,
prod_rcp,
S1_datapoint_1
,S1_datapoint_2
,S1_datapoint_3
,S1_datapoint_4
,S2_datapoint_1
,S2_datapoint_2
,S2_datapoint_3
,S2_datapoint_4
,S3_datapoint_1
,S3_datapoint_2
,S3_datapoint_3
,S3_datapoint_4
,S4_datapoint_1
,S4_datapoint_2
,S4_datapoint_3
,S4_datapoint_4
FROM pid04a_localized
WHERE process_time BETWEEN \'${startDate_c}\' AND \'${endDate_c}\'
AND equipment in (\'${Equipment_c}\')
-
Z4u3z1 回复 用户C5217293(提问者)
- 毫秒是3位 要不你 秒后面的删了 SELECT sample_id, process_time, measurement_time, prod_rcp, S1_datapoint_1 ,S1_datapoint_2 ,S1_datapoint_3 ,S1_datapoint_4 ,S2_datapoint_1 ,S2_datapoint_2 ,S2_datapoint_3 ,S2_datapoint_4 ,S3_datapoint_1 ,S3_datapoint_2 ,S3_datapoint_3 ,S3_datapoint_4 ,S4_datapoint_1 ,S4_datapoint_2 ,S4_datapoint_3 ,S4_datapoint_4 FROM pid04a_localized WHERE process_time BETWEEN \'${FORMAT(startDate_c,\"yyyy-MM-dd hh:mm:ss\")}\' AND \\\'${FORMAT(endDate_c,\"yyyy-MM-dd hh:mm:ss}\\\' AND equipment in (\\\'${Equipment_c}\\\')
-
用户C5217293(提问者)
- / 2022-11-06 21:05:00 2022-11-06 23:19:00
/ 2022-11-09 04:55:00 2022-11-09 07:12:00
-
用户C5217293(提问者) 回复 Z4u3z1
- 实际查出来没有毫秒
-
Z4u3z1 回复 用户C5217293(提问者)
- 你传的参数有
|
|