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 |
axux23
Starting Member
4 Posts |
Posted - 2009-02-07 : 01:46:54
|
Hi,I want to select usernames that formed from'ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890' characters, from a column of my table.E.g. 'John' will be selected as a result of this query but names like 'john+ or jöhn' won't be selected. Because they have one or more character which isn't given on my character list. How can i filter words like that ? Thanks. |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2009-02-07 : 03:31:30
|
SELECT *FROM Table1WHERE Col1 NOT LIKE '%[^a-zA-Z0-9]%' E 12°55'05.63"N 56°04'39.26" |
|
|
|
|
|