2005-07-11, 09:40 PM
Quote:I believe I have tracked down to a possible typo in a delete function, this appears when I try and delete a source, it never succeeds and I am left with multiple sources, and a program table for of data. The line in question is:I dont see any typo there, but I could be missing some. As far as I'm aware, this is work in the GBPVR Access database. Is it something in particular you think is wrong with this?
delete from PROGRAMME p where channel_oid not in (select c.oid from CHANNEL c, SOURCE_CHANNEL_MAPPING scm where c.oid = scm.channel_oid)
I dont test against MSDE, so I cant confirm whether or not it works.