Database development Archives - {coding}Sight https://codingsight.com/category/database-development/ Blog for SQL Server DBAs and Developers Thu, 14 Mar 2024 18:05:10 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.2 https://codingsight.com/wp-content/uploads/2021/10/cropped-Soсial_-Fb_180х180-1-32x32.png Database development Archives - {coding}Sight https://codingsight.com/category/database-development/ 32 32 MySQL Delete Column: The 2024 Ultimate Easy Guide  https://codingsight.com/drop-column-in-mysql/ Wed, 13 Mar 2024 15:44:40 +0000 https://codingsight.com/?p=26031 The MySQL delete column might sound pretty straightforward. You simply run the DROP COLUMN command, and poof! It’s gone.  However, there’s a catch. The impact of this seemingly simple action can be more far-reaching than you might have anticipated.  Deleting a column with dependencies can lead to a cascade of issues. But fear not! It’s …

The post MySQL Delete Column: The 2024 Ultimate Easy Guide  appeared first on {coding}Sight.

]]>
SQL Multiple Joins – How to Join Tables the Easy-Breezy Way  https://codingsight.com/multiple-joins-in-sql/ Wed, 11 Oct 2023 15:34:13 +0000 https://codingsight.com/?p=25751 Have you ever found yourself tangled in the web of SQL multiple joins?  Don’t sweat it – we’ve all been there. Think of it like a puzzle, with tables as puzzle pieces. You’re just connecting them to see the bigger picture.  Now, I know, the code might look like a maze, and it’s easy to …

The post SQL Multiple Joins – How to Join Tables the Easy-Breezy Way  appeared first on {coding}Sight.

]]>
The MySQL ADD COLUMN Easy Guide: How to Make New Table Columns Without the Oops  https://codingsight.com/how-to-add-column-to-mysql-table/ Mon, 21 Aug 2023 09:28:21 +0000 https://codingsight.com/?p=25436 Have you made a rookie mistake when you add or insert a new column in your MySQL table?  “But what’s the big deal? Adding or inserting a new column is totally painless.”, you may say.  That’s true. Adding a column is as easy as adding a topping to a pizza or ice cream. But if …

The post The MySQL ADD COLUMN Easy Guide: How to Make New Table Columns Without the Oops  appeared first on {coding}Sight.

]]>
The SELECT INTO Temp Table Easy Guide: How to Manage Temporary Data Without Dismay        https://codingsight.com/select-into-temp-table-in-sql-server-guide/ Wed, 16 Aug 2023 16:07:54 +0000 https://codingsight.com/?p=25388 Data processing may involve several steps. And it can be fun! But the fun ends when you access some joined tables again and again. So, when you look at your SQL code, it’s yucky and ugly because of repeated lines. But what if you can store the results of those joined tables in temporary storage? …

The post The SELECT INTO Temp Table Easy Guide: How to Manage Temporary Data Without Dismay        appeared first on {coding}Sight.

]]>
SQL Server UPDATE from SELECT: How to Bulletproof Your Updates Like a Pro  https://codingsight.com/update-from-select-in-sql-server/ Wed, 14 Jun 2023 16:02:39 +0000 https://codingsight.com/?p=24842 SQL Server UPDATE from SELECT is not your usual cup of tea on T-SQL. So, it’s time to level up your UPDATE skills. But with this, you have a new foe: code complexity.  Crushing code complexity is a source of many headaches. Reading rows using a complex query is one thing. Updating rows is another. …

The post SQL Server UPDATE from SELECT: How to Bulletproof Your Updates Like a Pro  appeared first on {coding}Sight.

]]>
SQL Aggregate Functions: Easy Tips for Newbies https://codingsight.com/what-are-sql-aggregate-functions-easy-tips-for-newbies/ Wed, 28 Sep 2022 07:59:00 +0000 http://codingsight.com/?p=15123 SQL Aggregate Functions are functions that perform calculations and return a summarized result. With these, it’s easy to do these calculations on data sets: But there’s more. Statistical calculations like standard deviation and variance are also part of the tools. Mix it with grouping and sorting, and you’ll have something fantastic for your new report. So, …

The post SQL Aggregate Functions: Easy Tips for Newbies appeared first on {coding}Sight.

]]>
The Tutorial Guide to SQL Server DROP TABLE Statement https://codingsight.com/sql-drop-index-drop-table-and-drop-database-statements-explained-with-examples/ Thu, 22 Sep 2022 07:24:00 +0000 http://codingsight.com/?p=14264 The SQL DROP statement is a command that deletes existing database components or the entire databases with all their data permanently. There are other SQL commands with a similar effect (TRUNCATE or DELETE), but the specificity of the DROP command is that it deletes everything at once. For instance, DROP TABLE removes the table data, …

The post The Tutorial Guide to SQL Server DROP TABLE Statement appeared first on {coding}Sight.

]]>
Install and Configure XAMPP Software on Windows Server 2019 https://codingsight.com/how-to-install-and-configure-xampp-software-on-windows-server-2019/ Tue, 09 Aug 2022 10:56:00 +0000 http://codingsight.com/?p=15906 XAMPP is a cross-platform web server used to develop and test programs and web applications, created by the Apache friends organization.  It is open-source software, so its code can be modified or revised by the audience. The XAMPP is supported by various platforms like Windows, Linux, and macOS. Table of contents What is XAMPP? In …

The post Install and Configure XAMPP Software on Windows Server 2019 appeared first on {coding}Sight.

]]>
Exploring SQL Server LEN() Function https://codingsight.com/exploring-sql-server-len-function/ Fri, 25 Mar 2022 17:43:40 +0000 http://codingsight.com/?p=20225 SQL Server supports different data types to store relevant data in SQL tables. These data types can be integer, float, Varchar, NVARCHAR, Float, Char, bit. While we work with the string data types, it is common to find string length. Suppose you have a web portal where users create their profiles. In the profile section, …

The post Exploring SQL Server LEN() Function appeared first on {coding}Sight.

]]>
SQL Server COUNT Function https://codingsight.com/sql-server-count-function/ Fri, 25 Mar 2022 17:25:37 +0000 http://codingsight.com/?p=19969 COUNT is one of the common SQL Server Aggregate operations done by almost all SQL Server Developers for their day-to-day needs. In this article, we can understand the COUNT Aggregate function, other possibilities of using the COUNT operation, and other functions to perform complicated Data Aggregate requirements. What Is Aggregate Function Aggregate functions perform a …

The post SQL Server COUNT Function appeared first on {coding}Sight.

]]>