Viewing 14 posts - 1 through 14 (of 14 total)
Guys,
It turns out that we could just write a SQL snippet and wrap up with paranthesis as it is an expression.
Below is working
(select case
when PureYOA = '[?]' then '[?]'...
October 4, 2012 at 5:06 am
something like this should work...
declare
@ErrorMessage NVARCHAR(4000),
@ErrorNumber INT,
@ErrorSeverity INT,
@ErrorState INT,
@ErrorLine INT,
@ErrorProcedure NVARCHAR(200)
begin try
begin Tran
.....
...
August 16, 2012 at 5:16 am
Has anyone experienced such an issue please?
May 16, 2012 at 7:12 am
Hi Adi,
Thank you for your advice. And yes you are right. What I meant was all the columns that in out put list of all columns on join condition.
We are...
April 24, 2012 at 9:32 am
Hi,
Thank you for your reply.
It was a backup and restore and part of the migration plan, we've updated stats and rebuilt indexes. This is infact a puzzling bit. It...
April 20, 2012 at 2:21 am
Hi All,
Has anyone have idea about this please?
Thanks
Enis
April 13, 2012 at 9:37 am
Hi Guys,
I have found what the problem was. This table has 19 non clustered in all of the foreign keys most of which are not even used anywhere. I have...
February 28, 2012 at 3:46 am
I have attached the cutdown version of the procedure
February 28, 2012 at 2:48 am
Hi,
Thanks for the reply first of all. Also most of the text seems to have been removed from the context. I don't why it happened. This time I have...
February 28, 2012 at 2:35 am
Hi Dan,
It is about 1 million. Do you think it would be better I use a temp table.
Thanks
Enis
June 13, 2011 at 2:18 am
Hi Gail,
Attached is the new SQL query plan and results seem to be identical that of original query so far.
Performance improved massively by the way. Thank you
Regards
Enis
June 10, 2011 at 7:28 am
Hi Gail,
You are absolutely right. I am testing it right now and it looks good so far. It is early stages but it should be fine.
Once the query runs I...
June 10, 2011 at 4:28 am
Hi Gail,
That's a very good idea actually. I think it will speed up the query considerably. I am not sure whether the granularity will be lost as you removed a...
June 10, 2011 at 4:07 am
Hi Grant,
Thank you for your response.
The idea behind the view was to running one query to bring multiple measures rather than run the same query as many as number of...
March 24, 2011 at 8:28 am
Viewing 14 posts - 1 through 14 (of 14 total)