Viewing 6 posts - 1 through 6 (of 6 total)
The definition was a typo, actually it is in a table with datetime columns.
Your previous day code works fine with specified vendorid and specified schedid, but i am having trouble...
April 3, 2013 at 1:01 pm
Thanks so much, i progressed a lot with your inputs, but now i need to loop this whole thing with a table that has multiple startdate and enddate instead of...
April 3, 2013 at 11:21 am
Thanks so much, well I had already achieved the resultset yesterday (but with loop:)) urs worked liked a breeze without loop!!Thanks again..
September 13, 2012 at 1:34 pm
OfficeId WeekdayId ...
September 12, 2012 at 9:50 am
Hi Can you check if this helps....
SELECT * FROM (SELECT
Top 2
entriesID
,name
,packageLevel
,NEWID() AS [RANDOM]
FROM Entries
WHERE packageLevel = 1
ORDER BY packageLevel desc, RANDOM) TableA
UNION
SELECT * FROM (SELECT top...
May 3, 2012 at 12:20 pm
Viewing 6 posts - 1 through 6 (of 6 total)