Viewing 15 posts - 346 through 360 (of 2,651 total)
reason why you got "double quotes" is because you set the field quote to an empty string - try the basic import
e.g. remove the following 2 options
, FIELDQUOTE = ''
,...
November 13, 2023 at 6:54 pm
first - while you mentioned you had "memory errors" the errors you supplied had nothing to do with memory, but only with a file format error when using the bulk...
November 13, 2023 at 4:10 pm
How can I automate this? Like if I had multiple of such files to import. Will I have to just follow the same process?
yes. a standard pattern for this...
November 12, 2023 at 10:12 am
whenever I see these errors on BCP its one of the following
...
November 12, 2023 at 8:42 am
have a look at the code below.
basically I've created a temp table (on your case it would be a Permanente one) staging table to load the raw data
these types of...
November 11, 2023 at 10:26 pm
replace the strings and values with others - as long as the position and sizes are the same it will do - without it not much we can tell.
but regardless...
November 11, 2023 at 12:48 am
a text file would never look like that - that has formatting that would not be possible on a text file so you are showing us potentially a rendering of...
November 11, 2023 at 12:35 am
Also, if the %of duplicates is higher than the % of singles, then it may be better to copy the singles into a new table and switch out...
November 10, 2023 at 10:35 am
have you read the manual?
November 8, 2023 at 11:30 pm
you already have the sql to execute - you just need to copy and paste the 2 lines and reduce the size accordingly yourself
November 7, 2023 at 5:19 pm
you were given options and directions on your prior post - what did you do with it and if you did try it what was the result?
https://www.sqlservercentral.com/forums/topic/shrinkfile-option-not-working
and shrinkdatabase is not...
November 6, 2023 at 6:53 pm
that is a SQL issue - not VS or Schema compare issue.
basically server needs more memory or needs to have less memory allocated to SQL Server - other processes running...
November 6, 2023 at 6:09 pm
WOW, Frederico, YYY999 as variable names. Yes, at least "VSC" did make sense, given that we worked with a data that was called "Voucher Service Code". The naming convention...
November 6, 2023 at 4:19 pm
I totally agree, Louis! Once I had a coworker who hated naming anything like VoucherServiceCode. She insisted that all columns in tables had to be abbreviated, so in this...
November 6, 2023 at 2:21 pm
Why are you duplicating this question? I don't see a link suggesting this is spam, but the answers to that almost identical question are going to be...
November 5, 2023 at 9:24 pm
Viewing 15 posts - 346 through 360 (of 2,651 total)