Viewing 15 posts - 1,156 through 1,170 (of 1,554 total)
Well, it depends.
The difference isn't that great, and don't forget that the sole purpose of bcp is to get the content from the file into a table with as less...
March 2, 2005 at 1:49 am
That is the point Frank is trying to make - you need a primary key and sorting as well.
/Kenneth
March 1, 2005 at 7:53 am
BOL (Books On Line) is your #1 stop for that info.
Though formatfiles can be handy, they can also be a pita to get working, so keep the one-line staging table...
March 1, 2005 at 7:49 am
As a pure history record, it seems reasonable to record it as clearly and independent as possible. ie if you log the actual names of users, users can be removed...
March 1, 2005 at 7:46 am
You can still use bcp - either with a format file that correlates against the fixed format file, or you can bcp it into a one-column staging table, and as...
March 1, 2005 at 7:42 am
The idea with semaphore files, is that the sender sends a specially named file after the sender has completed the transfer of the data file. This way, the receiver needs only...
February 16, 2005 at 5:15 am
I do this kind of stuff by just scheduling a job in SQL Server - works for me
Just a note on files... You...
February 11, 2005 at 1:47 am
Another thought struck me - how are you viewing the files?
I did some very quick and unscientific tests with data that had en EOF in it. BCP always reported all...
February 10, 2005 at 8:00 am
Umm, well... spaces are not <zero-length values>, nor are they the same as NULL. They are charachters just like 'abc'. A bunch of spaces may however be treated differently (ie...
February 10, 2005 at 5:02 am
If you were the sp, how would you then know if the file has arrived?
Either someone tells you, or you just go yourself and have a look, right?
February 10, 2005 at 3:14 am
ANSI/OEM conversions is a major issue for everyone dealing with extended ASCII, and is something you always need to lookout for.
Here's a few links more or less on the subject...
February 10, 2005 at 3:11 am
Dunno about any limitations, I don't think there are, this is just the ususal pain us extended ascii users can expect.
This is also...
February 9, 2005 at 8:25 am
Does the <zero-length value> contain a CR or LF character?
/Kenneth
February 8, 2005 at 8:08 am
Another suggestion - don't map remote drives, use fully qualified UNC paths instead.
ie copy \\REMOTESERVER\remoteShare\myFile.txt c:\localFolder\myFile.txt
/Kenneth
February 8, 2005 at 3:25 am
Not sure, really, but you seem to have some conflicting switches..
You're using native mode (/n) and unicode chars (/w) and also says that no conversion should occur (/CRAW)
What happens if...
February 8, 2005 at 3:22 am
Viewing 15 posts - 1,156 through 1,170 (of 1,554 total)