Viewing 15 posts - 3,976 through 3,990 (of 4,087 total)
Yes, you can use a WHILE loop, but I would not recommend it. According to the execution plan the WHILE loop is 24 times as expensive as the Tally...
September 3, 2009 at 5:25 pm
Mh (9/3/2009)
with set [Hrsused] as
'filter({[Dim Time].[Hour].Children},[measures].[Appt count] > 0)'
member
[dim time].[hour].[Hrsworked]
as 'count({[Hrsused]})'
please let me know how I can get the above result using...
September 3, 2009 at 5:02 pm
inuts (9/2/2009)
Can anyone guide with a logic for why ANSI_NULLS is ON by default?
Because it's the standard and it increases code portability. On top of that, it's easy...
September 3, 2009 at 9:46 am
Dave Ballantyne (9/3/2009)
Also it will not detect if the initial receipts are missing.
Do you know the expected ranges to...
September 3, 2009 at 9:07 am
The key that you are using for your month dimension represents both the month and the year even though the name column you are using shows only the month. ...
September 3, 2009 at 8:06 am
It helps if you have a tally (or numbers) table, but it's easy enough to generate one on the fly. I've used the sys.columns table here, which should be...
September 3, 2009 at 7:39 am
Here is what I believe is happening. Your FROM statement is doing an implicit join on the two tables. It is then calculating the original value for each...
September 2, 2009 at 11:41 am
peterzeke (9/2/2009)
September 2, 2009 at 10:55 am
Just to clarify. Shouldn't 4, 5, and 6 be in the same group, because the length of time between 4 and 5 is less than 60 and the length...
September 2, 2009 at 9:25 am
Try this approach.
WITH UpdateRank AS (
SELECT RecordTS, ObjectID, Value, Row_Number() OVER ( PARTITION BY ObjectID ORDER BY RecordTS Desc) AS RowNum
FROM #mysourcetable
)
UPDATE...
September 1, 2009 at 10:20 am
You DO NOT want to do a CROSS JOIN here. The problem with your original query is that a LEFT outer join will return all records from the LEFT...
September 1, 2009 at 9:54 am
The Conditional Split Task can only access information in the Data Flow, so you need to do your lookup before you get to the conditional split. You'll also need...
September 1, 2009 at 8:31 am
Without access to your cube, it's really hard to come up with the exact syntax, but you're going to need something like the following
Generate(
( x.CurrentMember, y.CurrentMember...
August 30, 2009 at 11:54 am
You haven't really given enough information for us to help you. Do you want the max date for the entire cube, for "Y Name", or for the "My Name,...
August 29, 2009 at 11:13 pm
Riz Gulamhussein (8/29/2009)
In your original posting, I'd say it's the SELECT that's failing even before the WHERE is applied.
Nope. SQL evaluates the WHERE clause before it evaluates the SELECT...
August 29, 2009 at 12:36 pm
Viewing 15 posts - 3,976 through 3,990 (of 4,087 total)