Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Views question ?

Status
Not open for further replies.

hanglam

Programmer
Dec 11, 2002
143
0
0
US
Hi,

This might be an easy question :

Are views updateable in Sysbase ?

I have a Microsoft SQl Server background and I know you can update and insert rows in a view in MS SQL Server , just wondering if Sybase has the same capability .


Thanks,
Hang

 
MS SQL Server and Sybase are quite similar on the capabilitis to updete views, there are some restrictions for a view to be updatable:

- Do not include computed columns
- Do not inlcude aggregate values (group by, compute)
- Do not reference more than one table (update and insert sometimes are possible)
- View with check option only allow to manage rows visible within the view
- Insert not possible if not null columns are not included in the view
- Update not possible if Identity columns are included

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top