Hi I was wondering how one can define a function at definition level. Say I have an application which needs to be in uppercase of any string by default. How to do this. Anybody has any ideas on this
Thanks
Sai Krishna
MySQL Using function at definition level
Moderator: General Moderators
I mean to say using a function at definition level.
Like I define
The some_function_here should check every field that enters here. Exactly you define a standard format for date, is it possible to do for strings also... I hope I'm clear
Is this possible, so that whatever values that comes goes through that function
Like I define
Code: Select all
ID int(55) default some_function_here()Is this possible, so that whatever values that comes goes through that function