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
C# DbContext ServiceLifeTime
my note about C Sharp ServiceLifeTime
PostgreSQL Index Usage Monitoring
Having too many unused or underused indexes on a table can slow down write and update operations in your PostgreSQL database, making it crucial to regularly identify and manage them for optimal performance.
KAK Labs Newsletter #6 - Staying Safe From Pegasus Spyware
Newsletter #6 - Pegasus, Ruby, PostgreSQL and networkQuality tool
Material Design - Paragraph Spacing
According to Google's Material Design, keep paragraph spacing in the range between .75x and 1.25x of the type size.
Amazon SDK for C# - S3 File Download Methods
Comparison between `TransferUtility.DownloadAsync`, `DownloadSingleFileAsync`, and `GetObjectAsync`.