Viewing 15 posts - 48,301 through 48,315 (of 59,095 total)
BTW... as you already know, the rows you originally posted import just fine because they are, despite appearances, properly formatted CSV's. The delimiters also line up and could be...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2008 at 10:37 pm
You want the rows you posted to be split instead of imported?
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2008 at 10:31 pm
Heh... understood... and I frequently do the same thing if the file is crap...
... but that's not what you asked.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2008 at 9:22 pm
Dave (9/15/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2008 at 9:19 pm
I found the URL I was thinking about.
http://sqlblog.com/blogs/hugo_kornelis/archive/2008/03/10/lets-deprecate-update-from.aspx
I disagree with just about everything he says there. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2008 at 8:30 pm
Sorry for the delay...
Absolutely the easiest way to read a "properly formed" CSV file is using OpenRowSet. If the file is called "ImportTest.csv" and it's stored in "C:\Temp", and...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2008 at 8:23 pm
Pam Brisjar (9/15/2008)
Hey Jeff - Just wanted to say I've been using your RBAR acronym in my interviews. It really gets the point across.
Glad it helps, Pam. Thanks...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2008 at 6:17 pm
Think of spt_Values as a "config" table for SQL Server. I just happen to know that there's a set of sequential numbers from 0 to 2047 in SQL Server...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2008 at 6:07 pm
Marios Philippopoulos (9/14/2008)
Jeff Moden (9/14/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2008 at 5:59 pm
dulanjan (9/15/2008)
so yeah if you put in any consecutive saturday and sunday you get...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2008 at 5:57 pm
jmuldoon (9/15/2008)
Heh... imagine this... there are some folks that think the FROM clause in an UPDATE is a bad thing.
I would be interested in hearing any argument(s)...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2008 at 5:49 pm
Basically, it's just like what's there already... a bunch of identical tables with different ranges of a column or columns. You create a view using SELECT/UNION just like you...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2008 at 5:42 pm
{said in the same tone that Homer Simpson says "Doooonuuttts"}
Mmmmmmm.... Pork Chops... 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2008 at 5:38 pm
Grant Fritchey (9/15/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2008 at 10:34 am
That's what I really meant... what were the inputs. Thanks for the 13th/14th of this month. I'll give it a try.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2008 at 10:28 am
Viewing 15 posts - 48,301 through 48,315 (of 59,095 total)