Blog

Page 176 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for Cannot Connect to Server - A network-related or instance-specific error

Cannot Connect to Server - A network-related or instance-specific error

Published on September 2, 2023

πŸ”₯ *Troubleshooting Guide: Cannot Connect to Server* πŸ”₯ Are you struggling with the dreaded "A network-related or instance-specific error" when trying to connect to SQL Server? 😫 Don't worry! We've got your back and will help you tackle this issue step-b

Cover Image for Get user role by ID WordPress

Get user role by ID WordPress

Published on September 2, 2023

# πŸ“ Blog Post: How to Get User Role by ID in WordPress Are you struggling to find a way to check someone's role in WordPress using only their ID? πŸ€” Don't worry, you're not alone! This is a common issue many developers face when working with user roles i

Cover Image for Adding <script> to WordPress in <head> element
javascriptplugins

Adding <script> to WordPress in <head> element

Published on September 2, 2023

πŸ“ *Adding `<script>` to WordPress in `<head>` element* Are you struggling with adding `<script>` tags to the `<head>` section of your WordPress website? Don't worry, you're not alone! Many users face common issues when trying to insert custom code into t

Cover Image for Why use the INCLUDE clause when creating an index?
indexing

Why use the INCLUDE clause when creating an index?

Published on September 2, 2023

## Why Use the INCLUDE Clause When Creating an Index? ✨ Welcome to another tech blog post! Today, we are going to dive into a fascinating topic: the INCLUDE clause when creating an index. If you've ever encountered this clause while working on your databa

Cover Image for WooCommerce - get category for product page

WooCommerce - get category for product page

Published on September 2, 2023

πŸ“’ **Hey there WooCommerce enthusiasts!** Are you struggling to get the category ID for your product pages on WooCommerce? Do you need to add a custom class to the body tag for some unique styling? πŸ€” Well, fret no more! We've got you covered with some eas

Cover Image for How to get featured image of a product in woocommerce

How to get featured image of a product in woocommerce

Published on September 2, 2023

πŸ“ΈπŸ›οΈ How to Get Featured Image of a Product in WooCommerce πŸ“ΈπŸ›οΈ So you're trying to showcase that amazing product image on your WooCommerce site, but it's just not showing up? 😫 Don't worry, I've got your back! We'll take a look at some common issues a

Cover Image for Should you choose the MONEY or DECIMAL(x,y) datatypes in SQL Server?
types

Should you choose the MONEY or DECIMAL(x,y) datatypes in SQL Server?

Published on September 2, 2023

# Should you choose the MONEY or DECIMAL(x,y) datatypes in SQL Server? πŸ’°πŸ’²πŸ’Έ Are you torn between the `MONEY` datatype and the `DECIMAL(x,y)` datatype in SQL Server? πŸ€”πŸ’­ Don't worry, you're not alone! Many developers find themselves in a similar predica

Cover Image for What is the significance of 1/1/1753 in SQL Server?
datetime

What is the significance of 1/1/1753 in SQL Server?

Published on September 2, 2023

# The Mysterious Significance of 1/1/1753 in SQL Server 😱 Have you ever come across the date 1/1/1753 while working with SQL Server? πŸ—“οΈ You're not alone! Many developers, like our curious reader above, have wondered about its significance and why SQL Se

Cover Image for Pad a string with leading zeros so it"s 3 characters long in SQL Server 2008

Pad a string with leading zeros so it"s 3 characters long in SQL Server 2008

Published on September 2, 2023

## **πŸ”’ Padding a String with Leading Zeros in SQL Server 2008 R2** So you have a string in SQL Server 2008 R2 and you want to pad it with leading zeros to make it a length of 3 characters. Don't worry, we've got you covered! In this guide, we will walk y

Blog | Matheus Mello