Hello all,
Is there an existing mechanism is postgresql that can automatically
increment/decrement on a daily basis w/out user interaction? The use
case I'm considering is where a student is in some type of contract with
an instructor of some sort, and that contract puts a time limit on the
varying(64) |
I want to get all the distinct first character of all usernames. And do
it in a way that is the most portable to MS SQL server.
Is there anyway?
Looking through the documentation on string functions would be helpful.
An example solution is:
select distinct substring(username