Viewing 15 posts - 196 through 210 (of 236 total)
Hi Eric
The procedure what i am calling is on different server and has only insert statement. am not returning. but i would like if it returns affected rows. Also...
July 9, 2014 at 1:06 pm
When i execute the above query here is the error am getting
Msg 7357, Level 16, State 2, Line 1
Cannot process the object "
...
July 9, 2014 at 12:41 pm
Hi Eric,
Soryy for the late reply i was into my customer meeting. Here is what i am getting from the last query,
SELECT * ...
July 9, 2014 at 12:32 pm
Hi Eric,
Thakns for your reply and when i execute am getting sysntax error
declare @IdEmployee int = 11,@Name varchar(20) = 'Peter';
EXEC('SELECT *
...
July 9, 2014 at 8:04 am
can anyone please help me in this regard
July 8, 2014 at 9:40 am
Hi Craig,
Thanks for your reply. I will not be using this mechanism often. also i am informed to use non linked server that's why i started to do the research....
July 7, 2014 at 6:58 pm
Some time mind doesn't working to get easy logic
Here is the way i achieved.
select
stuff
(
coalesce(', ' + cast(@id1 as varchar(10)), '') +
coalesce(', ' + cast(@id2 as varchar(10)), '') +
coalesce(', '...
June 6, 2014 at 7:43 pm
this is my next try,
set @id1 = 60
select coalesce(cast(@id1 as varchar(10)),'') + ',' + coalesce(cast(@id1 as varchar(10)),'') + ',' +
coalesce(cast(@id1 as varchar(10)),'')
it gives the result as 60,,
I...
June 6, 2014 at 7:29 pm
Hi Sean and Luis ,
thanks for your assistance. Unfortunately the design couldn't be changed at this moment. I also thought about that. Appreciate your time on this.
May 14, 2014 at 1:37 pm
Hi piet,
I agree. i already tried with function and it kills the time. thank you for your suggestion. Appreciate your time.
May 13, 2014 at 7:39 pm
Thanks for the reply,
Yes i do agree. Is there any way to achieve these kind of search functionality? Any suggestion please
May 13, 2014 at 7:12 pm
I tested. am correct. Sorry to bother.
In terms of speed it is excellent. Thanks for the help. Outer apply logic is excellent and very fast
May 13, 2014 at 11:47 am
If am not wrong this will be the query
select
c.IdCompany,
c.CompanyName,
case when oa.CompanyCode is null then c.CompanyCode else oa.CompanyCode end...
May 13, 2014 at 11:45 am
Hi Lyn, it is super fast. i have tested on my. but have another query about on your logic, if need to bring the another column of child.
Structure:
Create Table dbo.Company(
...
May 13, 2014 at 11:32 am
Thanks Lynn, can i conclude the moral of this comparison that The first logic takes very little time then other two and also faster.
Also i will be testing...
May 12, 2014 at 7:48 am
Viewing 15 posts - 196 through 210 (of 236 total)