Viewing 15 posts - 9,271 through 9,285 (of 15,381 total)
byecoliz (2/15/2013)
create function...
February 15, 2013 at 10:44 am
gopikishan.maheshwarlal (2/15/2013)
i need help in deleting duplicate records from a table a. but the table which i'm going to delete has 2 child tables, table b and table...
February 15, 2013 at 7:56 am
Well it seems that while I writing my response you edited the original trigger and posted almost exactly the same thing I was suggesting. 😀
Does this much simpler version still...
February 15, 2013 at 7:53 am
boeledi (2/15/2013)
Very weird case I am facing at the moment.
I have a trigger that works well until the moment it needs to commit the changes.
Some explanation:
I need to...
February 15, 2013 at 7:52 am
Ken it looks like you tried something to help here. Unfortunately you have a couple of scalar functions in your code and you didn't post the definition of them. BTW,...
February 15, 2013 at 7:27 am
andyl9063 (2/14/2013)
what do you mean by ddl?you mean sample results?
ddl = data definition language. That means the create table statements. The article I referenced explains how to put all this...
February 14, 2013 at 2:32 pm
Nice job posting ddl and sample data. I am not quite sure what the business rules are but this is maybe something to get you started. It doesn't quite match...
February 14, 2013 at 2:30 pm
There are several things I would change here.
First you are using the old style of join. You should change that to an inner join.
Secondly, and probably the biggest, you...
February 14, 2013 at 2:13 pm
dcyoung (2/14/2013)
Service agreement says we can't modify. Thanks for the reply. That is kind of what I though but it's nice to get a second opinion.
Given the service agreement that...
February 14, 2013 at 1:19 pm
ScottPletcher (2/14/2013)
Sean Lange (2/14/2013)
ScottPletcher (2/14/2013)
You should always specify the owner (schema name) on objects in a trigger. There are...
February 14, 2013 at 12:42 pm
dcyoung (2/14/2013)
February 14, 2013 at 12:31 pm
ScottPletcher (2/14/2013)
You should always specify the owner (schema name) on objects in a trigger. There are very few always/never...
February 14, 2013 at 12:28 pm
Cool. Thanks for letting us know.
February 14, 2013 at 12:25 pm
I think about the only thing you would be able to do here is to find the average size of a row in the table and then multiply that by...
February 14, 2013 at 9:45 am
I am still missing something here. Your cte is just a select statement. Are you doing the calculation in the cte or outside of it? Remember I don't know your...
February 14, 2013 at 9:38 am
Viewing 15 posts - 9,271 through 9,285 (of 15,381 total)