why not? I have run this as code and it had no problem with a database holding a hundred thousand items.