sql - Is it common to accompany views for each table that has a IsActive field? -


i have several tables have isactive column, indicates whether record active or deleted. these tables used frequently.

is common create view each of these tables , select records isactive true? or overkill?

a view stored query-- execute precisely same way whether check isactive in view or in where clause.

if find using isactive rows more often, have @ filtered indexes. example, have ticketing system 99% of activity related open tickets. able improve performance adding filtered indexes active tickets only.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -