惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
GbyAI
GbyAI
博客园 - 叶小钗
B
Blog
Stack Overflow Blog
Stack Overflow Blog
The Register - Security
The Register - Security
W
WeLiveSecurity
S
Secure Thoughts
S
Security @ Cisco Blogs
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Webroot Blog
Webroot Blog
爱范儿
爱范儿
SecWiki News
SecWiki News
N
News and Events Feed by Topic
Y
Y Combinator Blog
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
云风的 BLOG
云风的 BLOG
博客园 - 聂微东
V
V2EX
酷 壳 – CoolShell
酷 壳 – CoolShell
美团技术团队
U
Unit 42
F
Full Disclosure
PCI Perspectives
PCI Perspectives
Security Archives - TechRepublic
Security Archives - TechRepublic
N
News | PayPal Newsroom
The Last Watchdog
The Last Watchdog
Cloudbric
Cloudbric
O
OpenAI News
S
Security Affairs
D
Docker
博客园 - Franky
Application and Cybersecurity Blog
Application and Cybersecurity Blog
The GitHub Blog
The GitHub Blog
博客园 - 三生石上(FineUI控件)
P
Proofpoint News Feed
Recent Commits to openclaw:main
Recent Commits to openclaw:main
aimingoo的专栏
aimingoo的专栏
Hugging Face - Blog
Hugging Face - Blog
TaoSecurity Blog
TaoSecurity Blog
F
Fortinet All Blogs
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Google DeepMind News
Google DeepMind News
L
LINUX DO - 最新话题
MyScale Blog
MyScale Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 司徒正美
N
News and Events Feed by Topic

博客园 - 李明飞

C#设计模式之我见(四)Ⅱ C#设计模式之我见(四)Ⅰ C#设计模式之我见(三)Ⅲ C#设计模式之我见(三)Ⅱ C#设计模式之我见(三)Ⅰ C#设计模式之我见(二)Ⅱ C#设计模式之我见(二)Ⅰ C#设计模式之我见(一) 面向对象编程之重用、继承、多态、抽象 初探SilverLight 2.0的安装和部署 工作小札,生活一杯羹! “管家婆”的好帮手——我的理财小管家 类库DLL属性说明和正确使用App_Code中类的静态成员 冬日糊辣汤 以前的面试题(二) 以前的面试题 SQL Server 2005新特性之感悟 招聘高级网页设计师(北京) Web Services 的设计和模式
知识点滴(打油篇)
李明飞 · 2008-06-30 · via 博客园 - 李明飞

多数据库间的SQL调用(下面举例两个数据库):
select * from 数据库1名.用户名.表名 JOIN 数据库2名.用户名.表名 ON 数据库1名.用户名.表名.链接字段=数据库2名.用户名.表名.链接字段
不是同一台服务器需要做linked server,然后OpenQuery之类的方法查询,或者select * from 服务器名.数据库名.拥有者名.表名 这种四段式格式访问。
在同一台服务器更简单,假如你当前正use B,而要访问A,只要select * from A.拥有者(dbo的话可以省略不写).表 三段式格式即可。
当然前提是你要有足够的权限。
ASP.NET页面间保持持久信息的方法:
 ASP.NET拥有了一套在各个HTTP请求之间维持状态的技术:Session,Cookie,ViewState,Profile,Application。
查看全文