Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Different collations on databases 1

Status
Not open for further replies.

vbtest5

IS-IT--Management
Nov 16, 2002
37
0
0
IN
Hi,

I have two databases and want to write an SQL to retrieve data from two tables. Both the tables are in different databases. Database 1 has collation set to SQL_Latin whereas database 2 has collation set to Windows Collation: Latin1_General. Because of this, my SQL gives me collation error. Is there any solution for this?

Regards,
Varsha
 
You can explicitly convert collection in an expression where you use a column, eg,

where m.fullname =
a.fullname collate sql_latin1_general_cp1_ci_as
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top