Walter Meester
HoogkarspelNetherlands
General information
Forum:
Microsoft SQL Server
Environment versions
SQL Server:
SQL Server 2012
>>
>>Be aware this will give problems if there are two invoices on the same date. Better us TOP 1 in the correlated selects
>
>Yes, and if you'll notice, up a few lines in my reply I mentioned that - yes, a TOP 1 is needed if there are 2 values for the same date or datetime.
Err... my mistake... I only read the code...
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only