Answers for "delmete sql server with select in where clause"

SQL
3

sql delete where in select

DELETE FROM tableA
WHERE ROWID IN 
  ( SELECT q.ROWID
    FROM tableA q
      INNER JOIN tableB u on (u.qlabel = q.entityrole AND u.fieldnum = q.fieldnum) 
    WHERE (LENGTH(q.memotext) NOT IN (8,9,10) OR q.memotext NOT LIKE '%/%/%')
      AND (u.FldFormat = 'Date'));
Posted by: Guest on October-29-2020

Code answers related to "delmete sql server with select in where clause"

Code answers related to "SQL"

Browse Popular Code Answers by Language