If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
Location: The extremely Royal borough of Kensington, London
Posts: 778
update table
set COLUMN = LTRIM(NAME, SUBSTR(COLUMN, 0, 10));
__________________
Bessie Braddock: Winston, you are drunk!
Churchill: And Madam, you are ugly. And tomorrow, I'll be sober, and you will still be ugly.
Location: The extremely Royal borough of Kensington, London
Posts: 778
You are using MS SQL Server 2000.
update table
set column = Right(column, Len(column) - 1)
- From Visual Basic
__________________
Bessie Braddock: Winston, you are drunk!
Churchill: And Madam, you are ugly. And tomorrow, I'll be sober, and you will still be ugly.