Microsoft
Software
Hardware
Network
Question : Delete query (sql)
I have two tables
'cases' which has an 'id' int field and a 'firmid' int fields.
'BlobTbl' which has a field 'caseid' which is the same as the 'id' of the 'cases' table, that is where they join.
I want to delete all records from 'BlobTbl' table where when joined to the 'cases' table 'firmid <> 2'
So the join would be for a select statement something like
Select * from Blobtbls
inner join cases on
cases.id = Blobtbls.caseid
Thanks.
Answer : Delete query (sql)
DELETE FROM BlobTbl
WHERE caseid IN (SELECT ID FROM cases where firmid <> 2)
Random Solutions
I need to query each group in an OU in the Root Domain and get the group names that has exact identical users.
How to get an USB speaker to work with Eee PC 900 Xandros Linux
can#t Compile PNG Image Lib
Need help with important safety precautions!
Add Mirror Greyed Out
Can't access Exchange 2003 OWA from Internet
which is the best editor for oracle ?
Websense - Block Internet Access - Except for Updates
Vlookup Excel 2007
How to find out what version of remote OpenSSL server is running?