Viewing 15 posts - 256 through 270 (of 441 total)
What does it look like once you export it, and how do you export it, can you show us the query you ran?
Thanks
June 8, 2009 at 12:53 pm
irobertson (6/8/2009)
Can I conditionally select from a cte? I'm not sure it's possible.
E.g.
declare @input_variable int
;with cte as (
select Col1
, Col2
, Col3
, Col4
from MyTable
)
if @input_variable = 1
begin
select sum(Col1)...
June 8, 2009 at 9:19 am
Hi,
I'm not sure I get what you are looking for here. You say you now have a after hour solution to fix your data (date between last purchase). Now, do...
June 4, 2009 at 2:59 pm
Lynn Pettis (6/4/2009)
June 4, 2009 at 1:06 pm
Lynn Pettis (6/4/2009)
For some reason, I can't post the code directly. Please see the attached file for something I hope helps.
Hey Lynn, I've been trying to do this query...
June 4, 2009 at 12:07 pm
I'm glad it helped Simon,
Have a nice day, and yes, execution plans are REALLY useful to know, 😉
June 4, 2009 at 11:54 am
Hi Simon,
I've used your query to show you the difference between the indexed tables, and non indexed tables.
Practically, you don't see much difference because the data you query is long,...
June 3, 2009 at 8:27 am
jchesnut (6/1/2009)
I'm not sure if it matters but I used SSIS to import the data into my DB too...:w00t:
select distinct servername,
ltrim(servername)
as...
June 1, 2009 at 3:12 pm
Hi,
A trigger gets fired once for every sql batch it is assigned.
In example, it you do something like this :
Insert into table A (ID, text)
select top 10 ID, text...
June 1, 2009 at 3:08 pm
jchesnut (6/1/2009)[hr}
select distinct servername
from fs_filestats;
then you will need to do something like this, to get the distinct trimmed server names.
select distinct LTRIM(servername) as TrimmedServerName
from fs_filestats;
Hope I understood you,
June 1, 2009 at 2:57 pm
Your 2 top rows look finely left trimmed, what are you trying to accomplish, are you trying to remove the spaces between the 2 words?
Can you explain what you are...
June 1, 2009 at 2:41 pm
Thanks guys, I'll keep on looking on BOL, and try to make sense of it all.
I'll also check for articles by Brian Kelley,
Thanks again,
May 22, 2009 at 1:01 pm
Thanks Roy, this has helped a lot, I understood a bit more how the security works, like by Database. This all looked like really complicated at first, but looks better...
May 22, 2009 at 12:10 pm
Pieter (5/21/2009)
Although I haven't worked with table-value functions, I am not sure that they work for my scenario. The validated phone number needs to be linked up to the original...
May 21, 2009 at 1:39 pm
Florian Reischl (5/20/2009)
@J-F:I stopped your function at two minutes.
Greets
Flo
Ouch... And I thought it would perform better... Do you have the exec plan Flo, just for reference.
Thanks,
May 21, 2009 at 6:53 am
Viewing 15 posts - 256 through 270 (of 441 total)