Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Database collation and column collation different - Does it matter?

Posted on 2014-01-15
2
377 Views
Last Modified: 2014-01-16
Greetings!

I have several SQL databases on my system.  At the database level, the collation for all of them is set to LATIN1_GENERAL_BIN.  On some of them, the collation of some columns is set to LATIN1_GENERAL_100_BIN.

Practically speaking, does this matter?  

For example, I will need to combine the data in 2 of these tables that have different column level collations by adding records that only exist in Table1 to Table2.  I did a small test and I was able to add records.

Thanks, in advance, for your help.
0
Comment
Question by:monkeybiz12345
2 Comments
 
LVL 34

Accepted Solution

by:
Dan Craciun earned 500 total points
ID: 39784524
In your case you're using the same character set (Latin1) and different collations.

Since the collation is a set of rules for comparing characters in a character set, it does not matter when importing data from a field with the same charset.

HTH,
Dan
0
 

Author Closing Comment

by:monkeybiz12345
ID: 39785951
Thanks Dan! Exactly what I wanted to know.
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question