The Weave
Hands-on tutorials in SQL, data engineering, data science and AI — woven from more than a decade of real-world work.
Page 4 of 6
2012 · 61 posts
SSIS Tutorial 1:Introduction.
· SQL Server · 4 min read
I've been writing sometime now on Transact Sequel (TSQL) which is the microsoft version of SQL and I hope those posts help clarify some major tasks in SQL…
TSQL Program to determine the day(Name) of the first day of each month in the current year
· SQL Server · 2 min read
In this post, l just want to show some cool programming skills and hopefully make it useful for any one interested in learning TSQL and use of variables and…
TSQL script to print the database ids and their corresponding names for all database on a server.
· SQL Server · 3 min read
This is also some cool tool you can use to retrieve the database ids for all databases on your server. I like writing this type of scripts because they come in…
TSQL Stored Procedure that returns all tables in a given schema
· SQL Server · 1 min read
This is a little post to illustrate how to retrieve all tables in a given schema. This is a handy tool and can be used for various purposes. So lets call this…
TSQL Tutorial 27: Microsoft SQL Server Authentication
· SQL Server · 10 min read
I just want to talk briefly about how we can access sql server instance running either on your personal computer or on a network. Authentication is a big issue…
TSQL Tutorial 26: Pivot and Unpivot
· SQL Server · 6 min read
Hello, I'm briefly going to discuss one topic that can easily throw you under the bridge if you did not take the time to actually practice it. Pivot and…
TSQL Tutorial 25:Common Table Expressions(CTE)
· SQL Server · 7 min read
Hello world, l hope everyone is having peace where ever you are. This week has been a tough one for the United States, I'm talking in regards of the Theater…
TSQL Tutorial 23: Implementing Database Disaster Recovery-Backup and Restore
· SQL Server · 12 min read
I'm going to discuss one important job of Database administrators, that is Disaster management and recovery. This is a critical aspect of the life of a…
TSQL Tutorial 24: Index Maintenance
· SQL Server · 5 min read
Here we go again, guys. Lets take care of our indexes this time. Fragmentation occurs in case of large number of DML Statements on a table which has indexes.…
TSQL Tutorial 22: Partition
· SQL Server · 9 min read
Hello world, welcome to another important tutorial on database programming using TSQL. Today, we are going to talk about Partition. This is a very important…
TSQL Tutorial 21: Triggers
· SQL Server · 8 min read
Ok, here we go again guys/girls, lets try to learn something smart together. In this tutorial, I'm focusing on triggers. So What are triggers? I like to keep…
C++ Knight Of Tours Program
· Programming · 3 min read
This program is a little complicated and needs deeper understanding. l try to put comments to explain what is going on, if you find something confusing, please…
C++ Program to illustrate file handling, inheritance and polymorphism
· Programming · 3 min read
This program enforces the concept of inheritance and polymorphism which are parts of the Object Oriented Design of the C++ language. The Program accesses a…
C++ Program to illustrate Huffman Compression and Decompression.
· Programming · 4 min read
Ok, this program will not run for you because l didn't include all the files needed to run the program. First of all, this was one of my class assignments and…
C++ Program to output nodes of a tree using inorder tree traversal algorithm
· Programming · 2 min read
This program outputs the nodes of a tree using inorder tree traversal algorithm. Each Node is prefixed by k number of "-" where k is the level of the node. I…
C++ Program to retrieve Capital City for states in the United States.
· Programming · 2 min read
The aim of this program is to create a little quiz for kids or even adults. To quickly learn the capital city for each state in the United States. Comments are…
C++ PROGRAM USING INHERITANCE AND POLYMORPHISM
· Programming · 2 min read
In this post l just want to write a simple program to display usage of inheritance and polymorphism in C++. I've included comments in the code to help…
TSQL Tutorial 20: Index
· SQL Server · 13 min read
In this tutorial, l'll be discussing one of the most used database objects for optimizing the performance of queries. Indexes are very important and every…
TSQL Tutorial 19:Views
· SQL Server · 13 min read
I've been a little busy for the past week which made me fall behind most of the things l wanted to write on the Learning Blog. There are more features added to…
TSQL Tutorial 18:User Defined Functions.
· SQL Server · 3 min read
In the last tutorial, l discussed stored procedures. Stored procedures are used for implementing the complex logic of a business while functions are commonly…
TSQL Tutorial 17: Recompiling Stored Procedures, strength and weak points of stored procedures.
· SQL Server · 4 min read
In TSQL Tutorial 16, l discussed and implemented the various types of user defined stored procedures. I'm going to continue the discussion and probably end my…
TSQL tutorial16: Stored Procedures
· SQL Server · 7 min read
In this tutorial, I'm going to discuss one of the most important database objects that you'll ever come across in SQL Sever Programming, that is Stored…
TSQL Tutorial 14:Subqueries
· SQL Server · 5 min read
In today's discussion, I'm focusing on one important component of T-SQL, that is sub queries. As the name implied, a sub query is simply a query that is made…
TSQL Tutorial 15: Temporary tables, Derived tables and Table variables.
· SQL Server · 5 min read
l want to take on three topics in this tutorial. That is temporary tables, derived tables and table variables. l want to take on all of them at once so l can…
TSQL Tutorial 10:Aggregate Functions, Group By Clause, Having Clause
· SQL Server · 3 min read
Aggregate functions are in built functions that sql server uses to perform some basic tasks. If you need a more complex function to perform a task, then you…
TSQL tutorial 11: System Functions
· SQL Server · 2 min read
System functions are inbuilt functions that can be used to perform some tasks without writing code to perform the task. There are lot of system functions but…
TSQL Tutorial 12: JOINS
· SQL Server · 4 min read
In this tutorial, l'm going to touch on one of the most common statements you'll see on daily basis when writing sql in real time programming environment.…
TSQL Tutorial 13: Set Operators
· SQL Server · 3 min read
In this tutorial, we'll look at the set operators used in TSQL. Set operators and Joins work very similar but the biggest difference is that, in set operators,…
TSQL Tutorial 9: Control Structures(While, If and Case)
· SQL Server · 3 min read
I want to quickly go over the 3 main control structures in TSQL in this tutorial. Control structures are structures that help us control how we want our…
TSQL Tutorial 7: System Variables, Table Variables and User Defined Variables
· SQL Server · 3 min read
I'm going to discuss what variables are in TSQL and how to use them. First of all, if you have ever programmed, then you already know what a variable is. It's…
One Mission:Help You Thrive with AI.
Whether you are just getting started or ready to level up, our programs help you build practical AI skills you can use in real life and work.