Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Sql equivalent of not in
Wed, Apr 8 2015 4:19 PMPermanent Link

Boss

Hi I have a query in memory which only has one column called Schedule_Guid.

I'm trying to query another collection where it's Schedule_Guid does not lay memory query.

What I've Tried:

select Schedules.Schedule_GUID INTO memory\m2 FROM Schedules
Join ScheduleScripts
On Schedules.Schedule_GUID = ScheduleScripts.Schedule_GUID
Where SubType_Id = 1000
Group By Schedules.Schedule_GUID;

Select * from Table where Table.Schedule_Guid not in memory\m2
Thu, Apr 9 2015 2:14 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Boss



Select * from Table where Table.Schedule_Guid not in (SELECT Schedule_GUID FROM memory\m2)


Roy Lambert
Image