Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
tech_1
Posting Yak Master
129 Posts |
Posted - 2011-11-08 : 13:01:51
|
| Hi. need to run a one off quick job to update a field in a table by using the first 10 characters of that rows/record "Title."how can I do it?UPDATE OperatorSET InternalShortcode = (SELECT SUBSTRING (Title, 1,10) FROM Operator)the above obviously doesnt work - because more than 1 result would have been found |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
|
|
|