Microsoft
Software
Hardware
Network
Question : Query To Detect if unicode data exists in field in SQL Server 2005
Hello,
I was wondering if there was a way to detect if a particular field in an MSSQL 2k5 database table contains unicode characters ( i.e. russian, chinese, etc ).
Essentially, I have a table with lots of values in different languages and I want to pull the info for ONLY the ones that contain unicode data and not fields that do not contain unicode data.
1:
Answer : Query To Detect if unicode data exists in field in SQL Server 2005
One quick way would be to use something like this:
SELECT * FROM mytable WHERE PATINDEX('%[^[ a-z0-9!@#$%^&*()-_=+]%' ,myfield) > 0
You might have to add more characters to this, but this is just a quick example.
Random Solutions
GZip Partially Working
TypeConverter and multiple data sources used in Property Grid with a dropdown control.
How do I modify textboxes/labels in an asp:repeater footertemplate through javascript (client side)
Dell PowerEdge Perc 4e/Di RAID 1 expansion
Audit Failure on Windows 2008
OnTextChanged TextBox Issue
Installing Windows 2008 Server R2 on a Dell PE 2850
KDL55HX701 or 55LH90, which is best/newer?
Shortcut
Asp.Net I am having problem trying to access a page & passing it querystring value.