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 |
|
reynet
Starting Member
4 Posts |
Posted - 2007-05-11 : 15:29:43
|
| I am trying to create a query that gives me records on a phonenumber field that start with an '(' I don't want records that start with any numbers or alpha characters. Below is what I was trying as you can see I don't know what the heck I'm doing can you please adviseDECLARE @s nvarchar(60)SET @s = '1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ'select * from dbo.Recipients where recipientaddress NOT like '@s%' |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2007-05-11 : 15:31:26
|
| WHERE recipientaddress LIKE '(%'Tara Kizerhttp://weblogs.sqlteam.com/tarad/ |
 |
|
|
|
|
|