Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Data Science with SQL Server 2017

You're reading from   Hands-On Data Science with SQL Server 2017 Perform end-to-end data analysis to gain efficient data insight

Arrow left icon
Product type Paperback
Published in Nov 2018
Publisher Packt
ISBN-13 9781788996341
Length 506 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Vladimír Mužný Vladimír Mužný
Author Profile Icon Vladimír Mužný
Vladimír Mužný
Marek Chmel Marek Chmel
Author Profile Icon Marek Chmel
Marek Chmel
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Data Science Overview FREE CHAPTER 2. SQL Server 2017 as a Data Science Platform 3. Data Sources for Analytics 4. Data Transforming and Cleaning with T-SQL 5. Data Exploration and Statistics with T-SQL 6. Custom Aggregations on SQL Server 7. Data Visualization 8. Data Transformations with Other Tools 9. Predictive Model Training and Evaluation 10. Making Predictions 11. Getting It All Together - A Real-World Example 12. Next Steps with Data Science and SQL 13. Other Books You May Enjoy

Importing flat files

Many information systems can provide us with flat files as a sort of exported data. We can import those flat files directly into SQL Server via Management Studio, where you can select the Import Flat File option from the database tasks. Then, you can choose to import the .csv or .txt files, which will be imported into a new table. While you're choosing the table name, you can also select, via the drop-down list, a schema for the table.

Flat files are also generated by many systems as log files, which can then be further analyzed in SQL Server as one of the possible tools. In such cases, the import would be more complex, since you would not aim for one file, but more for a folder structure containing hundreds or thousands of files, where the required data is stored.

Importing the content of a single flat file can be achieved via SQL Server Management...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime