Python and SQL Server Development


Book Description

This book covers how to develop Python programs with SQL Server database and Azure SQL Server. Program samples and scenarios are provided to accelerate your learning speed. The following is a list of highlight topics in this book. * Setting up Development Environment * Getting Started - Python and SQL Server * CRUD Operations * Working with Image and Blob Data * Transaction * Stored Procedures * Working with Azure SQL Database and Python




SQL Server 2017 Developer’s Guide


Book Description

Build smarter and efficient database application systems for your organization with SQL Server 2017 Key Features Build database applications by using the development features of SQL Server 2017 Work with temporal tables to get information stored in a table at any time Use adaptive querying to enhance the performance of your queries Book Description Microsoft SQL Server 2017 is the next big step in the data platform history of Microsoft as it brings in the power of R and Python for machine learning and containerization-based deployment on Windows and Linux. Compared to its predecessor, SQL Server 2017 has evolved into Machine Learning with R services for statistical analysis and Python packages for analytical processing. This book prepares you for more advanced topics by starting with a quick introduction to SQL Server 2017’s new features and a recapitulation of the possibilities you may have already explored with previous versions of SQL Server. The next part introduces you to enhancements in the Transact-SQL language and new database engine capabilities and then switches to a completely new technology inside SQL Server: JSON support. We also take a look at the Stretch database, security enhancements, and temporal tables. Furthermore, the book focuses on implementing advanced topics, including Query Store, columnstore indexes, and In-Memory OLTP. Towards the end of the book, you’ll be introduced to R and how to use the R language with Transact-SQL for data exploration and analysis. You’ll also learn to integrate Python code in SQL Server and graph database implementations along with deployment options on Linux and SQL Server in containers for development and testing. By the end of this book, you will have the required information to design efficient, high-performance database applications without any hassle. What you will learn Explore the new development features introduced in SQL Server 2017 Identify opportunities for In-Memory OLTP technology Use columnstore indexes to get storage and performance improvements Exchange JSON data between applications and SQL Server Use the new security features to encrypt or mask the data Control the access to the data on the row levels Discover the potential of R and Python integration Model complex relationships with the graph databases in SQL Server 2017 Who this book is for Database developers and solution architects looking to design efficient database applications using SQL Server 2017 will find this book very useful. In addition, this book will be valuable to advanced analysis practitioners and business intelligence developers. Database consultants dealing with performance tuning will get a lot of useful information from this book as well. Some basic understanding of database concepts and T-SQL is required to get the best out of this book.




Using SQLite


Book Description

Explains how to build database-backed applications for the Web, desktop, embedded systems, and operating systems using SQLite.




Powerful Python


Book Description

Once you've mastered the basics of Python, how do you skill up to the top 1%? How do you focus your learning time on topics that yield the most benefit for production engineering and data teams—without getting distracted by info of little real-world use? This book answers these questions and more. Based on author Aaron Maxwell's software engineering career in Silicon Valley, this unique book focuses on the Python first principles that act to accelerate everything else: the 5% of programming knowledge that makes the remaining 95% fall like dominos. It's also this knowledge that helps you become an exceptional Python programmer, fast. Learn how to think like a Pythonista: explore advanced Pythonic thinking Create lists, dicts, and other data structures using a high-level, readable, and maintainable syntax Explore higher-order function abstractions that form the basis of Python libraries Examine Python's metaprogramming tool for priceless patterns of code reuse Master Python's error model and learn how to leverage it in your own code Learn the more potent and advanced tools of Python's object system Take a deep dive into Python's automated testing and TDD Learn how Python logging helps you troubleshoot and debug more quickly




Data Modeling Essentials


Book Description

Data Modeling Essentials, Third Edition, covers the basics of data modeling while focusing on developing a facility in techniques, rather than a simple familiarization with "the rules". In order to enable students to apply the basics of data modeling to real models, the book addresses the realities of developing systems in real-world situations by assessing the merits of a variety of possible solutions as well as using language and diagramming methods that represent industry practice. This revised edition has been given significantly expanded coverage and reorganized for greater reader comprehension even as it retains its distinctive hallmarks of readability and usefulness. Beginning with the basics, the book provides a thorough grounding in theory before guiding the reader through the various stages of applied data modeling and database design. Later chapters address advanced subjects, including business rules, data warehousing, enterprise-wide modeling and data management. It includes an entirely new section discussing the development of logical and physical modeling, along with new material describing a powerful technique for model verification. It also provides an excellent resource for additional lectures and exercises. This text is the ideal reference for data modelers, data architects, database designers, DBAs, and systems analysts, as well as undergraduate and graduate-level students looking for a real-world perspective. - Thorough coverage of the fundamentals and relevant theory - Recognition and support for the creative side of the process - Expanded coverage of applied data modeling includes new chapters on logical and physical database design - New material describing a powerful technique for model verification - Unique coverage of the practical and human aspects of modeling, such as working with business specialists, managing change, and resolving conflict




The Art of High Performance SQL Code


Book Description

Execution plans show you what's going on behind the scenes in SQL Server. They can provide you with a wealth of information on how your queries are being executed by SQL Server, including: Which indexes are being used, and where no indexes are being used at all. How the data is being retrieved, and joined, from the tables defi ned in your query. How aggregations in GROUP BY queries are put together. The anticipated load and the estimated cost that all these operations place upon the system. Grant Fritchey's book is the only in-depth look at how to improve your SQL query performance through careful design of execution plans. Sample chapters of the ebook have garnered stunning reviews, such as: "All I can say is WOW. This has to be the best reference I have ever seen on Execution Plans in SQL Server. My hats off to Grant Fritchey" Jonathan Kehayias.




