Viewing 15 posts - 3,631 through 3,645 (of 4,085 total)
forsqlserver (9/1/2011)
Thanx Allen
It's either Drew or Mr. Allen.
Can u help me in start with practical LABS for MSBI and SSAS and MOSS.
That's beyond the scope of this site. There's...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
September 2, 2011 at 9:59 am
Yes, SSAS is a component of MSBI, which usually utilizes SSRS and SSIS and sometimes MOSS. Loosely defined, MSBI doesn't even need to include SSAS. It can be...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
September 1, 2011 at 7:48 am
herladygeekedness (8/31/2011)
Gees, Drew, sorry to piss you off so thoroughly.
Proffering bad advice does a disservice to everyone who reads these forums. I wanted to make absolutely clear that I...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
September 1, 2011 at 7:32 am
kramaswamy (8/31/2011)
If I understand the OP correctly, there's a whole bunch of servers and machines which...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
September 1, 2011 at 7:14 am
stupid48 (8/31/2011)
I need to loop through all the records one at a time
You're not thinking about this as a set-based operation. As Jeff Moden recommends in his signature, the...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
September 1, 2011 at 6:57 am
herladygeekedness (8/31/2011)
Yep, OLE Automation is your answer. Look into creating Access databases programmatically. Presumably it can be adapted to SSIS but I've not done it except from VBA.
How...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 31, 2011 at 12:30 pm
If there is nothing in the outer query that limits the account code, you can use a CROSS APPLY instead.
SELECT p.ORDENV, p.acountcode, p.Description, m.CodeAgency, m.Balance
FROM dbo.T_PLANT1 AS p
CROSS APPLY (
SELECT...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 31, 2011 at 11:55 am
MDX is as different from T-SQL as T-SQL is from procedural languages. While it's possible to "translate" T-SQL into MDX just as it's possible to "translate" procedural languages into...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 31, 2011 at 9:05 am
My MDX is quite rusty, but the issue is that when you calculate your running total you are using currentmember for the time dimension when you want to be using...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 30, 2011 at 10:27 am
I was able to get around a similar problem with fuzzy grouping by partitioning on one of the grouping fields using a ForEach ADO Enumerator. This worked, because I...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 30, 2011 at 9:29 am
ColdCoffee (8/29/2011)
; WITH CharsConvertedToDate AS
(
SELECT ID , SomeValue , FourCharDate ,
RN = ROW_NUMBER() OVER ( PARTITION BY SomeValue ORDER BY ...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 30, 2011 at 8:43 am
Wouldn't it be easier to convert your constant '1970-01-01' UTC to local time than convert your variable local time to UTC time, particularly since DST is driven by local time?...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 29, 2011 at 11:46 am
Save yourself some trouble and combine your columns 2 and 3 into one column with the appropriate numeric type. SSIS can handle postfixed signs.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 26, 2011 at 2:03 pm
I think this is what you are looking for.
WITH Test(TestField) AS (
SELECT 'aaa'
UNION
SELECT 'abc'
UNION
SELECT 'bbb'
UNION
SELECT 'bcd'
UNION
SELECT 'ccc'
UNION
SELECT 'cccccc'
UNION
SELECT 'cccccccccccccccccccccccc'
)
SELECT *
FROM Test
WHERE NOT TestField LIKE '%[^' + Left(TestField,1) + ']%'
It basically...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 26, 2011 at 8:38 am
I never said anything about adding square brackets. Those tell SQL to treat your filter as if it were the name of a single item.
You may want to put...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 25, 2011 at 3:08 pm
Viewing 15 posts - 3,631 through 3,645 (of 4,085 total)