Can I create column in DB table (PostgreSQL or MySQL) which have default value random string, and how ?
If is not possible, please let me know that.
Can I create column in DB table (PostgreSQL or MySQL) which have default value random string, and how ? If is not possible, please let me know that. | |||||
feedback
|
PostgreSQL example:
Apparently you can do this. (Of course, you can add other characters as well, or use other random string generator as well - like this, for example.) | ||||
feedback
|
The solution is (for PGSQL):
| |||
feedback
|