469,299 Members | 2,073 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,299 developers. It's quick & easy.

The following prints out "0" - SQL procedure and use of the "charindex" function.


My code prints out 0 for the value of charindex ( 'Hello.', '.' ).

Did I miss something? I think it should print out 6!
Jul 20 '05 #1
1 1730
Does the word "doh!" mean anything to anyone? Well, in fact, I should have
written charindex ( '.', 'Hello.')

"Robin Tucker" <r.******@thermoteknix.com> wrote in message
news:bi*******************@news.demon.co.uk...

My code prints out 0 for the value of charindex ( 'Hello.', '.' ).

Did I miss something? I think it should print out 6!

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by todd | last post: by
reply views Thread by Jason MacKenzie | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.