Viewing 13 posts - 136 through 148 (of 148 total)
Unfortunately I have no control over the text file format.
I'll ask him to have a look at his regional settings, but I'd expect them to be EN UK -...
October 22, 2009 at 1:31 am
Hi Howard,
Im using dd-mmm-yyyy. I've also tried set dateformat dmy without any joy.
Thanks, Iain
October 21, 2009 at 10:01 am
You need to aggregate the data down before running the update. Given that your case statements are additive, then if you always have positive values in t2 you can use...
October 13, 2009 at 6:31 am
How about a cross join?
Using Bitbucket's test tables above:
select bs.Id, bs.Something, ss.SFOR
from #BeingSearched bs
cross join #SString ss
where charindex(ss.SFOR, bs.Something) <> 0
Note this returns multiple hits per searched row due...
October 13, 2009 at 3:08 am
Could this be the first ever 'we recommend a cursor' post on SSC?
Think I might print this page and frame it 🙂
July 30, 2009 at 8:12 am
Exactly 😀
Thankfully it's also a one off job, with a fixed data volume. The brief explicitly states "Performance is not an issue".
Until someone decides it isn't fast enough that...
July 30, 2009 at 2:46 am
Hi Jeff,
Interesting point, not something that had even entered my mind. Definitely interested in seeing how I can root these out.
I've taken a look at your article on triangular joins,...
July 29, 2009 at 10:13 am
Hey all,
Sorry to post in an old topic, but I figured out a solution that works for my situation and thought I'd share.
First, a bit of background:
I'm allocating 'payments' to...
July 28, 2009 at 10:02 am
Hi,
Sorry for the slow reply - been beavering away.
Just a short note to say that J-F's method of embedding the case statment within the cte definition worked a treat. Thanks,...
June 11, 2009 at 11:21 am
Hi ajitgadge,
Batch sizing is another of my vexing questions at the minute. Is there a way other than trial and error to decide the optimum batch size?
Thanks, Iain
May 13, 2009 at 4:34 am
Thanks Ed, am underway with a planning memo, detailing all of the assumptions, limitations and issues I can come up with.
Have been burnt before on that one... 🙂
I've also...
May 13, 2009 at 4:22 am
Hi Ed,
Interesting. I'm in situation b.
I'd thought about CLR as a possible solution, but being honest, my VB/C# isn't up to the job. So, I'm prepared to take a...
May 13, 2009 at 3:50 am
Hi Flo, thanks for the reply.
I initially thought about a simple while loop structure as you've suggested but think that using the SQL Agent gives me a couple of advantages:
I...
May 1, 2009 at 6:40 am
Viewing 13 posts - 136 through 148 (of 148 total)