471,893 Members | 2,056 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,893 software developers and data experts.

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 1779
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
reply views Thread by YellowAndGreen | last post: by
reply views Thread by zermasroor | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.