MySQL Forums
Forum List  »  Newbie

Command Line issue with PROMPT
Posted by: anthony russell
Date: September 25, 2014 07:01PM

I cannot find an option for Prompt that can replace the "o\o" and give me leading zero month, that I can live with, what hurts only because I know it should be possible is to be able to replace the "dd" with something that will give me the current DAY of the month. Please Help↓
ar

mysql> PROMPT AR.DBA.120\nCrntBase\d\n\yo\odd\n\R\m\s\n^_\c\nMySQL>
PROMPT set to 'AR.DBA.120\nCrntBase\d\n\yo\odd\n\R\m\s\n^_\c\nMySQL>'
AR.DBA.120
CrntBase(none)
14o9dd
210504
^_1
MySQL>

Options: ReplyQuote


Subject
Written By
Posted
Command Line issue with PROMPT
September 25, 2014 07:01PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.