About 540,000 results
Open links in new tab
  1. SQL. How to detect user's language? - Stack Overflow

    Mar 2, 2015 · Method 1: Use system function @@language. The system function @@language contains the name of the current language of the server. Method 2 : Use sys.syslanguages view. The system function @@langid will have the id for current language. Thank you for an answer, but this checking only system's language?

  2. how to select rows that contains non-english characters in sql

    Nov 23, 2016 · T-SQL's string-handling capability is pretty rudimentary. If the "non-English" fields are distinguished by their use of Unicode UTF-16, you can try something like SELECT * FROM MyTable WHERE MyField = Cast(MyField AS VARCHAR)

  3. How to find non english language and its data in a table of sql

    Jan 11, 2017 · I have a Sql Server table loaded with data from multiple countries. Say Japanese, Thai, Urdu, Portuguese, Spanish and many more which i didn't identify. How to identify the language and its relevant data from that table ?

  4. mysql - SELECT records that contains just ENGLISH A - Z 1 -9 ...

    Mar 20, 2020 · From a different approach: SELECT ... WHERE HEX(col) REGEXP '^(..)*D[89B]' Will find match rows with col containing at least one Arabic character in utf8 or utf8mb4. If you need to do this in SQL-server, which doesn't know regexp, translate could be handy. set @from = concat(@from,nchar(@cnt)) set @to = concat(@to,' ') SET @cnt = @cnt + 1;

  5. Full-Text Search in Different Languages on SQL Server

    This SQL Server tutorial shows how to query a text table using full-text search where texts in different languages are stored. Actually using different languages for a text field on a database table requires different word breaker set specific to each language on …

  6. Get the Language Currently Being Used in SQL Server

    Jun 22, 2021 · This article shows you how to return the language currently being used. @@LANGUAGE. The @@LANGUAGE configuration function is made specifically for returning the name of the language currently being used. Here’s an example of usage. SELECT @@LANGUAGE; Result: us_english. This is the default language for my login.

  7. How to Find a User’s Default Language in SQL Server (T-SQL)

    Jun 10, 2018 · In SQL Server, you can find out the default language for a given user by querying the sys.server_principals system catalog view. This view contains a row for every server-level principal. It contains information such as the principal’s name, type, create/modify date, default database, default language, etc.

    Missing:

    • Text

    Must include:

  8. How to Store (and Retrieve) Non-English Characters (e.g. Hindi, …

    May 13, 2012 · If you have to store and retrieve characters of any other language besides English in SQL Server, you must do the following – Use a Unicode compatible data type for the table column. NVACHAR, NCHAR, NTEXT are the datatypes in SQL Server that can be used for storing non-English characters.

  9. sql server 2008 - How to get text for default language - Database ...

    Using a recursive CTE, this query builds a table of all languages that point somewhere in their default chain to a language that has the required comment. It shows each language next to its first default that has the required comment.

  10. SQL SERVER – Storing a Non-English String in Table – Unicode …

    Sep 28, 2020 · When you want to store a foreign language in your SQL Server, you have to use the data type NVARCHAR for your column. If you do not use the datatype NVARCHAR, you will be not able to store non-English strings. Let us see an example: (Lang VARCHAR(100), Strings VARCHAR(1000), NStrings NVARCHAR(1000))

  11. Some results have been removed
Refresh