Professional Microsoft SQL Server 2008 Programming


Book Description

This book is written for SQL Server 2008. However, it does maintain roots going back a few versions and looks out for backward compatibility issues with SQL Server 2005 and SQL Server 2000. These versions are old enough that there is little to no time spent on them except in passing. The book is oriented around developing on SQL server. Most of the concepts are agnostic to what client language you use although the examples that leverage a client language general do so in C#. For those who are migrating from early versions of SQL Server, some “gotchas” that exist any time a product has versions are discussed to the extent that they seem to be a genuinely relevant issue. This book assumes that you have some experience with SQL Server and are at an intermediate to advanced level. The orientation of the book is highly developer focused. While there is a quick reference-oriented appendix, there is very little coverage given to beginner level topics. It is assumed that you already have experience with data manipulation language (DML) statements and know the basics of the mainstream SQL Server objects (views, stored procedures, user defined functions, etc.). If you would like to brush up on your knowledge before diving into this book, the author recommends reading Beginning SQL Server 2008 Programming first. There is very little overlap between the Beginning and Professional books and they are designed to work as a pair.




MySQL Crash Course


Book Description

MySQL is one of the most popular database management systems available, powering everything from Internet powerhouses to individual corporate databases to simple end-user applications, and everything in between. This book will teach you all you need to know to be immediately productive with the latest version of MySQL. By working through 30 highly focused hands-on lessons, your MySQL Crash Course will be both easier and more effective than you'd have thought possible. Learn How To Retrieve and Sort Data Filter Data Using Comparisons, Regular Expressions, Full Text Search, and Much More Join Relational Data Create and Alter Tables Insert, Update, and Delete Data Leverage the Power of Stored Procedures and Triggers Use Views and Cursors Manage Transactional Processing Create User Accounts and Manage Security via Access Control




Sams Teach Yourself Django in 24 Hours


Book Description

In just 24 lessons of one hour or less, you will be able to build full-featured production websites using Django, the powerful web development framework based on Python. Designed for experienced website developers who have at least some familiarity with the Python programming language, this book uses a straightforward, step-by-step approach. Each lesson builds on the previous ones, enabling you to learn the essentials of implementing the Django framework on a website from the ground up. Step-by-step instructions carefully walk you through the most common Django tasks. Q&As, quizzes, and exercises at the end of each lesson help you test your knowledge. Notes and tips point out shortcuts and solutions. Learn how to... Install and configure the Django web development framework Cleanly separate data, logic, and view layers Implement site interfaces with build templates and views Utilize templates and views to store, access, and retrieve data Use the Django forms library Define custom tags and filters to minimize coding Secure sites with registration, authorization, logins, and permissions Manage sessions and cookies Implement middleware for request and response handling Create sitemaps to inform search engines of your content Internationalize your site Optimize performance with caching Deploy Django in multiple configurations Maintain sites with Django’s administrator interface Introduction 1 Part I: Creating the Website Framework Hour 1: Understanding Django 7 Hour 2: Creating Your First Website 19 Hour 3: Adding Models and Objects to Your Website 37 Hour 4: Creating the Initial Views 63 Part II: Implementing the Website Interface Hour 5: Using Data from the Database in Views 81 Hour 6: Configuring Web Page Views 103 Hour 7: Implementing Django Templates to Create Custom Views 117 Hour 8: Using Built-in Template Tags to Enhance Views 139 Hour 9: Using Built-in Template Filters to Enhance Views 155 Hour 10: Adding Forms to Views 185 Hour 11: Using Views to Add and Update Data in the Database 209 Hour 12: Utilizing Generic Views 231 Hour 13: Advanced View Configurations 269 Part III: Implementing a Full-Featured Website Hour 14: Managing Site Users 295 Hour 15: Adding Website Security 313 Hour 16: Managing Sessions and Cookies 333 Hour 17: Customizing Models in the Admin Interface 347 Hour 18: Customizing the Admin Interface 365 Part IV: Implementing Advanced Website Components Hour 19: Implementing Middleware 383 Hour 20: Internationalization and Localization 407 Hour 21: Creating Sitemaps 423 Hour 22: Implementing Multiple Websites 437 Hour 23: Configuring Caching 451 Hour 24: Deploying Django 465 Appendixes Appendix A: Django Resources 477 Appendix B: Django Form Field Objects 481 Appendix C: Formatting Dates and Times 491 Index 493




Murachs SQL Server 2016 for Developers


Book Description

If you're an application developer, or you're training to be one, this 2016 edition of Murach's classic SQL Server book is made for you. To start, it presents the SQL statements that you need to retrieve and update the data in a database. These are the SQL statements that you'll use every day. Then, it shows you how to design a database, how to implement that design, and how to work with database features like views, scripts, stored procedures, functions, triggers, transactions, security, XML data, BLOB data with FILESTREAM storage, and the CLR integration feature. The result? You'll be able to create database applications that are thoroughly professional. You'll be familiar with the DBA-related issues that let you work far more effectively than most of your colleagues. And you'll have a handy reference at your side to answer questions and handle new challenges as they come up.