• some great code suggestions

    from a similar thread where someone needed to detect if lower case/upper case character exists:

    http://www.sqlservercentral.com/Forums/Topic800271-338-1.aspx

    this would check if the string is all UPPER:

    DECLARE @string VARCHAR(10)

    SET @string = 'Sarat'

    SELECT

    CASE

    WHEN @string = upper (@string) COLLATE Latin1_General_CS_AI

    THEN 'All upper case found' ELSE 'Mixed or lower Case found'

    END

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!