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 |
|
Meow
Starting Member
8 Posts |
Posted - 2006-01-20 : 13:53:23
|
| is there a sql keyword for find or instr?i have a field i wish to make into two and i need the position of a string "-" in the field so i can do a select right and copy that data to a new colm |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2006-01-20 : 13:55:12
|
| You can use CHARINDEX or PATINDEX. Check SQL Server Books Online for details on both functions. Other common string functions are SUBSTRING, LEFT, and RIGHT.Tara Kizeraka tduggan |
 |
|
|
|
|
|