码迷,mamicode.com
首页 >  
搜索关键字:scott gu    ( 1154个结果
Oracle如何判断表存在,若存在则进行删除
declare num number; begin select count(1) into num from all_tables where TABLE_NAME = upper('EMP') and OWNER='SCOTT'; if num=1 then execute immediate ...
分类:数据库   时间:2018-10-18 23:52:21    阅读次数:263
Oracle 锁的概念
用scott/orcl登录并且模拟数据 SQL> conn scott/orclConnected.SQL> create table tt(id int primary key); Table created. SQL> insert into tt values(11); 1 row creat ...
分类:数据库   时间:2018-10-16 02:03:17    阅读次数:185
oracle 角色
一、介绍角色就是相关权限的命令集合,使用角色的主要目的就是为了简化权限的管理。假定有用户a,b,c为了让他们都拥有如下权限1. 连接数据库2. 在scott.emp表上select,insert,update。如果采用直接授权操作,则需要进行12次授权。因为要进行12次授权操作,所以比较麻烦喔!怎么 ...
分类:数据库   时间:2018-10-15 16:28:07    阅读次数:203
laravel 导出插件
转发:https://blog.csdn.net/gu_wen_jie/article/details/79296470 版本:laravel5 php 5.6 安装步骤: 一、安装插件 ①、首先在Laravel项目根目录下使用Composer安装依赖: composer require "maat ...
分类:其他好文   时间:2018-10-10 14:27:00    阅读次数:231
ORACLE安装报错解决
今天在虚拟机中安装了一个WINDOWS系统,用于安装oracle服务器;从安装到使用中出现了很多的问题,把这些问题解决掉,花了不少时间,查了不少的资料。 第一个,我在安装过程中,出现了ORA-00922和ORA-28000报错,这是前面的口令设置上太随意了,没有按照oracle的要求设置口令导致; ...
分类:数据库   时间:2018-10-05 18:59:12    阅读次数:238
oracle
create table t_class( tc_id number(5) not null, tc_name varchar2(30) not null, createdate date ) create table t_user( t_id number(5) not null, t_name ...
分类:数据库   时间:2018-09-28 19:16:15    阅读次数:192
Python3链接Oracle
1. 说明 1. 本篇主要参见与 "cx_Oracle安装" 2. 全部操作均在 用户下完成 2. 下载Oracle Instant Client客户端 依据系统,在 "Oracle Instant Client" 下载对应的客户端,此处,我们选用Linux x64,如下: 依据Oracle版本,选 ...
分类:数据库   时间:2018-09-24 11:26:03    阅读次数:204
WARN: Establishing SSL connection
在我们使用连接MySQL数据库时会出现这样的提示: Tue Aug 29 13:24:29 CST 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. Ac ...
分类:其他好文   时间:2018-09-23 16:35:03    阅读次数:242
oracle
1.基本SQL语句复习 1.描述scott.emp表的结构,查询emp表中所有数据。 2.找出下面语句中的错误并修正。 3.查询scott.emp表中,所有员工的姓名、工资、工资与奖金之和,列头显示为如下格式:NAME SALARY Total_Salary. 4.查看最后一次执行的查询语句,将此语 ...
分类:数据库   时间:2018-09-23 11:49:23    阅读次数:628
oracle练习前期准备
oracle练习前期准备 登陆scott用户(默认密码tiger),开始一般提示用户已锁。 解决办法:登陆sys或system用户解锁 输入命令alter user scott account unlock; 然后登陆scott用户,可能回让你修改密码,修改成功后就可以成功登陆了。 现在我们把SQL ...
分类:数据库   时间:2018-09-22 18:30:36    阅读次数:206
1154条   上一页 1 ... 18 19 20 21 22 ... 116 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!