Viewing 15 posts - 36,376 through 36,390 (of 59,067 total)
nadarajan_v (10/5/2010)
PrimaryKey ForeignKey DataType Value
1 ...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 10, 2010 at 10:51 pm
The Dixie Flatline (10/5/2010)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 10, 2010 at 10:47 pm
parthi-1705 (10/6/2010)
cbalasuriya (10/6/2010)
Can someone please tell me if value1 and 2 are on same table how to get a result sets similar to
F ---> A and A --->...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 10, 2010 at 10:42 pm
Jersey Moe (10/6/2010)
cool trick, I'll give it try. Thanks for the replies>
It may be a cool trick but you MUST not use it in this case. Unless you...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 10, 2010 at 10:37 pm
The two COUNT(*)'s are part of correlated subqueries (joined on the "pm" alias) with aggregates. It would likely be much cheaper computationally if those aggregates were done separately and...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 10, 2010 at 10:31 pm
vijay1327-891581 (10/6/2010)
1: Remove count(*) and replace it with count(any one INTEGER type column). Here all you are doing is checking if there is any row...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 10, 2010 at 10:23 pm
Alvin Ramard (10/7/2010)
Jeff Moden (10/7/2010)
I may be in a minority here. To me, SSIS is a four letter word. 😉
There's nothing wrong with SSIS, but there are wrong ways...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 10, 2010 at 10:14 pm
grahamc (10/8/2010)
Have a look in BOL at the PIVOT function, might do the trick for you.
As a side bar, you might want to take a look at the two articles...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 10, 2010 at 10:06 pm
I'm not sure but I believe you'd need to look at locking/blocking on the Oracle side. I also don't believe that the use of a view is going to...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 10, 2010 at 10:04 pm
WayneS (10/10/2010)
Any suggestions on good, inexpensive, close places to stay?...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 10, 2010 at 9:49 pm
Heh... there's another couple of enhancements to make that came up recently... some for performance (2 to be precise) and some for those bloody "space" delimiters. I'm just not...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 10, 2010 at 6:55 pm
kanika.bhagat (10/10/2010)
I have one table student and three fields mtt1,mtt2 and sum.I want to update sum field whenever there is a new value inserted in mtt1 and mtt2.I want to...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 10, 2010 at 5:51 pm
Gosh... the function doesn't even use the ProductID for anything except an error message. Are you sure that's right?
I'd also be tempted to make one pass per column instead...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 10, 2010 at 5:43 pm
You collect a bunch of data and never use it. I'm just curious as to why not.
Also, it's a form of "Death by SQL" to hardcode a user name...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 10, 2010 at 5:38 pm
WayneS (10/10/2010)
DECLARE @String1 varchar(8000),
@String2 varchar(8000);
SET @String1 = 'a,b,c,d';
SET @String2 = 'apple,boy,college,dog';
SELECT a.Item, b.Item
...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 10, 2010 at 5:32 pm
Viewing 15 posts - 36,376 through 36,390 (of 59,067 total)