Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8364377
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T12:24:59+00:00 2026-06-09T12:24:59+00:00

I have used SQL Server & MySQL RDMS databases in my app development. I

  • 0

I have used SQL Server & MySQL RDMS databases in my app development. I am new to sybase database in which I found that the string search is by default case-sensitive whereas in SQL Server and MySQL its not.
1. Is there any SQL Standard regarding string search case-sensitivity?
2. If there is unique key index over this string column, then will there be any issue if two rows found to be have same string but one in upper case and other in lower case?

SELECT * FROM TABLE1 WHERE COL1 = 'Sample'
SELECT * FROM TABLE1 WHERE COL1 = 'sample'
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T12:25:00+00:00Added an answer on June 9, 2026 at 12:25 pm
    1. I think it depends on CHARACTER SET and collation in MySQL. Default character set is latin1_swedish_ci in which ci stands for case insensitive. You can change it to latin1_swedish_cs to make it case sensitive.

      In both MySQL and SQL server you can set character set and collation on column, table, database and server level.

      http://dev.mysql.com/doc/refman/5.5/en/case-sensitivity.html

    2. Unique index will remove duplicates based on character set and collation. So if you have a latin1_swedish_cs then you will have two rows for ‘Sample’ & ‘sample’ and for latin1_swedish_ci you will have only first row ‘Sample’. So all the string comparisons (in WHERE, DISTINCT, GROUP BY) inside database will based on the character set and collation which you have set.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have used SQL SERVER 2005 & c# .net for front end & app.config
I have two SQL Server (2000) databases. Both are used for the same project,
I have a spatial model definition which used to be working with SQL Server
I have a Windows .net application using SQL Server 2005 Express as database, which
We have SQL Server 2008 R2 and Visual Studio 2008. I have used the
I have just downloaded SQL Server 2005 express edition from here: To be used
I have a SQL data calculation which is used as part of where clause
I have a column in my SQL-2005 database that used to be a varchar(max)
I have a table in sql server 2005 which holds an ip range and
I have renamed a table in a SQL Server 2008 database, from eL_CourseStepUserNotes to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.