Edwin Sanchez, Author at {coding}Sight https://codingsight.com/author/edwinsanchez/ Blog for SQL Server DBAs and Developers Thu, 14 Mar 2024 21:25:42 +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 Edwin Sanchez, Author at {coding}Sight https://codingsight.com/author/edwinsanchez/ 32 32 How to Get SQL Percentage Calculation as Easy as Pie  https://codingsight.com/sql-percentage-calculation/ Thu, 14 Mar 2024 15:54:32 +0000 https://codingsight.com/?p=26091 Percentage calculation in SQL can be a bit like traversing an unfamiliar labyrinth. If you’re a beginner, it’s easy to get lost in a maze of numbers and functions. You may stumble over pitfalls that can lead to incorrect results. But fear not because we’re about to make SQL percentage calculations as easy as pie!  …

The post How to Get SQL Percentage Calculation as Easy as Pie  appeared first on {coding}Sight.

]]>
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.

]]>
Oracle Performance Tuning: Tips, Tricks and Hidden Secrets https://codingsight.com/oracle-performance-tuning-tips-and-tricks/ Wed, 20 Dec 2023 08:01:51 +0000 https://codingsight.com/?p=25979 Ever wondered why Oracle Performance Tuning is so thrilling for budding Oracle developers and DBAs?  The answer lies in the art of transforming a sluggish database into a finely-tuned powerhouse. At first, it might seem as complex as decoding a mad scientist’s experiment.  But fear not!  This article is your guide, turning the daunting into …

The post Oracle Performance Tuning: Tips, Tricks and Hidden Secrets 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.

]]>
MySQL Foreign Key – How to Relate Tables Without Freaking Out  https://codingsight.com/how-to-add-foreign-key-in-mysql/ Wed, 04 Oct 2023 15:18:46 +0000 https://codingsight.com/?p=25607 Have you ever felt like a puzzle piece that won’t fit, especially about MySQL foreign keys?  Trust me, you’re not alone on this adventurous data journey.  Imagine that you’re going to create your first MySQL database. It would be like your first trip to a dream place. Without hesitation, you add your first foreign key. …

The post MySQL Foreign Key – How to Relate Tables Without Freaking Out  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 PARTITION BY: A Beginner’s Lifesaver on How to Partition Datasets  https://codingsight.com/understanding-sql-partition-by/ Fri, 21 Jul 2023 16:27:34 +0000 https://codingsight.com/?p=25208 Is SQL Server PARTITION BY clause giving you a brain freeze?  Beginners feel like entering a complex maze at first glance of code complexity. But you want to tackle this like a piece of cake, without the confusion. And without hair-pulling. So, this article is for you. We’ll make it plain and simple.  The complication …

The post SQL Server PARTITION BY: A Beginner’s Lifesaver on How to Partition Datasets  appeared first on {coding}Sight.

]]>
T-SQL CHAR vs. VARCHAR: How to Store Text and Slash Query Time  https://codingsight.com/char-vs-varchar-in-sql/ Fri, 07 Jul 2023 13:06:46 +0000 https://codingsight.com/?p=25079 Is it a big deal to choose between CHAR and VARCHAR? What if your choice between CHAR vs. VARCHAR results in a nightmare of query lags?  When I was a newbie in SQL Server, it was not a big deal to me. Both store strings of characters so I thought it was just the same.  …

The post T-SQL CHAR vs. VARCHAR: How to Store Text and Slash Query Time  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.

]]>