Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
SQL Server 2005 General Discussion
»
Collation Conflict
12 posts, Page 2 of 2
««
1
2
Collation Conflict
Rate Topic
Display Mode
Topic Options
Author
Message
SQLbeginner
SQLbeginner
Posted Tuesday, October 07, 2008 9:44 AM
SSC Rookie
Group: General Forum Members
Last Login: Friday, August 26, 2011 11:27 AM
Points: 38,
Visits: 249
where specifically in the query should i use the Collate function?
I already have it in the middle part of the query.
Post #581936
homebrew01
homebrew01
Posted Tuesday, October 07, 2008 1:37 PM
SSCrazy
Group: General Forum Members
Last Login: 2 days ago @ 9:23 AM
Points: 2,580,
Visits: 7,292
SQLbeginner (10/7/2008)
where specifically in the query should i use the Collate function?
I already have it in the middle part of the query.
Anywhere you're comparing or joining between the 2 databases. Think of it like converting 1 collation to the other. So if DB_A is Collation_A, and DB_B is Collation_B then your code will be:
select DB_A.dbo.TableA, DB_B.dbo.TableB
from DB_A.dbo.tableA TbA
join DB_B.dbo.tableB TbB on TbA.FldA collate Collation_B = TbB.FldB
That converts FldA to B's collation
Post #582145
« Prev Topic
|
Next Topic »
12 posts, Page 2 of 2
««
1
2
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.