[Solved] EF SQL query Performance on comma-separated string Ids
[ad_1] If you store Ids as comma separated string – you always have TABLE/INDEX scan. If your table is small it can be enough. With SecondaryTable table which stores Ids associated with main table there a lot of other plans: You can leave as is and trust or not DB Engine optimiser query = query.Where(x … Read more