Viewing 15 posts - 1,771 through 1,785 (of 7,636 total)
Jan Van der Eecken (8/12/2009)
Barry, your change of Avatar seems to have worked magic. But do we now really also have to call you "Sir" Barry?
Uhm, ..., yeah sure, let's...
August 12, 2009 at 9:14 pm
Glad I could help.
August 12, 2009 at 3:51 pm
And here's how to use a View like a function:
SELECT
*
, (SELECT TopUnit FROM OrgLevels WHERE OrgUnitID = @OrgUnitID) as TopUnit
FROM YourTable
WHERE ...
August 12, 2009 at 3:46 pm
Here's a correction to my View that should help:
CREATE VIEW OrgLevels AS
WITH cteRecur AS (
SELECT r.OrgUnitID, o.Parent, 1 as Lvl, r.OrgUnitID as TopUnit
FROM RSUNew r
LEFT JOIN ISC_OrgUnits o ON r.OrgUnitID...
August 12, 2009 at 3:43 pm
You can call a view from any where in SQL, why wouldn't you want that?
August 12, 2009 at 3:40 pm
Like this:
Set @ months = (SELECT ADateFiled from TableA WHERE ...)
August 12, 2009 at 3:34 pm
The reviewers wouldn't necessarily have to be anonymous in the forum itself, as long as no one else could get into the forum. All you should need is what...
August 12, 2009 at 2:33 pm
jbarker4682 (8/12/2009)
Jack Corbett (8/12/2009)
RBarryYoung (8/12/2009)
August 12, 2009 at 2:30 pm
Jack Corbett (8/12/2009)
RBarryYoung (8/12/2009)
August 12, 2009 at 2:23 pm
clarence.cheng (8/12/2009)
August 12, 2009 at 2:14 pm
Steve:
I like the idea of volunteers reviewing the submissions, but I share some of the concerns others have mentioned also. But as I see it, ultimately, this...
August 12, 2009 at 2:06 pm
If you want to test for a network/display type issue, then change your SELECT query to a SELECT .. INTO #temp and time that. If it is significantly faster,...
August 12, 2009 at 1:49 pm
clarence.cheng (8/12/2009)
August 12, 2009 at 1:38 pm
Viewing 15 posts - 1,771 through 1,785 (of 7,636 total)