Viewing 15 posts - 4,306 through 4,320 (of 59,069 total)
Discounting the Excel thing for now, a little work in T-SQL will allow you to read the row header from each file, figure what's there, and assign it to the...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 22, 2021 at 3:49 am
Jeff,
I added sample data above related to the duplicate record, let me know if what I gave here is ok.
- Thanks.
The table is missing the 6th column. So is...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 22, 2021 at 2:31 am
Yep. AdventureWorks in all it's messed up glory. Honestly, I love that sample database. Why? Because it looks like all the other messed up constructs I see everywhere else....
--Jeff Moden
Change is inevitable... Change for the better is not.
November 18, 2021 at 8:26 pm
That's OK. It's the tool that will allow you to do things like run the CLI of a program from SQL Server. Such a thing can also be done using...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 18, 2021 at 3:31 am
Thanks that helped me find a solution.
Awesome. Thank you for the feedback!
--Jeff Moden
Change is inevitable... Change for the better is not.
November 18, 2021 at 3:23 am
I doubt it. The still haven't made a built in sequence generator even though I've added to Erland Sommarskogs "Connection" post that he created more than a decade ago (going...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 17, 2021 at 7:16 pm
I am using Filezilla. Yes it can be operated via command line
Perfect. The next question is, which is a showstopper for a whole lot of people (even though it...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 17, 2021 at 7:12 pm
I saw that and was totally impressed. It only took them 5 years to get a fix out... kind of. As you say, it's only in Azure so far. 😀
Once...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 17, 2021 at 6:28 pm
Here is the plan:
-log into SFTP server and download files to local directory
-unzip files to specified folder
-import files into SQL Server table (it will always be the same table)
-if...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 17, 2021 at 3:07 am
type = 'U' means you are grabbing all "user" type of login. To SQL, a "human" and a "non-human" are identical. It is just a login.
How would SQL know...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 16, 2021 at 6:33 am
You're posting in an SQL Server 2019 forum. BULK INSERT and BCP have both had "CSV" capabilities since SQL Server 2017. If the files and the tables are consistent, there's...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 16, 2021 at 6:29 am
Thank you everyone. I have been saving the files to a folder. it works for me because I only have a few queries. I am so used...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 16, 2021 at 6:17 am
I don't feel comfortable flying normally but with Covid--even though I just got my booster and wear a mask everywhere--the thought of being on a crowded plane. ....
--Jeff Moden
Change is inevitable... Change for the better is not.
November 15, 2021 at 8:09 pm
Thank you everyone. I have been saving the files to a folder. it works for me because I only have a few queries. I am so used to Access...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 15, 2021 at 7:56 pm
I have to tell you that if you work with the right recruiter, you don't have to worry about AI HR bots, HR people, or whatever. A lot...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 15, 2021 at 7:52 pm
Viewing 15 posts - 4,306 through 4,320 (of 59,069 total)