SELECT * FROM text1.Text 其中text.text是一个表 这句代码有什么错?请帮忙改一下
来源:百度知道 编辑:UC知道 时间:2024/05/29 16:40:18
可是提示错误啊 不能引用text1.text的内容,而直接提示搜索不到text1.text
改成这样:
select * from [text1.text]
加个中括号。
在sql中,text1.text会把text1当作是另一个用户名称,在access中,会把text1当作另一个text1.mdb数据库文件。
无论是表名称中有标点符号还是有空格,都可以用中括号解决。
没错!test1.text是访问另一个用户的表,所以你需要有访问的权限。
SELECT * FROM
str = "select * from yuangongxinxi where 部门="Text1.Text"and 性别='女'
select from where like
select *from 部系表
select sum(*) from...where.....
select * from Employees
select * from table
SELECT * FROM TABLE
select ...from之间又有select是什么意思
select * from table1 where id in (select id from table2),