Member Login:
e-mail:
password:
Register
Forgot Password
Site FAQ
Home
>
IT Answers
>
Development
> sql Help
Sjstevenson
5 pts.
sql Help
SQL
,
SQL Fields
I have a ten character field and need to exclude records if the first 2 character equal a specific pattern how do you do that?
Software/Hardware used:
ASKED:
May 11, 2009 5:21 PM
UPDATED:
May 11, 2009 5:53 PM
Discuss
 
Add to Watchlist
RELATED QUESTIONS
Mailmerge mask of text field
Adding Leading Zeros to a string
Random number generation
Wildcard Characters
Printing a Number as a Character
Answer Wiki:
<pre>SELECT * FROM your_table WHERE your_field NOT LIKE 'XX%'</pre> In this case XX is the two-character pattern.
<pre>SELECT * FROM your_table WHERE your_field NOT LIKE 'XX%'</pre> In this case XX is the two-character pattern.
Last Wiki Answer Submitted:
May 11, 2009 5:53 pm
by
carlosdl
63,535 pts.
All Answer Wiki Contributors:
carlosdl
63,535 pts.
To see all answers submitted to the Answer Wiki:
View Answer History
.
Please complete the following information:
REGISTER / LOG-IN TO ANSWER QUESTION
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Submit your e-mail address below to continue
E-mail: 
E-mail:
Company:
Handle:
Password:
Forgot Password?
Create Handle:
Your handle identifies you in IT Answers. Max 30 char.
Create Password:
Confirm Password:
Yes, I'd like to receive the IT Knowledge Exchange Community Newsletter
Yes, I agree to the
Terms and Conditions.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
hidden modal window
RSS - Discussions
Help
Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Please complete the following information:
REGISTER / LOG-IN TO DISCUSS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Submit your e-mail address below to continue
E-mail: 
E-mail:
Company:
Handle:
Password:
Forgot Password?
Create Handle:
Your handle identifies you in IT Answers. Max 30 char.
Create Password:
Confirm Password:
Yes, I'd like to receive the IT Knowledge Exchange Community Newsletter
Yes, I agree to the
Terms and Conditions.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
hidden modal window
Ask a Question
Question Title:
(150 char. limit.)
Question:
(Please be specific.)
Tags:
(Separate each tag with a comma.)
What is a Tag?
Browse IT Answers by Topic
AS/400
Big Data
Business Intelligence
Channel
CIO
Cloud Computing
Consumerization
CRM
Database
DataCenter
Development
Exchange
Linux
Lotus Domino
Microsoft Windows
Mobile
Networking
Oracle
SAP
Security
SQL Server
Storage
Virtualization
VoIP
Windows Server
>>
VIEW ALL TAGS