Viewing 15 posts - 136 through 150 (of 191 total)
Ian Scarlett (9/24/2008)
Although you can use the INSTEAD OF trigger to replace data in columns, the nullability is checked BEFORE the...
September 24, 2008 at 10:52 am
I hadn't thought about confirming ownership but the table is the only one of that name and it is owned by dbo, as is the trigger. I also checked...
September 24, 2008 at 9:14 am
As unbelievable as it is, it isn't firing. I did try adding a print statement to the beginning of the trigger and nothing. I've also checked to make...
September 24, 2008 at 7:11 am
I forgot to mention, if I run the stored procedure it returns a value. However, since the trigger isn't firing, the procedure doesn't run.
September 24, 2008 at 5:25 am
The two fields that get populated are set to NOT NULL, so the INSERT operation fails. If I were to supply values for them, the INSERT would succeed, but...
September 23, 2008 at 5:31 am
essential service providers that always seem to have tight budget constraints like police offices,
Hmmm...
CREATE TRIGGER INSERT_TICKET ON TICKET
INSTEAD OF INSERT
AS
IF LNAME = 'Massi'
--Do nothing
ELSE
INSERT INTO TICKET
...
September 17, 2008 at 10:46 am
That is an excellent suggestion. Seeing as how we have specialized, valuable skills we could certainly help out organizations that we support. You've given me something to ponder...
September 17, 2008 at 7:17 am
^^^ Agreed, lawyers are quite an expense as it is and a case like that would look like a SCO gravy-train to them. As for government regulations, I thought...
September 11, 2008 at 6:21 am
My wife wants a laptop, maybe the next time we're near a major airport, we'll just go up to the counter and say we lost a laptop. Then we...
September 3, 2008 at 6:10 am
I'm a Reporting Services beginner, but I stumbled across the following article while looking for something else:
http://www.sqlservercentral.com/articles/Development/2945/[/url]
It goes into detail about how to achieve what you are looking for if...
August 26, 2008 at 1:39 pm
Your story reminds me of what happened to my dogs 3 weeks ago. They were playing and the little one got his jaw under the collar of the big...
August 26, 2008 at 7:31 am
Although I haven't been working in this field long ~5 years, I agree wholeheartedly with your observations.
Between the recruiters scrounging up bodies to fill seats to get commissions and contractors...
August 22, 2008 at 7:14 am
I have always just used the same AD groups to apply permissions to them in a role. Although I do recall discussing how we were going to set up...
August 22, 2008 at 6:30 am
I enjoy these types of movies too. Although I rank low on the list as well, I don't live in a huge city. Even still, if there were...
August 19, 2008 at 6:05 am
In my last job, I had access to the accounting and HR databases, but I never touched them. As "fun" as it would have been to answer questions that...
August 13, 2008 at 6:13 am
Viewing 15 posts - 136 through 150 (of 191 total)