Viewing 15 posts - 31 through 45 (of 55 total)
That removes the row though. I want to keep the row but not have it included in the total.
April 17, 2020 at 12:41 pm
Would this work to only have to hit run and it would import and create the table?
if object_id('DE_IDENTIFIED.dbo.test') is not null
drop table DE_IDENTIFIED.dbo.test
if object_id('DE_IDENTIFIED.dbo.PROVIDER_INFO_1') is not null
drop...
April 13, 2020 at 6:28 pm
Cool, it seems to work well. Two questions.
April 13, 2020 at 4:57 pm
create table de_identified.dbo.test
(recordtype varchar(3)
,record varchar(500)
)
BULK INSERT de_identified.dbo.test FROM 'C:\dident\PRV414WSW\PRV414SW.txt'
April 13, 2020 at 3:50 pm
I get the following error:
Msg 4866, Level 16, State 1, Line 8
The bulk load failed. The column is too long in the data file for row 1, column 1. Verify...
April 13, 2020 at 3:28 pm
Do I just replace the part he has the select and from with a bulk insert?
April 13, 2020 at 3:03 pm
This is unedited other than deleting lines so it is small enough.
April 9, 2020 at 4:50 pm
I've attached a sample text and the import specs. Thanks!
April 9, 2020 at 4:04 pm
Thanks. I think they are the same when including spaces. They come from the government as a .dat file and they won't change so I'm stuck with these. I've added...
April 9, 2020 at 11:51 am
Thanks. Unfortunately I do not have ssis. Only SSMS.
April 7, 2020 at 3:47 am
Right now they are being imported into access. There is one spec for the rows that start with '1' and one spec for the rows that start with '2'. Then...
April 6, 2020 at 10:53 pm
Do you mean the spec part? If so that is just a sample of the first few. I can post them all if needed.
April 6, 2020 at 8:53 pm
I have a date calendar table. I'm just not sure how to use it to find the weeks between a date range.
April 2, 2020 at 2:10 am
What do you mean by real dates?
December 27, 2019 at 4:46 pm
Thanks. Yeah it is really bad data and no one here cared about the data types. They thought making dates integers would fix the y2k issues that never happened in...
December 26, 2019 at 5:04 pm
Viewing 15 posts - 31 through 45 (of 55 total)