Update TABLE
set EndDateTime=@endDateTime
where
<A href="mailto:ID=@id">ID=@id</A> <FONT size=2>
[StartDateTime] </FONT><FONT color=#808080 size=2>In(</FONT><FONT color=#0000ff size=2>select</FONT><FONT size=2> </FONT><FONT color=#ff00ff size=2>min</FONT><FONT color=#808080 size=2>(</FONT><FONT size=2>[StartDateTime]</FONT><FONT color=#808080 size=2>)</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>from</FONT><FONT size=2> BDTMRouteLog
</FONT><FONT color=#0000ff size=2>where</FONT><FONT size=2> [EndDateTime] </FONT><FONT color=#808080 size=2>is</FONT><FONT size=2> </FONT><FONT color=#808080 size=2>NULL</FONT><FONT size=2> </FONT><FONT color=#808080 size=2>AND</FONT><FONT size=2> [StartDateTime]</FONT><FONT color=#808080 size=2><</FONT><FONT size=2>@endDateTime)</FONT><FONT color=#808080 size=2></FONT>
Κομμάτι απο store procedure. Αυτο τρέχω.
Dimitris S.
FIRST TEST THEN CODE....