这是在运行时更改视图结构的好习惯吗?
我创建了一个视图
CREATE VIEW freligiouschk AS SELECT user_id, religion, caste FROM freligious WHERE religion IN ('Christian-Protestant','Christian-Orthodox','Hindu','Parsi','Christian-Others') OR caste IN ('Rajput','Kurmi/Kurmi Kshatriya','Veluthedathu Nair','Kuruhina Shetty','SKP')
创建视图当用户单击按钮时,条件中的那些值会发生变化 像这样
CREATE VIEW freligiouschk AS SELECT user_id, religion, caste FROM freligious WHERE religion IN ('Jain-Digambar','Muslim-Others','Inter-Religion','Buddhist','NoReligiousBelief') OR caste IN ('Mahishya','SKP','Relli','Bhovi','Karmakar')
这是改变运行时的好习惯吗?如果 2 个或更多用户尝试同时更改视图会发生什么?