sql server - Is it possible to replace a SQL table with a SQL view in an already created model in MVC 4? -
i have inherited mess developer used sit in chair on year ago. 1 of many things did create identical tables in many databases (such having users table in each database contains same information). attempting eliminate manual work being done every time new employee hired eliminating these duplicate tables.
i have created sql view represents data old table did. pulls it's data master database, tables need (and new view) on same db. there no need application working modify users table, needs read access (so view should fine, right?).
is there way replace table in code new view? happy provide more information if needed.
if created view has same name , same columns original table, work without app modification. possible modify data throught view (with restrictions...), see https://msdn.microsoft.com/en-us/library/ms180800.aspx .
Comments
Post a Comment