Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
Van
Constraint Violating Yak Guru
462 Posts |
Posted - 2007-10-11 : 13:17:54
|
| I could have swore I posted this earlier today, but it must not have went through...anyway here goes again.Is there any way to tell if a view is updateable (updates the underlying table(s))?Thanks,Van |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2007-10-11 : 13:38:48
|
| Even if a view is updateable, it will only update one table. I'm not sure how you'd be able to tell if a view is updateable though. That property doesn't exist in OBJECTPROPERTY or OBJECTPROPERTYEX functions.Tara KizerMicrosoft MVP for Windows Server System - SQL Serverhttp://weblogs.sqlteam.com/tarad/ |
 |
|
|
Van
Constraint Violating Yak Guru
462 Posts |
Posted - 2007-10-11 : 13:42:41
|
| So if a view has more than one table in it's definition, then you can be assured that it won't update either table correct? |
 |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2007-10-11 : 23:20:58
|
| You should be able to update columns in single table as I understand |
 |
|
|
|
|
|