由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - MS Access Question
相关主题
help need请问DATABASE各位大侠
Re: How to change Default SQL String Buffer Size(1K) for ODBC Driver请问如何将Mysql database里的数据转化到Access里?
about mixed case stringRe: Interview question about Microsoft Access and SQL. please help
MS SQL = or like?Questions about building a database(Maybe ACCESS?)
[转载] access问题请教ACCESS问题, 请教!
How to get schema?Use Access Link table to use SQL server tables.
access Vs. SQLRe: Use Access Link table to h use SQL server tables.
One question on SQL ServerAccess VS SQL Server 我应该怎么选择?
相关话题的讨论汇总
话题: access话题: ms话题: single话题: question话题: strings
进入Database版参与讨论
1 (共1页)
a***e
发帖数: 188
1
In several records, there are "'"(single quote). I don't
know how to deal with it. In the query, I have to use single
quotes to embrace the strings. What should I do to let MS
Access think some "'"(single quote) are just like ordinary
strings?
Thank you very much.
s********e
发帖数: 62
2
try \' or /'

【在 a***e 的大作中提到】
: In several records, there are "'"(single quote). I don't
: know how to deal with it. In the query, I have to use single
: quotes to embrace the strings. What should I do to let MS
: Access think some "'"(single quote) are just like ordinary
: strings?
: Thank you very much.
:

a***e
发帖数: 188
3
Thank you very much. But I tried it already, it didn't
work.
Thank you again. Merry Christmas!

【在 s********e 的大作中提到】
: try \' or /'
p*****e
发帖数: 58
4

I don't know how SQL statements work on Access. But in MS
SQL or other dbms, you use '' (two single quotes) in SQL for
the single quote character. Just like in C you use \\ for
\.
Example:
Update table1 set description = 'That''s the big boss'

【在 a***e 的大作中提到】
: Thank you very much. But I tried it already, it didn't
: work.
: Thank you again. Merry Christmas!

g****e
发帖数: 299
5

In Access or VB, you can use function chr().

【在 a***e 的大作中提到】
: Thank you very much. But I tried it already, it didn't
: work.
: Thank you again. Merry Christmas!

1 (共1页)
进入Database版参与讨论
相关主题
Access VS SQL Server 我应该怎么选择?[转载] access问题请教
BM, Please mark it. Re: Access VS SQL Server 我应该怎么选择?How to get schema?
[转载] SQL in Accessaccess Vs. SQL
help about SQL for ACCESSOne question on SQL Server
help need请问DATABASE各位大侠
Re: How to change Default SQL String Buffer Size(1K) for ODBC Driver请问如何将Mysql database里的数据转化到Access里?
about mixed case stringRe: Interview question about Microsoft Access and SQL. please help
MS SQL = or like?Questions about building a database(Maybe ACCESS?)
相关话题的讨论汇总
话题: access话题: ms话题: single话题: question话题: strings