0
在運行時更改視圖結構是一種好的做法嗎?在運行時修改視圖
我創建了一個VIEW
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個或更多用戶同時嘗試更改視圖,會發生什麼情況?