hi I have a strange problem
If I want to select a date, I can do it with this select statement with succes
SELECT * FROM tbltable
WHERE (CONVERT(varchar(10), InitDate, 105) LIKE @InitDate)
BUTTT !
If I want to have a select statement >= I get all data from the database also the date before the >= date, so what am I doing wrong ??
SELECT * FROM tbltable
WHERE (CONVERT(varchar(10), InitDate, 105) >= @InitDate)
If I want to select a date, I can do it with this select statement with succes
SELECT * FROM tbltable
WHERE (CONVERT(varchar(10), InitDate, 105) LIKE @InitDate)
BUTTT !
If I want to have a select statement >= I get all data from the database also the date before the >= date, so what am I doing wrong ??
SELECT * FROM tbltable
WHERE (CONVERT(varchar(10), InitDate, 105) >= @InitDate)