yjh_study_command
2024-08-26 04:52:39
1.show current user in oralce
ansower:show user
2.search name of table in current user model.
answer:SELECT table_name FROM user_tables; remember: dictionary user_tables;
3.how to find user by talbe name.
eg.I knows the table name is job_history in oracle.
answer:SELECT owner, table_name FROM dba_tables WHERE table_name IN 'JOB_HISTORY';
NOTE: IN replaced by LIKE.
4.how to use to_date() function in work
eg.SELECT to_date('20171026 22:42:50','yyyy-MM-dd hh24:mi:ss') FROM dual;
NOTE:it can is 12 after in the hh or if can't remeber to_date() format use order by keyword with desc.
5.if oracle database have two instance,you need login special instance.following the command.
eg.instance DBSQL account sys password yangjinhong
sqlplus sys/yangjinhong@DBSQL AS SYSDBA
最新文章
- 定制sqlmap tamper脚本
- 如何创建vss2005的数据库
- 4种sql分页
- css笔记10:多个id选择器/类选择器包含相同部分问题的探讨
- java数组的声明由几种方式
- [UWP]创建一个进度按钮
- OpenShift实战(三):OpenShift持久化存储Registry
- iOS下WebRTC音视频通话(二)-局域网内音视频通话
- Django中的原子事务相关注意事项
- MUI框架 按钮点击响应不好的问题解决办法
- Win7 64位下安装64bit MS SQL Server2005时安装不了Reporting Services的处理办法
- XML外部实体注入漏洞(XXE)
- Pftriage:分析和追踪恶意文件,识别特征
- 使用 IntraWeb (35) - TIWJQueryWidget
- 开源方案搭建可离线的精美矢量切片地图服务-8.mapbox 之sprite大图图标文件生成(附源码)
- 如何使用xilinx pcie的源代码
- 【转】【Java/Android】Intent的简介以及属性的详解
- LOJ#2190. 「SHOI2014」信号增幅仪(最小圆覆盖)
- 深入理解 flex 布局以及计算_Flexbox, Layout
- ubuntu 16.04 安装php 5 6等版本
热门文章
- POJ_1703 Find them, Catch them 【并查集】
- A Simple Problem with Integers(线段树区间更新复习,lazy数组的应用)-------------------蓝桥备战系列
- C# B站的弹幕提取
- 论文阅读 | STDN: Scale-Transferrable Object Detection
- postgresql 的一些操作
- WPF Binding的值转换器
- PIE SDK地图显示范围截图
- PIE SDK元素位置和显示样式的修改
- css3之transition、transform、animation比较
- CentOS初试