Viewing 15 posts - 1,321 through 1,335 (of 5,590 total)
You know, the people that help out here are all un-paid volunteers, so please HELP US HELP YOU. Providing the DDL scripts (CREATE TABLE, CREATE INDEX, etc.) for the tables...
May 23, 2011 at 12:58 pm
Check out the articles in my signature on Cross Tabs and Pivot Tables (Parts 1 and 2). This should give you all the information you need.
May 23, 2011 at 12:31 pm
In that case, you ought to read Grant Fritchey's books. He has another one coming out soon, with updates.
May 23, 2011 at 12:25 pm
If you look at the actual execution plan, you'll see that the second method is more efficient. However, the execution plan also doesn't show any activity for the OBJECT_ID() call.
If...
May 23, 2011 at 10:57 am
What constitutes logging "In" or "Out"? The Direction column? If so, which value maps to which?
or do you just want to change the current IsCorrect column to be either 1...
May 23, 2011 at 10:48 am
pnr8uk (5/23/2011)
Oh thanks Wayne - that's perfect...Thanks for your help it's very much appreciated
You're welcome.
I was just looking at this again, and I think that the first part should...
May 23, 2011 at 10:42 am
Or do you want it as:
Result = CASE WHEN Excellent = 1 THEN 'Excellent'
WHEN Good =...
May 23, 2011 at 10:35 am
miss.delinda (5/23/2011)
declare @tMenuCollection table(idx int,parentID int,menuNme varchar(50),navigateUrl varchar(50));
insert into @tMenuCollection values(1,0,'Bayar Zakat','void(0)');
insert into @tMenuCollection values(2,0,'Amil','void(0)');
insert into @tMenuCollection values(3,0,'Kira Zakat & Simpan','void(0)');
insert into @tMenuCollection values(4,3,'Tambah','void(0)');
insert into...
May 23, 2011 at 10:31 am
bitbucket-25253 (5/23/2011)
bitbucket-25253 (5/23/2011)
WayneS (5/23/2011)
bitbucket-25253 (5/23/2011)
QOD - easy enough to display the page to create and submit etc., etc.
When the...
May 23, 2011 at 8:58 am
The things that I see:
1. The update statement for Test1 is only firing with Rem >= Req. It needs to always fire, and to be smart enough to know when...
May 23, 2011 at 8:55 am
How does this work out? Check out this BOL link for how it this recursive common-table-expression works.
;
WITH cte AS
(
SELECT t1.idx,
t1.parentID,
...
May 23, 2011 at 8:19 am
bitbucket-25253 (5/23/2011)
QOD - easy enough to display the page to create and submit etc., etc.
When the submittal page displays...
May 23, 2011 at 7:47 am
May 23, 2011 at 5:33 am
May 23, 2011 at 5:32 am
MM - Lots! of good questions. I'm sorry that I don't have an answer for you, just what I barely remember from a while back.
May 22, 2011 at 9:37 pm
Viewing 15 posts - 1,321 through 1,335 (of 5,590 total)