Showing posts with label design. Show all posts
Showing posts with label design. Show all posts

Sunday, March 11, 2012

AS2K5. Conversion Bool -> int makes true -> (-1).

AS2K5 does convertion from bool to int another way as AS2K did it.

I this a bug or by design?

Is this during processing? If yes, then you can always cast the column to the type you want in the DSV...

Thanks,

Akshai

|||No, it is in MDX. I have ported some AS calculated member expressions from Shilon to the Yukon and have accounted this uncompartibility issue.

AS2K5. Conversion Bool -> int makes true -> (-1).

AS2K5 does convertion from bool to int another way as AS2K did it.

I this a bug or by design?

Is this during processing? If yes, then you can always cast the column to the type you want in the DSV...

Thanks,

Akshai

|||No, it is in MDX. I have ported some AS calculated member expressions from Shilon to the Yukon and have accounted this uncompartibility issue.

Thursday, March 8, 2012

As2000 and Analysis Services provider

I can design the dataset using the graphical tools but the report refuses to
run, is there a work around. Presumably the problem will be fixed in the
next service pack?Hello Phil,
If you change the design mode to text, could you get the proper MDX? If you
run the MDX, could you see the correct results?
It seems you custom the data processing extension. Is this true and how you
perform this customization?
Best Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
>From: "Phil Nicholas" <PhilNicholas@.nospam.nospam>
>Subject: As2000 and Analysis Services provider
>Date: Tue, 7 Mar 2006 10:21:40 -0000
>Lines: 5
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
>X-RFC2646: Format=Flowed; Original
>Message-ID: <#8D4eCdQGHA.5592@.TK2MSFTNGP11.phx.gbl>
>Newsgroups: microsoft.public.sqlserver.reportingsvcs
>NNTP-Posting-Host: cpc2-norw3-4-0-cust28.pete.cable.ntl.com 82.25.55.28
>Path: TK2MSFTNGXA03.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
>Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.reportingsvcs:69941
>X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
>I can design the dataset using the graphical tools but the report refuses
to
>run, is there a work around. Presumably the problem will be fixed in the
>next service pack?
>
>

Thursday, February 9, 2012

are nulls bad

Hi

I am probably going to regret asking this because I'm sure you are going to
tell me my design is bad 8-) ah well we all have to learn...

anyway

I often use Nulls as a marker to see if certain tasks have been completed.

A typical example would be a column say invoice_value

when new work is entered and a new record is appended, I leave the
invoice_value column as NULL, so if I want a View for uninvoiced work I
check for the invoice_value being equal to NULL, and alternatively if I want
invoiced work, I check for not null. I did it this way to save putting in
another column that needed to be set to TRUE or FALSE. (I do similar things
elsewhere aswell)

so far everything seems to work OK but reading some old stuff on Google I
get the feeling that NULLS should be left alone, have I done wrong?

many thanks

AndyOn Tue, 25 May 2004 15:08:27 +0100, aaj wrote:

>Hi
>I am probably going to regret asking this because I'm sure you are going to
>tell me my design is bad 8-) ah well we all have to learn...
>anyway
>I often use Nulls as a marker to see if certain tasks have been completed.
>A typical example would be a column say invoice_value
>when new work is entered and a new record is appended, I leave the
>invoice_value column as NULL, so if I want a View for uninvoiced work I
>check for the invoice_value being equal to NULL, and alternatively if I want
>invoiced work, I check for not null. I did it this way to save putting in
>another column that needed to be set to TRUE or FALSE. (I do similar things
>elsewhere aswell)
>so far everything seems to work OK but reading some old stuff on Google I
>get the feeling that NULLS should be left alone, have I done wrong?
>many thanks
>Andy

Hi Andy,

I don't think NULLS are bad. I do think they arer tricky and many errors
have been caused by improper understanding of NULLS and three-valued
logic.

As to your design- I don't think it's bad. In similar cases, I tend to use
a column that stores the date/time a task is finished. And (like you) I
use column_name IS NULL (*not* column_name = NULL!!!!) to find unfinished
work.

Best, Hugo
--

(Remove _NO_ and _SPAM_ to get my e-mail address)|||aaj,

I agree with Hugo, but here's an alternate viewpoint from Aaron's site:

http://www.aspfaq.com/show.asp?id=2073

-Andy

"aaj" <a.b@.c.com> wrote in message
news:40b3535b$0$6275$afc38c87@.news.easynet.co.uk.. .
> Hi
> I am probably going to regret asking this because I'm sure you are going
to
> tell me my design is bad 8-) ah well we all have to learn...
> anyway
> I often use Nulls as a marker to see if certain tasks have been completed.
> A typical example would be a column say invoice_value
> when new work is entered and a new record is appended, I leave the
> invoice_value column as NULL, so if I want a View for uninvoiced work I
> check for the invoice_value being equal to NULL, and alternatively if I
want
> invoiced work, I check for not null. I did it this way to save putting in
> another column that needed to be set to TRUE or FALSE. (I do similar
things
> elsewhere aswell)
> so far everything seems to work OK but reading some old stuff on Google I
> get the feeling that NULLS should be left alone, have I done wrong?
> many thanks
> Andy|||Thanks for the replies, I feel a little better

I'll give the link some more study

thanks again

Andy

"aaj" <a.b@.c.com> wrote in message
news:40b3535b$0$6275$afc38c87@.news.easynet.co.uk.. .
> Hi
> I am probably going to regret asking this because I'm sure you are going
to
> tell me my design is bad 8-) ah well we all have to learn...
> anyway
> I often use Nulls as a marker to see if certain tasks have been completed.
> A typical example would be a column say invoice_value
> when new work is entered and a new record is appended, I leave the
> invoice_value column as NULL, so if I want a View for uninvoiced work I
> check for the invoice_value being equal to NULL, and alternatively if I
want
> invoiced work, I check for not null. I did it this way to save putting in
> another column that needed to be set to TRUE or FALSE. (I do similar
things
> elsewhere aswell)
> so far everything seems to work OK but reading some old stuff on Google I
> get the feeling that NULLS should be left alone, have I done wrong?
> many thanks
> Andy