掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
SQL ServerにUnicode文字を書き込む (ID:45603)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
>SQL.Text:='update Table1 set Field1 = '+QuotedStr('翻译')+ > ' where ID = 1 '; >ExecSQL; >とか >SQL.Text:='insert into Table1 (ID,Field1) values(1,'+QuotedStr('翻译')+ > ' ) '; >ExecSQL; 試していませんが、 SQL.Text:='update Table1 set Field1 = N'+QuotedStr('翻译')+' where ID = 1 '; SQL.Text:='insert into Table1 (ID,Field1) values(1,N'+QuotedStr('翻译')+' ) '; のようにNをつけるのは、いかがですか?
←解決時は質問者本人がここをチェックしてください。
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.