Viewing 15 posts - 52,366 through 52,380 (of 59,091 total)
Heh... the correct answer is that no one has yet defined what a NULL in the age column is actually supposed to represent. Therefore, the possibilities are endless until...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2008 at 11:54 am
karthi (2/25/2008)
Hi,I have a flat file without delimiters. The format is like
L10123444 221
but Col1 = L;col2=1;col3=0123444 etc...
how to import this kind of flat file
Thanks in advance
All of the methods...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2008 at 10:19 am
I'm with Jack on this one, Chris... a rewrite should be an opportunity to do things much better. I'd look at the code you're getting to rewrite and bust...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2008 at 10:05 am
How confident are you that you can formulate a query to pprecisely answer a particular question?
How would you know if it was "wrong"?
It goes back to exactly what...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2008 at 9:19 am
Man, I agree with that... personal choice on such things is rare indeed. If you do get to make the choice, despite what I or anyone else says, choose...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2008 at 8:00 am
Well I'll be darned... you remembered that? 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2008 at 7:54 am
Yeaup... I agree... and that's what I meant. You must define what NULL means as part of the design of the table and you must understand what it means...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2008 at 7:42 am
Although XML would have a grand draw here, I loath it because of the duplicated data in the form of tags. A 1 mega-byte flat file can take 8...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2008 at 6:53 am
No... I wouldn't use a CHAR(1) for this... if there are predetermined numeric codes, it's by design... perhaps a requirement for a different app. Having to translate meanings between...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2008 at 6:38 am
I know of no advantage... I did a test once on a 10 million row table where it seemed to run a couple ms faster without BEGIN/END... but nothing real...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2008 at 6:30 am
Yeaup... I agree... BCP will work, as well.
Big problem with both methods (xp_CmdShell/BCP and sp_OA*) is that they both require some extraordinary privs (SA) to execute. That's not necessarily...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2008 at 6:17 am
Andrew (2/25/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2008 at 6:07 am
None of your questions in the poll pertain to the actual use of nulls. Nulls simply mean "unknown". They are a powerful tool that are frequently misunderstood.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 24, 2008 at 9:59 pm
So... you know what to do, Loner... take control...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 24, 2008 at 9:26 pm
Loner (2/24/2008)
I feel liked I am doomed...
And, that is your ONLY problem... you must use your (if I may) God-gifted intelligence to overcome such problems and realize that you are...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 24, 2008 at 9:23 am
Viewing 15 posts - 52,366 through 52,380 (of 59,091 total)