set @SQLQry ='Insert into #tmpSpeed(Speed) SELECT Speed FROM ' +@tablenameSt+' WHERE SIMID ='+ @TrackerID +' AND dated between CONVERT(datetime,'''+@StartDateTime+ ''', 120) and CONVERT(datetime,'''+@EndDateTime+ ''', 120)'
mm/dd/yyyy
Dim myDatevalue as new SqlParameter("@StartDateTime", Format("myDatevalue","mm/dd/yyyy"))
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)