473,387 Members | 1,541 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

certification question

I am reading Administering SQL Server, a study guide for 70-228
on page 27, it says:
"INSTEAD OF triggers are useful when a DML operation is unsuccessful."
I think this is nonsense. Any comments?

Aug 23 '05 #1
5 939
Ford Desperado (fo************@yahoo.com) writes:
I am reading Administering SQL Server, a study guide for 70-228
on page 27, it says:
"INSTEAD OF triggers are useful when a DML operation is unsuccessful."
I think this is nonsense. Any comments?


Without any context at all, the sentence certainly looks funny. It reminds
of what I once read in a manual from DEC: "Frequently, unexpected errors are
entirely unpredictable."

I guess what they are trying to say is that when you cannot insert, update
or delete directly on a view, because the view does not live up to the
rules, then you can achieve this with an INSTEAD OF trigger.
--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp

Aug 23 '05 #2
>Without any context at all, the sentence certainly looks funny.

well there isn't any more context.
Thanks Erland

Aug 23 '05 #3
It's certainly a strange comment in the absence of any context, as
Erland says. Another possible explanation might be that if you have to
INSERT data into a table where you know that some data will violate
constraints, an INSTEAD OF trigger could be used to INSERT only the
good data, and flag or log the bad data; if you did a single INSERT,
then it would all be rolled back.

Simon

Aug 24 '05 #4
One more nonsense:

the book claims that db_denydatawriter " Can deny the write permissions
on any object"

According to BOL, db_denydatawriter Cannot modify any data in any user
table in the database, and BOL seems to be correct

I think the author, Joyjit Mukherjee, screwed it up

Aug 24 '05 #5
It sounds like he took a guess based on the group name, rather than
look it up in BOL, which would make me wonder about the quality of the
rest of the book. I've seen the official MS Press MCDBA study guides,
and they seem to be quite good, but then I suppose they should be.

Incidentally, sp_dbfixedrolepermission gives quite a detailed (and
accurate) list of each role's permissions - it's a bit clearer than the
comments in BOL.

Simon

Aug 24 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: redraiderqt | last post by:
I am looking into getting certified in Oracle. Does anyone out there know which books are the to buy? Any information anyone has about the certification process would be helpful. Thank you very...
6
by: VM | last post by:
I was looking for an MS NG where I could post this question but couldn't find any, so here goes. What's more valuable to companies, a Master of Comp. Engineering degree or a company...
20
by: GrahamJWalsh | last post by:
Hi, I'm about to embark on .NET/C# certification (after 6 weeks intensive training). I'm actually heading off to India as it's cheaper....sign of the times. The goal is to compliment my...
4
by: ErnestH | last post by:
I am studying for the Oracle Certification program, OCA, and I am taking the Z-007 exam, however, I am having quite a time with it. I have tried and failed 5 times to pass that exam. I have only...
9
by: Paul | last post by:
I've read the FAQ at Zend.com but have a question. If I pass the PHP 4 exam, does it expire? I am NOT comfortable with OOP yet - that is why I want to take the PHP 4 exam. I use PHP 5 now but...
6
by: chandu | last post by:
Hello, i am preparing for the C# certification(MCTS) 70-536 exam.i bought two prescribed books and using internet resource. can any one have C# dump or any material regarding please send to...
3
by: Mike Hofer | last post by:
I've got 20+ years experience, and lots of it over the last few years in .NET. I do not yet have a certification of any kind, and it's about time I did something about that. My focus is primarily...
19
by: neelsmail | last post by:
Hi, I have been working on C++ for some time now, and I think I have a flair for design (which just might be only my imagination over- stretched.. :) ). So, I tried to find a design...
2
by: rhino | last post by:
Am I correct in assuming that it is NOT normal practice to repeat all the certification exams for the new DB2 version when a new DB2 version comes out? Let's say I took exams 700 and 701 and...
7
by: srinivasan srinivas | last post by:
Hi, I m planning to do certification in Python?? Is therr any good certification available in Python like Sun certification for java?? Thanks, Sirni Send free SMS to your Friends on Mobile...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.