Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
Article Discussions
»
Article Discussions by Author
»
Discuss content posted by bitbucket
»
VIEWS 2
27 posts, Page 1 of 3
1
2
3
»
»»
VIEWS 2
Rate Topic
Display Mode
Topic Options
Author
Message
bitbucket-25253
bitbucket-25253
Posted Saturday, March 10, 2012 11:26 AM
SSCertifiable
Group: General Forum Members
Last Login: Today @ 6:35 AM
Points: 5,103,
Visits: 20,215
Comments posted to this topic are about the item
VIEWS 2
If everything seems to be going well, you have obviously overlooked something.
Ron
Please help us, help you -before posting a question please
read
Before posting a performance problem please
read
Post #1264774
tilew-948340
tilew-948340
Posted Saturday, March 10, 2012 6:36 PM
Mr or Mrs. 500
Group: General Forum Members
Last Login: Tuesday, April 02, 2013 8:28 PM
Points: 555,
Visits: 2,137
nice and easy question since it is mostly what I am doing now
I would not have said that some time ago: I deleted a row in a view and discovered that the row in the parent table has been deleted too!!!!
I always tought that a view "is a view", not that it could be an "interface" with a table!!!
Since then, I put only "SELECT" permission on the views to make sure that nobody messed up with the data base without knowing it!
Thanks for the question!
Post #1264791
Koen Verbeeck
Koen Verbeeck
Posted Monday, March 12, 2012 12:07 AM
SSCrazy Eights
Group: General Forum Members
Last Login: Yesterday @ 2:11 AM
Points: 9,378,
Visits: 6,473
Nice back to basics question, thanks.
How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
Member of
LinkedIn
. My blog at
LessThanDot
.
MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1264971
Hugo Kornelis
Hugo Kornelis
Posted Monday, March 12, 2012 2:03 AM
SSCertifiable
Group: General Forum Members
Last Login: Today @ 3:21 AM
Points: 5,244,
Visits: 7,062
A good, solid question. Too bad it's only worth 1 point, I think 2 points would have been called for here.
tilew-948340 (3/10/2012)
Since then, I put only "SELECT" permission on the views to make sure that nobody messed up with the data base without knowing it!
Many people do the reverse - they give nobody any permissions on the base tables and give permissions on views only. For insert and delete, that does not really change much, but for update and select, it's a good way to show only relevant information. For instance, if your table contains a column is_active and you have a view that includes WHERE is_active = 1 and does not include columns that are only relevant to non-active members, you would give permissions on that view to the relevant users and they would never be able to see data about inactive members - neither the members, nor the columns that are relevant for inactive members.
And if the view includes the WITH CHECK option, those people would also be unable to change active members to non-active members.
Hugo Kornelis, SQL Server MVP
Visit my SQL Server blog:
http://sqlblog.com/blogs/hugo_kornelis
Post #1265003
paul s-306273
paul s-306273
Posted Monday, March 12, 2012 2:56 AM
Ten Centuries
Group: General Forum Members
Last Login: Friday, May 17, 2013 4:24 AM
Points: 1,161,
Visits: 642
Good job I wasn't in Oracle mode.
Nice question.
Post #1265019
Richard Warr
Richard Warr
Posted Monday, March 12, 2012 4:30 AM
SSCommitted
Group: General Forum Members
Last Login: Yesterday @ 8:39 AM
Points: 1,609,
Visits: 1,103
Nice "real world" question today. Thanks.
Post #1265040
Stewart "Arturius" Campbell
Stewart "Arturius" Campbell
Posted Monday, March 12, 2012 4:46 AM
Hall of Fame
Group: General Forum Members
Last Login: 2 days ago @ 8:31 AM
Points: 3,129,
Visits: 4,312
Good back-to-basics question.
Thanks, Ron
____________________________________________
Space, the final frontier? not any more...
All limits henceforth are self-imposed.
“libera tute vulgaris ex”
Post #1265050
Neela Khatri
Neela Khatri
Posted Monday, March 12, 2012 7:01 AM
Default port
Group: General Forum Members
Last Login: Friday, May 17, 2013 6:35 AM
Points: 1,433,
Visits: 159
This was a good question, but please check your spelling before submitting the question.
In the options available to be checked, results was spelled wrong twice and delete was spelled wrong once.
This make a good question look bad.
Post #1265148
Peter Trast
Peter Trast
Posted Monday, March 12, 2012 7:23 AM
Mr or Mrs. 500
Group: General Forum Members
Last Login: Friday, March 15, 2013 10:35 AM
Points: 594,
Visits: 654
Thanks for an easy one
Peter Trast
Microsoft Certified ...(insert many literal strings here)
Microsoft Design Architect with Alexander Open Systems
Post #1265174
Brigadur
Brigadur
Posted Monday, March 12, 2012 7:23 AM
Mr or Mrs. 500
Group: General Forum Members
Last Login: Yesterday @ 2:06 PM
Points: 576,
Visits: 27,681
Excellent question, thanks
Post #1265175
« Prev Topic
|
Next Topic »
27 posts, Page 1 of 3
1
2
3
»
»»
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.