SQL Server :: About Store Non-English Chars?
Oct 8, 2010What's the different between varchar and nvarchar to store Non-English chars? like À Õ Ù and so on.
View 4 RepliesWhat's the different between varchar and nvarchar to store Non-English chars? like À Õ Ù and so on.
View 4 RepliesI want to replace some chars like ş,ğ,ı,ç... to % and search with LIKE for easy search and data convenience.But if the string is ayşe and I search all the other things like aysel ay.........e comes in the resut set.Is there any way to change these characters with one char length % ???
View 1 RepliesI want to allow only English characters to be typed in my asp:TextBox (in asp:Login conttrol).How can I do that?
View 2 RepliesI want to convert a string to a number.
But some strings have a normal char in it like:
543p
How can delete all chars, instead of all chars that are normal in a decimal ?
I want to create a Dictionary... where i can get Dictionary database or World lists (english to english , english to hindi)
View 1 RepliesI have a textbox to which i want to allow only digits and chars and restrict any special chars.
So if i use the following javascript it works fine:
[Code]....
But the above does not work. It allows special chars also.
I have two tables for storing language translations - tblEN and tblES. They have the same structure which is nvcEnglish and nvcLocal - both nVarChar fields.
In nvcLocal of the Spanish table, I enter the Spanish translations of words and phrases used within my app. Problem is, when I add a bunch of new records to the English table I also have to go in and repeat the data entry into the Spanish table. I am wondering if there is a way to import the newly added records into the Spanish table using Transact SQL?The plain language query would be something like:
If the data in tblEN.nvcEnglish does not exist in tblES.nvcEnglish then insert a new row into tblES with the values from tblEN
Below is the code I use to store file into database but there are a few problems.
1. couldn't store file larger than 4mb
2. couldn't store doc,docx,xlsx but only .txt
my table column are:
[code]....
I am having trouble with parsing a srtring, let me figure out :
This is my string (being gathered from DB) : students/notes/8293/location/michael.jpg
and i want to parse "michael.jpg" from this string to be able to process it.
I'm developing a web app in asp.net mvc using jquery, the language of application is pt-BR and some characteres are not displayed correctly, like accented charcacters and 'ç' char. Insted of this, a unknown char is displayed on browser.
Is there any way to set the location on jquery ? Or on the file .js, .aspx?
I am not doing an ajax call, I'm writing a text in elements of html like div, hyperlink, etc... something like this:
$("#myDiv").text("Água, Açúcar, e leite em pó");
But in my div is shown: "?gua, A??car, e leite em p?"
I've set my globalization in web.config to pt-br, my html tag and meta tags to pt-br:
<!DOCTYPE html>
<html lang="pt">
<head>
<title>...</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="content-language" content="pt-br">
I have a textbox1, want to set a minimum length of atleast 8 chars, how to do the min length validation.
View 7 RepliesI have a string and I want to know if it has unicode characters inside or not.(if its fully contains ASCII or not)How can I achieve that?
View 4 RepliesI have an asp.net page connected to a MySql DB.When I try to insert/update values from the webpage into the DB the chars are shown in the DB as question marks (I am using SP).If i will write a query directly in the DB, It will work and the chars will be displayed correctly.
The DB default charset is utf8, and the column collation is utf8_general_ci.
Actually I have a gridview with many rows and I want to insert the all rows in sql server through one store procedure first row can inserted but what should we do for other rows
View 3 RepliesI need rft server control not HTML based server controls to display and store text as well as images, from which i can get rtf text and can save it as it is in DB.
View 1 RepliesI have a large dataset (35,000+ rows) that I need to export to excel and then let the user download. I have done this the conventional way (with a gridview), but the data has grown, causing a OutOfMemoryException on the web server.
So I thought, would it not be better if I can export the data into excel on the sql server, and then transfer this data to the web server.
Note that this is not a one-off job. This will be ran regularly (twice a month), but the user. Hence I need something that the user can initiate.
i have a sql server store procedure which return json data. i want to get this data without .net framwork or php or any other server side language..
So how make this possible to get json data of sql server query through any client scripting language like jquery ajax method.
how to store only date into sql server 2008 from C# asp.net 3.5.
I want to store only date(like 26/05/1986) and only time (like 04:45:40 AM) into sql server 2008 .
I am using C# asp.net 3.5 as front end.But i am not getting how to convert datetime into only date and only time from front end application.
It should not be as a string from front end.it should be as a date type / time type.
I can not see only date or only time data type in VS 2008.
how to store only date or only time into sql server 2008 having only date or only time as a data type.
What is the regular expression for a RegularExpressionValidator so it fires if the string in the validated control contains a r is longer then 250 chars?
View 1 RepliesI'm looking to parse the cs(Referer) column in one of log files for the following data found intween the followingbolded URL parameters and was wondering what commands in a select statement would be the best way for doing this.[URL]Example - I would be able to parse the "2" found after "start=" and the data "castle%2bshore" inbetween "%3Fq%3D" and "%26"
View 1 RepliesI have problem like to count the repeated chars from a string using sql server.Also i have used functions in sql server thats working fine.But i want the solution using a sql query...
[i have a column like ID,name,Secure_name],here 1 ,'kamal','welcome'.so findout 'e' howmany times repeated in a column secure_name.....
I'm trying to complete a regular expression that will pull out matches based on their opening and closing characters, the closest I've gotten is
^([[)[a-zA-Z.-_]+(]])
Which will match a string such as "[[word1]]" and bring me back all the matches if there is more than one, The problem is I want it to pick up matchs where there may be a space in so for example "[[word1 word2]]", now this will work if I add a space into my pattern above however this pops up a problem that it will only get one match for my entire string so for example if I have a string
"Hi [[Title]] [[Name]] [[surname]], How are you"
then the match will be "[[Title]] [[Name]] [[surname]]" rather than 3 matches "[[Title]]", "[[Name]]", "[[surname]]". I'm sure I'm just a char or two away in the Regex but I'm stuck, How can I make it return the 3 matches.
In my project one of scenario demands passing querystring values more than 256 chars @ a time ...I tried it but after 256 chars its trunacting all other chars. workaround or various ways for passing more than 256 chars through querystring.
View 6 Replieson my page i have a time range printed in the format of 12:00 AM - 12:00 PM i have to display this appropriately for whatever culture the browser supplies. i'm having an issue with arabic (ar-ae): the am/pm indicator seems to change the text ordering for part of the string. the string has the right characters in the right places in memory, but shows them in a different order.
so for my start and end times, i have strings like 03:00 ص and 11:00 مand then i put them together like
string dummytext = t1string + " - " + t2string; when the page is written, the range is displayed as 03:00 ص - 11:00 م i've tried putting each piece in a Label control and wrapping everything in a div with dir="ltr" and haven't made any progress. this is happening in a table cell if it makes any difference.
In the rowdatabound, I have added some html to a linkbutton for formatting, but later when I try to get the len(trim) char count of the linkbutton, I cannot get an accurate reading. Is there someway?
View 11 Replies