加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

抓取DB或Instance名

(2006-12-20 10:55:17)
分类: Oracle DB
Why couldn't I use Chinese????
Is there anything wrong with Sina Blog?
 
Today PM gave me a requirement that he wants to know which DB the mail is sent through.
 
Coz it's the first time I encounter how to fetch DB Name,I asked  my counsellor for help,then I got the answer as follows:
 
database: 
SELECT  name  from  v$database;  
instance: 
select  instance_name  from  v$instance;
 
I should never go first for helps by others when encountering problems,I should do it myself first!!!
 
I'll improve it!

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有