yjh_study_command
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
yjh_study_command的更多相关文章
随机推荐
- vbs SendKeys技术 vbs SendKeys
简单说,这个命令就是模拟键盘操作,将一个或多个按键指令发送到指定Windows窗口来控制应用程序运行,其使用格式为:object.SendKeys string"object":表 ...
- 【mysql】count(*),count(1)与count(column)区别
https://blog.csdn.net/lzm18064126848/article/details/50491956 count(*)对行的数目进行计算,包含NULL count(column) ...
- PIE SDK算法的同步调用
1. 算法功能简介 同步调用一旦开始,调用者必须等到方法调用返回后,才能继续后续的行为. PIE SDK支持算法功能的执行,下面对算法的同步调用功能进行介绍. 2. 算法功能实现说明 2. ...
- 升级TeeChart pro
teechart 安装流程如下: 1. 将生成的 LIB中的 选中文件copy到C:\Users\Public\Documents\RAD Studio\8.0\Dcp 图1 1. fastrep ...
- Reading a IMU Without Kalman: The Complementary Filter
目标是将惯性测量元件(IMU)之中陀螺仪.加速计的数据结合使用.Kalman filter太复杂,在微机上倾向用一种更简单的方法:Complementary filter 姿态估计(获得3个角度,俯仰 ...
- vim 配置文件——部分配置
//vim 相关 set nu set showmatch set autoindent set smartindent set ruler set incsearch set tabstop=4 s ...
- 用js语句控制css样式
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8" ...
- [转]浅谈微信小程序
本文转自:http://www.cnblogs.com/liziyou/p/6340159.html 微信小程序 1.什么是小程序 小程序是指微信公众号平台小程序,小程序可以在微信内被便捷的获取和转播 ...
- CheckBoxList
CheckBoxList 控件基本用法 定义和用法 CheckBoxList 控件用来建立一个多选的复选框组. CheckBoxList 控件中的每个可选项由一个 ListItem 元素来定义! 提示 ...
- python学习(四)--POST请求
from urllib import requestimport urllibimport re #网页版有道翻译是ajax的post请求. #浏览器请求地址http://fanyi.youdao.c ...