Tried that - it didn't work either.

 

Sean Rector, MCSE

 

From: Spencer Read [mailto:[email protected]] 
Sent: Monday, August 08, 2011 11:30 AM
To: NT System Admin Issues
Subject: RE: Quick SQL Like statement question

 

Take the last % sign out of the query?

WHERE OrderNumber not like '%[A-Z]'

 

...Spence

 

 

From: Sean Rector [mailto:[email protected]] 
Sent: 08 August 2011 16:24
To: NT System Admin Issues
Subject: Quick SQL Like statement question

 

Guys,

 

I have a quick question on how I can construct a SQL SELECT WHERE clause that 
uses NOT LIKE and won't select any entry that ends with a capital letter.

 

I've tried 

 

WHERE OrderNumber not like '%[A-Z]%'

 

But that isn't working for me.

 

Sean Rector, MCSE

 

Information Technology Manager
Virginia Opera Association 

E-Mail:         [email protected] <mailto:[email protected]> 
Phone:        (757) 213-4548 (direct line)
{+}

Tickets and Subscriptions On Sale Now!
Aida | Hansel And Gretel | Orphée | The Mikado
Visit us online at www.VaOpera.org <http://www.vaopera.org/>  or call 
1-866-OPERA-VA

Experience the Beauty, Power & Passion of Virginia Opera.

________________________________

This e-mail and any attached files are confidential and intended solely for the 
intended recipient(s). Unless otherwise specified, persons unnamed as 
recipients may not read, distribute, copy or alter this e-mail. Any views or 
opinions expressed in this e-mail belong to the author and may not necessarily 
represent those of Virginia Opera. Although precautions have been taken to 
ensure no viruses are present, Virginia Opera cannot accept responsibility for 
any loss or damage that may arise from the use of this e-mail or attachments.

{*}

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

Reply via email to