Viewing 15 posts - 6,661 through 6,675 (of 59,070 total)
Sorry... post deleted. Looking at it all again.
July 30, 2020 at 10:02 pm
Change all the /100 things to /100.0
July 30, 2020 at 9:01 pm
It worked find for me as just \ n (without the space). The 0x0a thing will also work. For those that are reading this and don't know, that is the...
July 30, 2020 at 6:32 pm
I know it's an option in SQL Prompt... but... I do not think the inclusion/exclusion of quoted identifiers is a configurable scripting setting in SSMS.
Ah... my apologies. It's only...
July 30, 2020 at 6:26 pm
Andy Mallon has a procedure to remove them.
https://am2.co/2018/07/removing-square-brackets-from-generated-ssms-scripts/
It's no longer needed if you have the later versions of SSMS. It's actually a setting now and, IIRC, it also...
July 30, 2020 at 5:06 pm
I did run some tests. On SQL 2014 it is taking approx 8 - 10 hrs and on SQL 2017 it is taking less than 2 hrs. I can't...
July 30, 2020 at 5:04 pm
Heh... "Computing Revolution". I call it the "Dust Revolution" because data and code is just like dust... it accumulates on horizontal surfaces (and sometimes sticks to vertical surfaces in the...
July 30, 2020 at 4:52 pm
It's the nature of the beast and, to be honest, the brackets are the preferred method (in SQL Server, anyway) for using reserved words and object names that contain spaces,...
July 30, 2020 at 3:21 pm
BTW... I left a bit of a test in the table creation code and you should change it. The first column should be a BIGINT and not VARCHAR(11).
July 30, 2020 at 3:14 pm
p.s. Try it with my changes to the table and the BULK INSERT command first without doing the powershell stuff. I don't know if I just had a bit of...
July 30, 2020 at 1:38 pm
The Powershell code will work on any PC. Although it doesn't need to be, I installed it as a .bat file in the same directory as the file. That makes...
July 30, 2020 at 1:36 pm
Ok... I got this working BUT...
The bastards lied on their record layout. The "HEALTHCARE_PROV_TAXONOMY_GROUP_xx" columns aren't 10 wide in the data... they're up to 43 characters wide. I changed the...
July 30, 2020 at 4:39 am
That particular problem is because there's a head row that you're not skipping. Add the following to the options in the BULK INSERT command...
FIRSTROW = 2,
I tried the same thing...
July 30, 2020 at 2:09 am
Speaking of tenacity, that's some Awesome feedback! Thank you for taking the time to share what you found all across the board... especially the 4 space duplicate key error. I've...
July 29, 2020 at 11:04 pm
For me, it's not a matter of being resistant to change or something new. My problem is that I've seen all manner of supposed "improvement" and supposed "better ways to...
July 29, 2020 at 7:46 pm
Viewing 15 posts - 6,661 through 6,675 (of 59,070 total)