x
login about faq Site discussion (meta-askssc)

Czech character identification

We are currently on SQL Server 2000 and need to identify records with Czech Characters from the database tables. Can anyone guide me how this can be done in SQL Server 2005/SQL Server 2000 ?

more ▼

asked Oct 26 '09 at 02:21 AM in Default

SQLserver_novice gravatar image

SQLserver_novice
113 6 6 7

(comments are locked)
10|1200 characters needed characters left

1 answer: sort newest

So, the Czech characters are áčďéěíňóřšťúůýž, right?

So if you're looking for these characters, you should make sure you're using a collation that is accent sensitive. Then you can do something like:

WHERE col LIKE '%á%' COLLATE Latin1_General_CI_AS

...to see if you have this character used anywhere.

To get a list of columns, use sys.columns. Join to sys.objects and sys.schemas to find out what tables they're in. You're only interested in the columns which are one of the string types, so join to sys.types to get the ones you want.

Oh, and if you're in SQL 2000, then use sysobjects, etc. The principle still holds though.

more ▼

answered Oct 26 '09 at 02:33 AM

Rob Farley gravatar image

Rob Farley
5.7k 13 17 19

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x1835
x454
x19

asked: Oct 26 '09 at 02:21 AM

Seen: 1259 times

Last Updated: Oct 26 '09 at 06:44 AM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.