Click here to Skip to main content
15,884,819 members
Home / Discussions / Database
   

Database

 
QuestionProblem with the french character with sql server 2005 Pin
pranavcool27-Dec-09 18:44
pranavcool27-Dec-09 18:44 
AnswerRe: Problem with the french character with sql server 2005 Pin
Luc Pattyn28-Dec-09 1:33
sitebuilderLuc Pattyn28-Dec-09 1:33 
GeneralRe: Problem with the french character with sql server 2005 Pin
Eddy Vluggen28-Dec-09 2:24
professionalEddy Vluggen28-Dec-09 2:24 
GeneralRe: Problem with the french character with sql server 2005 Pin
Luc Pattyn28-Dec-09 2:33
sitebuilderLuc Pattyn28-Dec-09 2:33 
GeneralRe: Problem with the french character with sql server 2005 Pin
Eddy Vluggen28-Dec-09 2:52
professionalEddy Vluggen28-Dec-09 2:52 
GeneralRe: Problem with the french character with sql server 2005 Pin
Luc Pattyn28-Dec-09 3:09
sitebuilderLuc Pattyn28-Dec-09 3:09 
GeneralRe: Problem with the french character with sql server 2005 Pin
Eddy Vluggen28-Dec-09 6:34
professionalEddy Vluggen28-Dec-09 6:34 
AnswerRe: Problem with the french character with sql server 2005 [modified] Pin
Eddy Vluggen28-Dec-09 2:19
professionalEddy Vluggen28-Dec-09 2:19 
Try this one;
DECLARE @TestTable AS TABLE (
    TestCol NVARCHAR(2) COLLATE Latin1_General_BIN
)
INSERT INTO @TestTable VALUES (N'₣')
INSERT INTO @TestTable VALUES (N'Œ')
SELECT * FROM @TestTable
Check whether the column that you're storing data into is really accepting unicode-text, make sure the collation is set correctly, and check whether you're passing unicode or ascii as a parameter Smile | :)

--edit--

pranavcool wrote:
i have read in couple of the site that the data type of the colum should be nvarchar or ntext for french characters to support.


That is correct. Unfortunatly, there's other places where things can go wrong. Even the value of the string that you're inspecting in the debugger is displayed using a font. The task would be to verify that SQL Server works correctly, and then to find the source of the error.


pranavcool wrote:
When ever i tried to insert data or run a select query it returns as a question mark "?".


I'm guessing that this is due to the Management Studio, since you're probably not on DOS using isql. Try a small console-application, you'll see that SQL Server correctly saves and retrieves the character. That is, using the standard SqlCommand and SqlConnection.

You're not displaying the result/seeing the '?' in a browser by any chance?

Are you using MONO? Or an ODBC-driver?

I are Troll Suspicious | :suss:

modified on Monday, December 28, 2009 12:34 PM

QuestionHelp me understand this unusual query... [modified] Pin
Rafferty Uy27-Dec-09 15:44
Rafferty Uy27-Dec-09 15:44 
AnswerRe: Help me understand this unusual query... Pin
Luc Pattyn28-Dec-09 1:46
sitebuilderLuc Pattyn28-Dec-09 1:46 
QuestionRe: Help me understand this unusual query... Pin
Rafferty Uy28-Dec-09 15:36
Rafferty Uy28-Dec-09 15:36 
AnswerRe: Help me understand this unusual query... Pin
Luc Pattyn28-Dec-09 15:41
sitebuilderLuc Pattyn28-Dec-09 15:41 
QuestionRe: Help me understand this unusual query... Pin
Rafferty Uy28-Dec-09 15:46
Rafferty Uy28-Dec-09 15:46 
AnswerRe: Help me understand this unusual query... Pin
Luc Pattyn28-Dec-09 15:55
sitebuilderLuc Pattyn28-Dec-09 15:55 
GeneralRe: Help me understand this unusual query... Pin
Rafferty Uy28-Dec-09 16:00
Rafferty Uy28-Dec-09 16:00 
GeneralRe: Help me understand this unusual query... Pin
Luc Pattyn28-Dec-09 16:02
sitebuilderLuc Pattyn28-Dec-09 16:02 
AnswerRe: Help me understand this unusual query... Pin
WoutL28-Dec-09 21:24
WoutL28-Dec-09 21:24 
GeneralRe: Help me understand this unusual query... Pin
Rafferty Uy29-Dec-09 15:34
Rafferty Uy29-Dec-09 15:34 
AnswerRe: Help me understand this unusual query... Pin
Member 450194029-Dec-09 5:47
Member 450194029-Dec-09 5:47 
QuestionNeed help with constructing one query statement [modified] Pin
James Shao27-Dec-09 3:43
James Shao27-Dec-09 3:43 
AnswerRe: Need help with constructing one query statement Pin
Blue_Boy27-Dec-09 10:21
Blue_Boy27-Dec-09 10:21 
GeneralRe: Need help with constructing one query statement Pin
James Shao27-Dec-09 18:38
James Shao27-Dec-09 18:38 
AnswerCan anyone please help? Pin
James Shao28-Dec-09 12:13
James Shao28-Dec-09 12:13 
QuestionProblem installing MS SQL 2008 Express Pin
AndyASPVB26-Dec-09 22:26
AndyASPVB26-Dec-09 22:26 
AnswerRe: Problem installing MS SQL 2008 Express Pin
Roger Wright26-Dec-09 23:18
professionalRoger Wright26-Dec-09 23:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.