Huruf Kapital Di Setiap Awal Kata Dengan SQL
- Last modified atJika menggunakan Ruby on Rails, terdapat method titleize
untuk membuat huruf pertama setiap kata suatu string menjadi huruf kapital. Padanan method tersebut di SQL adalah function INITCAP.
Berikut ini adalah contoh penggunaan function INITCAP dan CONCAT untuk membuat full_name
dengan menggabungkan hasil kolom first_name
dan last_name
dari tabel users
.
Hasil dari query SQL diatas adalah sebagai berikut.
Recent Posts
AWS Secrets Manager
Explanation about AWS Secrets Manager with example code.
Envelope Encryption
Envelope encryption is the practice of encrypting plaintext data with a data key, and then encrypting the data key under another key.
Tutorial - "su username vs su - username" - A Security Perspective
The main difference between `su username` and `su - username` lies in the environment variables that are loaded when switching to the specified user.
Subdomain Hijacking
My dormant subdomain was recently hijacked, redirecting it to a online gamble registration page.
C# DbContext ServiceLifeTime
my note about C Sharp ServiceLifeTime