Skip to content
DbaFix
Just share answer and question for fixing database problem
MENU
  • HOME

Tag: trim

Unexpected behavior from ltrim in postgres

By adminPosted on October 4, 2022

Question : select ltrim(‘Test Thing’, ‘Test ‘); Expected: ‘Thing’ Actual Result: ‘hing’ Why does the ‘T’ in ‘Test’ match and […]

How To Remove Spaces Between Characters In PostgreSQL?

By adminPosted on January 10, 2022

Question : I want to match two tables based on a specific column which is a card number, there are […]

How to concatenate these two statements (RIGHT and LEFT)? I am trying to trim two characters off both the beginning and end of cell

By adminPosted on August 30, 2021

Question : Is it possible to either combine or concatenate the following two statements? RIGHT(wp_postmeta.meta_value, LENGTH(meta_value) -2) LEFT(wp_postmeta.meta_value, LENGTH(meta_value) -2) […]

updating values in table to remove specific word

By adminPosted on May 2, 2021

Question : Some of my data has – Automated two or more times. I need to replace the text so […]

Recent Posts

  • Table corruption: How to perform Innodb Checksum checks in MySQL 5.5 for Windows?
  • Create a user on database A with a procedure from database B (with EXECUTE AS)
  • Mysql pivot rows
  • SQL Server CLR procedures and SQLCLR_QUANTUM_PUNISHMENT
  • backup history using availability groups
  • How to prevent database shrinking
  • postgres select aggregate timespans
  • mysql simple update with 40 million and 128GB RAM taking too much time
  • Suggestion for enforcing unique constraint in a table where soft delete is implemented [duplicate]
  • Implementing something similar to “pointer arrays” with MySQL
  • What are valid connection strings for SSMS login box?
  • ERROR 1114 (HY000) at line 6308 in file & The table user_analysis is full
  • Faulty oracle11g regexp_replace on removing duplicates
  • MySQL – Can I have quick queries in a table with 200 million rows?
  • Automatic index creation for primary vs. foreign keys in Postgresql
  • In PostgreSQL, how do I make it so that either column A or column B must be non-null?
  • Automate backup using Windows Task Scheduler
  • Naming Convention for Login, User and Roles? [closed]
  • Changing from utf8 to utf8mb4
  • How to get a COUNT for both IN and NOT IN a table

Categories

  • Database Backup
  • Database Design
  • Database Index
  • Database Optimization
  • InnoDB
  • Join
  • MariaDB
  • MongoDB
  • MySQL
  • Oracle
  • Performance
  • Permissions
  • Postgresql
  • Query Performance
  • Replication
  • Security
  • SQL Server
Proudly powered by WordPress / Support by: DizzyCoding