1 2 3 4 5 6 7 8 9 10 11 12 13 14
| declare @TableTest table (IdVehicule char(6), DateDebut datetime, DateFin datetime);
INSERT INTO @TableTest (IdVehicule, DateDebut, DateFin) VALUES
('VSAB1G', '2012-11-01 00:56:00.000', '2012-11-01 01:09:00.000'),
('VSAB1T', '2012-11-01 00:56:00.000', '2012-11-01 01:25:00.000'),
('VSAB1J', '2012-11-01 01:28:00.000', '2012-11-01 01:55:00.000'),
('VSAB1V', '2012-11-01 03:17:00.000', '2012-11-01 04:53:00.000'),
('VSAB1J', '2012-11-01 03:24:00.000', '2012-11-01 03:46:00.000'),
('VSAB1J', '2012-11-01 04:31:00.000', '2012-11-01 06:12:00.000'),
('VSAB1G', '2012-11-01 04:44:00.000', '2012-11-01 05:22:00.000'),
('VSAB2G', '2012-11-01 04:46:00.000', '2012-11-01 05:38:00.000'),
('VSAB2V', '2012-11-01 04:50:00.000', '2012-11-01 05:27:00.000');
select * from @TableTest; |
Partager