Viewing 15 posts - 42,721 through 42,735 (of 59,067 total)
Ah... sorry, Ghanta... I've got just one more question...
Do you know how to BULK INSERT a file into a single column table or not?
--Jeff Moden
Change is inevitable... Change for the better is not.
July 25, 2009 at 11:17 pm
Ghanta (7/25/2009)
Jeff Moden (7/25/2009)
1st field - never quoted
2nd field -...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 25, 2009 at 11:11 pm
Jeff Moden (7/25/2009)
1st field - never quoted
2nd field - always...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 25, 2009 at 11:07 pm
BobMcC (2/18/2008)
I have discovered that the quotation mark is getting dual use. Not only is some...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 25, 2009 at 11:00 pm
Also, I don't see a single example of conditional quoting. It would appear to be a stable format as follows...
1st field - never quoted
2nd field - always quoted
3rd field...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 25, 2009 at 10:49 pm
Ok.... a couple of questions...
First, some data from your post...
[font="Courier New"]6053339541,"11 LONG CIRCULAR ROAD ,ST,JAMES,",05,this is a sample,"tiger, scott"
__________ ________________________________ __ ________________ ____________
6053339542,"11 LONG CIRCULAR ROAD ,ST,JAMES,",05,this is a sample,"tiger, scott"
__________ _____________________________________ __ ________________ ____________
6053448211,"L'ARGENTIERE BAT A, 637 BD TAVERNIERE",02,this is a sample,"tiger, scott"[/font]
1. Except for the first column (ID), the first 2 rows above appear to be duplicates. Should one...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 25, 2009 at 10:46 pm
Paul White (7/25/2009)
I quite fancy this one or this one
Anyone got any clever...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 25, 2009 at 10:33 pm
Jack Corbett (7/25/2009)
For Jeff, PRKCHPor
BACKUP
or
RSTORE
Heh... I prefer ...
NO RBAR
or
RTFM
or
MILTP41
or
DIEANSI
or my favorite...
TALLYTBL
--Jeff Moden
Change is inevitable... Change for the better is not.
July 25, 2009 at 10:20 pm
Paul White (7/25/2009)
I realize my point was slightly off-topic, but I couldn't resist the opportunity to discuss some of the subtleties.
Speaking of "off topic"... that's part of the reason...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 25, 2009 at 9:45 pm
matt stockham (7/24/2009)
Jeff Moden (7/24/2009)
happycat59 (7/23/2009)
Using COUNT(1) requires SQL Server to return all records that meet the criteria.
Ummmm.... nope... it doesn't... it stops searching as soon as it finds one...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 25, 2009 at 9:40 pm
Paul White (7/25/2009)
Splitting the data into 12 tables and using a partitioned view (available in all editions) will almost certainly perform better.
Steve Jones - Editor (7/25/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
July 25, 2009 at 9:35 pm
Heh... sorry Peter... Thought you were trying to flatten the trajectory of a pork chop for some reason. 😀 I'm a bit touchy because I'm trying to quit smoking,...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 25, 2009 at 9:27 pm
Ghanta...
I believe I have your solution. I'll post it both here and on SQL Team (your other post, I believe) but I wonder if you'd do me a...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 25, 2009 at 9:11 pm
Peso (7/25/2009)
Or see this topic from 2006...
Refreshers are never a bad thing. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
July 25, 2009 at 12:36 pm
Paul White (7/24/2009)
Lynn Pettis (7/23/2009)
Jeff Moden (7/22/2009)
Lynn Pettis (7/22/2009)
Why? Seeks are faster than scans.
Heh... because "A developer must not guess... a developer must KNOW." 😉 It'll be a...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 24, 2009 at 5:00 pm
Viewing 15 posts - 42,721 through 42,735 (of 59,067 total)