SQL LanguageSQL Language discussions not specific to a particular RDBMS program or vendor.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the SQL Language section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
select invoice_num from IM_INVOICE where invoice_num between 'a' AND 'izzzzzzzzzzz';
Ideally we are expecting the record from 'a' to 'i'. & all should be small letter . BUT we are getting the record that is in CAPITAL LETTER as well.But here we are comparing only with Small Letter.
Anyway when we are comparing like bellow:
select invoice_num from IM_INVOICE where invoice_num >= 'a'
AND invoice_num <= 'izzzzzzzzzzz';
The problem is still the same. I'm geting the invoices that is in Capital Letter along with small letter.
Could anyone help me out.....? i'm Struggling alot with this..!
Thinking out loud, Sql is making the comparation in text and not binary (that is what you want). I don't have a clue about it, but you should investigate that way...
HTH
Gonzalo
================================================== =========
Read this if you want to know how to get a correct reply for your question: http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof: http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========