Hi
The following SQL takes an exceptionally long time to run (over 15 mins) - and is only deleting 500 rows. Has anyone any thoughts on how to improve it, or an alternative way of doing it?
strSQLString = "DELETE * FROM tbl_Bcst_T_srs WHERE tbl_Bcst_T_srs.Series_ID NOT IN (Select series_id from tbl_Bcst_T_prg)"
gcnnDB.Execute strSQLString, lngRecordsDeleted, adCmdText
Thanks in advance
Tim
The following SQL takes an exceptionally long time to run (over 15 mins) - and is only deleting 500 rows. Has anyone any thoughts on how to improve it, or an alternative way of doing it?
strSQLString = "DELETE * FROM tbl_Bcst_T_srs WHERE tbl_Bcst_T_srs.Series_ID NOT IN (Select series_id from tbl_Bcst_T_prg)"
gcnnDB.Execute strSQLString, lngRecordsDeleted, adCmdText
Thanks in advance
Tim