Chinaunix首页 | 论坛 | 博客
  • 博客访问: 43250
  • 博文数量: 33
  • 博客积分: 1480
  • 博客等级: 上尉
  • 技术积分: 360
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-17 16:06
文章分类

全部博文(33)

文章存档

2009年(2)

2008年(31)

我的朋友
最近访客

分类: Oracle

2008-09-23 13:25:28

--创建用户,赋予权限
create user username identified by password
grant ..to username
--删除用户
drop user username cascade
--查询某个表中的字段
select * from all_tab_columns where table_name='table_name'
select * from user_tab_cols where table_name='table_name'
select * from dba_tab_cols where table_name='table_name'
--在命令行启动oracle服务(启动服务都是dos命令,如果想在oracle环境中进行操作,需要在前面加上host,或者简写成ho,例如 ho dir/p/w)
net start OracleServicesid
--启动监听服务
lsnrctl start

阅读(356) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~