Change Is Inevitable
  • Home
  • MySQL
    • MySQL-Articles
    • AWS RDS
    • Percona Xtradb Cluster
    • MariaDB
    • Galera Cluster
    • ProxySQL
    • MySQL-Scripts
    • MySQL tools
    • MySQL Resources
  • Tools
    • MySQL Advisor
    • MySQL Random Data Generator
    • Postgresql Random Data Generator
    • Clean Prompt
  • General
    • binary-to-decimal
    • Fermat’s Theorem
    • Review
    • Just for fun
    • Personal
  • Contact Me
    • Copyright
    • MySQL Podcast (Youtube)
    • MySQL Podcast (Spotify)
Recent Posts
  • MySQL INSTANT DDL breaks EXCHANGE PARTITION
  • How to setup and use Percona Binlog Server (PBS)
  • MySQL Major Version Upgrade Checklist – how to
  • InnoDB Flushing is simple – explained
  • MySQL Tools for Performance Tuning and Test Data Generation
Recent Comments
  • Kedar on MySQL INSTANT DDL breaks EXCHANGE PARTITION
  • Jean-François Gagné on MySQL INSTANT DDL breaks EXCHANGE PARTITION
  • Reggie on A Unique Foreign Key issue in MySQL 8.4
  • Kedar on How to fix write latency in MySQL 8.4 Upgrade
  • Kedar on How to fix write latency in MySQL 8.4 Upgrade
Home » MySQL » Page 16
Change Is Inevitable

Kedar Vaijanapurkar's Blog for MySQL, technology and various subjects

  • Home
  • MySQL
    • MySQL-Articles
    • AWS RDS
    • Percona Xtradb Cluster
    • MariaDB
    • Galera Cluster
    • ProxySQL
    • MySQL-Scripts
    • MySQL tools
    • MySQL Resources
  • Tools
    • MySQL Advisor
    • MySQL Random Data Generator
    • Postgresql Random Data Generator
    • Clean Prompt
  • General
    • binary-to-decimal
    • Fermat’s Theorem
    • Review
    • Just for fun
    • Personal
  • Contact Me
    • Copyright
    • MySQL Podcast (Youtube)
    • MySQL Podcast (Spotify)

Browsing Category

MySQL

128 posts

Articles related to MySQL, Percona Server, MariaDB

MySQL Binary logs Generated Per Hour | Growth Estimate

  • Kedar
  • July 29, 2011
The MySQL binary log is a set of log files that contain information about data modifications made to a MySQL server instance. At times we need to understand the disk…
View Post

Escaping “Lesson Learned” dealing with MySQL Databases & Case Sensitivity

  • Kedar
  • December 6, 2010
Do you ever need to transfer databases between servers? Different OSes? Two common ways of data migration:1. Create mysqldump and load it.2. File transfer using SCP. MySQL Case Sensitivity and…
View Post

MySQL Load Data Infile with Stored Procedure

  • Kedar
  • November 30, 2010
Did you ever need to run LOAD DATA INFILE in a procedure? May be to automate or dynamically perform the large data file load to the MySQL database. In this…
View Post

10 Steps: MySQL Monitoring through Nagios: Install & Configure

  • Kedar
  • November 18, 2010
Nagios is a powerful monitoring system and here we will learn how to monitor MySQL through Nagios. We will be installing Nagios, required plugins and configuring it to monitor MySQL…
View Post

Installing MySQL On Mac OS X (Darwin Kernel)

  • Kedar
  • October 28, 2010
Recently I happen to install MySQL on Mac OS X (Darvin Kernel).  Below are the quick 5 steps to accomplish the task. Step 1: Check Mac Version Very first step…
View Post

MySQL Function to Convert Date To Words

  • Kedar
  • September 16, 2010
Recently I saw a MySQL Stored Function requirement on Experts-Exchange for converting date into some specific words format. You may find MySQL function for date to words conversion online; even…
View Post

Posts pagination

Previous 1 … 15 16 17 … 22 Next
MySQL Podcast (Youtube)
RSS feed: MySQL Podcast (Spotify) MySQL Podcast (Spotify)
  • MySQL Major Version Upgrade Checklist (Zero Downtime Strategy)
    Upgrading MySQL major versions in production is never just a version bump - it’s a carefully planned process involving compatibility checks, replication strategy, testing, and controlled cut-over.In this episode, we walk through a practical MySQL Major Version Upgrade Checklist based on real-world DBA workflows. We are covering MySQL replication as base setup for upgrade. It […]
Search:
... ...
  • MySQL INSTANT DDL breaks EXCHANGE PARTITION
  • How to setup and use Percona Binlog Server (PBS)
  • MySQL Major Version Upgrade Checklist – how to
  • InnoDB Flushing is simple – explained
  • MySQL Tools for Performance Tuning and Test Data Generation

4 responses to “MySQL Function to Convert Date To Words”

  1. sunilrawat Avatar
    sunilrawat
    January 6, 2016

    Hi is there any way to convert from words to date. any logic for this. I need know the date from Words Like: Twenty-third November Two Thousand should be : 23-11-2000 is it possible?

    Reply
  2. Kevin Avatar
    Kevin
    September 18, 2010

    There are times when I have to ask myself – where is the most appropriate place to have logic reside. When it comes to converting numeric dates to words like this, it seems to me that this is something the database server should not be doing on enterprise-level servers. There are a lot of things that a MySQL server *can* do that it really should not attempt to do.

    RDBMS’s are an expensive resource in most production environments while web and application servers tend to be far less expensive. Think about it this way – is it worth the extra processing on the database server as well as the extra memory that will be consumed by handling this processing there versus doing the same activity in a library that is shared on the application server, web server, or even better, on the client’s system? Would it be cheaper and potentially faster to do the extra work to implement the solution at some layer above the database? In this case, my guess is that it would be a lot cheaper to let the application code handle these transformations.

    Note that MySQL does not pre-compile stored procedures at all so it will have to re-interpret the code in a stored procedure every time it’s called. That ain’t cheap. There may be a slight performance gain from caching, but I think you’ll find that an application can handle these transformations much more efficiently.

    Reply
  3. Kedar Avatar
    Kedar
    September 16, 2010

    Well they’re slower as obvious differences between compiled sql and c code. 🙂
    Check http://www.mysqlperformanceblog.com/2010/09/06/udf-vs-mysql-stored-function/

    Reply
  4. huarong Avatar
    huarong
    September 16, 2010

    mysql stored function is much slower than ufds?

    Reply
Change Is Inevitable
Designed & Developed by Code Supply Co.