Viewing 15 posts - 52,636 through 52,650 (of 59,064 total)
Adam Haines (2/7/2008)
Good solution Jeff, simply amazing. 😉
Thanks, Adam :blush:
February 7, 2008 at 7:26 pm
Just a couple of suggestions, folks...
First, there is no need for a loop in the creation of a "Tally" or "Numbers" table. Second, to be truly effective and to...
February 7, 2008 at 6:56 am
Yes... the solution is posted above... the server must be logged into the domain as a user that can actually "see" the file path.
February 7, 2008 at 6:18 am
First, mailing you the solution wouldn't do anyone else any good...
Second, take a look at BCP in Books Online... it's likely your best bet.
February 7, 2008 at 6:14 am
Import 1 line and count the LEN difference between the line with delimiters and the line where the delimiters have been replaced with nothing and add 1 to that.
For fixed...
February 7, 2008 at 5:59 am
Chirag (2/6/2008)
I have a doubt abt the index selection when i ran your code
in the article ' Running total.......'
I created the table dbo.JBMTest , added the clustered...
February 7, 2008 at 5:51 am
Matt Miller (2/5/2008)
Jeff Moden (2/5/2008)
February 7, 2008 at 5:22 am
Perfect... another "convert" to denounce the evils of RBAR 😛
Thanks, for the feedback, Whitt. Real glad we could collectively make such a difference for you.
February 6, 2008 at 6:52 pm
Tony McGarry (2/6/2008)
I doesn't generate unnecessary numbers and is easy to understand
[font="Courier New"]CREATE FUNCTION dbo.GetSequence
(
@Start BIGINT,
...
February 6, 2008 at 6:31 pm
How in the world did you get parallel execution out of it? I've tried it on both a 4 CPU and an 8 CPU SQL 2k SP4 installation and...
February 6, 2008 at 6:14 pm
Thanks for the retest, John 🙂
Sure... Matt and I go round'n'round... it's all in good nature and we both learn things in the process. Hopefully, everyone both understands that...
February 6, 2008 at 6:09 pm
GSquared (2/6/2008)
Yes, if you for some reason need to create a list of sequential numbers on...
February 6, 2008 at 7:33 am
Very nicely done, Jacob.
Please... not trying to take anything away from this great article... just sharing a different method...
As a slightly easier to remember (and, a bit faster, too) approach...
February 6, 2008 at 7:13 am
Sorry James,
It's a "numbers" table that consists of nothing but a column of well indexed sequential numbers. Matt, Peter (Peso), and a lot of the others know about it....
February 6, 2008 at 5:45 am
I pretty much agree with Matt... yeah, I'm all about speed and performance... but only when I've done job #1 which is to protect the data at any and all...
February 5, 2008 at 5:48 pm
Viewing 15 posts - 52,636 through 52,650 (of 59,064 total)