Is there a Left or Right method (as in VB) to retrieve only the 1st (or last) # of characters from the Select values?
Example: myTable's myField1 has values of A00ABC, X00RST, & K00MNO. How can I t-sql Select and display the last 4 characters: 0ABC, 0RST, 0MNO ?
Also while I'm at it, what's the t-sql cast/convt for displaying a date of mm/dd/yyyy as mm/dd/yy?
Thanks a bunch!
Example: myTable's myField1 has values of A00ABC, X00RST, & K00MNO. How can I t-sql Select and display the last 4 characters: 0ABC, 0RST, 0MNO ?
Also while I'm at it, what's the t-sql cast/convt for displaying a date of mm/dd/yyyy as mm/dd/yy?
Thanks a bunch!