Click here to Skip to main content
15,909,953 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: SQL Server query with diacritics works in Studio but not in ADO query Pin
RedDk15-Nov-13 11:11
RedDk15-Nov-13 11:11 
simplify by using UNICODE():
DECLARE @nstring nchar(12)
SET @nstring = N'ü'
SELECT UNICODE(@nstring), NCHAR(UNICODE(@nstring))

252	ü

And the best xample is in BOL on UNICODE function:
DECLARE @posit int, @nstring nchar(12)

SET @posit = 1

SET @nstring = N'Münster'

PRINT 'Character #' + ' ' + 'Unicode Character' + ' ' + 'UNICODE Value'
WHILE @posit <= DATALENGTH(@nstring)

   BEGIN
   SELECT @posit, 
      CONVERT(char(17), SUBSTRING(@nstring, @posit, 1)),
      UNICODE(SUBSTRING(@nstring, @posit, 1))
   SELECT @posit = @posit + 1
   END

Results:
1	M                	77
2	ü                	252
3	n                	110
4	s                	115
5	t                	116
6	e                	101
7	r                	114

GeneralRe: SQL Server query with diacritics works in Studio but not in ADO query Pin
Member 1014201417-Nov-13 23:03
Member 1014201417-Nov-13 23:03 
QuestionHow to [Add More..] Pin
Jassim Rahma14-Nov-13 6:42
Jassim Rahma14-Nov-13 6:42 
Questionprograming the whole site using html 5 or html4?? Pin
TheSniper10514-Nov-13 1:05
professionalTheSniper10514-Nov-13 1:05 
QuestionRe: programing the whole site using html 5 or html4?? Pin
Richard MacCutchan14-Nov-13 2:42
mveRichard MacCutchan14-Nov-13 2:42 
AnswerRe: programing the whole site using html 5 or html4?? Pin
TheSniper10514-Nov-13 2:49
professionalTheSniper10514-Nov-13 2:49 
GeneralRe: programing the whole site using html 5 or html4?? Pin
Richard MacCutchan14-Nov-13 2:55
mveRichard MacCutchan14-Nov-13 2:55 
AnswerRe: programing the whole site using html 5 or html4?? Pin
Richard Deeming14-Nov-13 4:32
mveRichard Deeming14-Nov-13 4:32 
QuestionProject deployment to QA server Pin
vkEE13-Nov-13 4:25
vkEE13-Nov-13 4:25 
AnswerRe: Project deployment to QA server Pin
Richard Deeming13-Nov-13 4:54
mveRichard Deeming13-Nov-13 4:54 
QuestionI want do some DataMapping, is there any Best Practice? Pin
aptx159611-Nov-13 23:34
aptx159611-Nov-13 23:34 
AnswerRe: I want do some DataMapping, is there any Best Practice? Pin
aptx159611-Nov-13 23:51
aptx159611-Nov-13 23:51 
Questionwhy I am not getting the value on remote Pin
Jassim Rahma11-Nov-13 11:09
Jassim Rahma11-Nov-13 11:09 
Questionbanner management for ad rotation Pin
Jassim Rahma9-Nov-13 23:04
Jassim Rahma9-Nov-13 23:04 
QuestionHeading text alignment problem Pin
Mark F.9-Nov-13 4:42
Mark F.9-Nov-13 4:42 
AnswerRe: Heading text alignment problem Pin
Richard Andrew x649-Nov-13 9:08
professionalRichard Andrew x649-Nov-13 9:08 
SuggestionRe: Heading text alignment problem Pin
Peter Leow10-Nov-13 4:22
professionalPeter Leow10-Nov-13 4:22 
GeneralRe: Heading text alignment problem Pin
Mark F.10-Nov-13 5:16
Mark F.10-Nov-13 5:16 
AnswerRe: Heading text alignment problem Pin
Peter Leow11-Nov-13 17:49
professionalPeter Leow11-Nov-13 17:49 
GeneralRe: Heading text alignment problem Pin
Mark F.19-Nov-13 5:15
Mark F.19-Nov-13 5:15 
Questionuse MySQL's but as true || false Pin
Jassim Rahma7-Nov-13 12:47
Jassim Rahma7-Nov-13 12:47 
QuestionActiveX Control Permissions Pin
Richard Andrew x647-Nov-13 12:20
professionalRichard Andrew x647-Nov-13 12:20 
AnswerRe: ActiveX Control Permissions Pin
shalu_june1412-Nov-13 10:33
shalu_june1412-Nov-13 10:33 
Questioninsert variable from include file Pin
Jassim Rahma5-Nov-13 8:44
Jassim Rahma5-Nov-13 8:44 
QuestionThis webpage has a redirect loop Pin
Jassim Rahma4-Nov-13 23:46
Jassim Rahma4-Nov-13 23:46 

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.