社区
数据库相关
帖子详情
请问这句是什么意思?select * from sales..table1 ?
wltom
2003-10-19 08:44:16
sales..table1这种写法是什么意思?
...全文
87
6
打赏
收藏
请问这句是什么意思?select * from sales..table1 ?
sales..table1这种写法是什么意思?
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
6 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
jacobran
2003-10-20
打赏
举报
回复
这个语句可以读出另一个数据库SALES中的TABLE1中的数据
huojiehai
2003-10-19
打赏
举报
回复
你用的应是SQL SQRVER数据库
sales..table1
sales//是数据库名
table1就是表名
这句话的意思是跨数据库取表中的数据
hmily1688
2003-10-19
打赏
举报
回复
库名为sales,表名为table1,如果数据源是从两个库中取时常用这种写法
angle097113
2003-10-19
打赏
举报
回复
sales(数据库的名称)..table1(表的名诚)
47522341
2003-10-19
打赏
举报
回复
不对;没注意;应该是一个点吧;
如果是一个;就是从数据库sales中的table1中选择数据;
47522341
2003-10-19
打赏
举报
回复
楼主是不是在书上看到的例程;我估计应该是个省略号吧;^_^;
select
* from openquery +附近有错误
可以看到这样直接通过链接数据库调用是不行的。需要换个方式,改用OPENQUERY。 DECLARE @a VARCHAR(50) set @a = (
select
* from openquery(LS,'
select
Test.dbo.FUN_ReturnValue(''haha'')'))
select
@a --返回的字符串值
SELECT
* from openquery...
select
* from 表名 where 字段 is null
有一次需要一从个表中查找某字段值为null并把它替换为另一值。 开始觉得用
select
* from 表名 where 字段=null 应该可以的。 但结果是没有报错,但结果什么也没有显示出来。 后来又试:
select
* from 表名 where len(字段)=0 结果仍...
where not exists(
select
1 ...
看到
select
t1.* from t1 where not exists(
select
1 from t2 where imsi = t1.imsi and cdate =t2.cdate)
select
* from t1 where not exists(
select
1 from t2 where t1.id=t2.id)
select
* from ta a where not exists(
select
1 from ta b where a.id=b.id)
select
* from
could not find driver (SQL:
select
* from information_schema.
table
s where
table
_schema = oliver and
laravel数据迁移时无驱动
CREATE
TABLE
表名 AS
SELECT
语句
SQL>
select
* from dept; DEPTNO DNAME LOC ------ -------------- ------------- ACCOUNTING NEW YORK RESEARCH DALLAS
SALES
CHICAGO OPERATIONS BOSTON SQL> create...
数据库相关
2,498
社区成员
88,445
社区内容
发帖
与我相关
我的任务
数据库相关
Delphi 数据库相关
复制链接
扫一扫
分享
社区描述
Delphi 数据库相关
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章