I am getting a string from HttpContext.Current.Request["key"] which i then do split(',') if its not null.
Now i would like to write a sql statement deleting any msgId (long/Int64) that matches the keys, how should i write it? The only way i unserstand is to convert the string[] to long[] then loop a SQL statement. Is there a better way?
PS: Using sqlite ATM but will be switching to another SQL engine. (i havent chosen the server yet so i dont know which)