oracle是面向过程的数据库语言,其简单的语法和其他的sql都一样 1.创建用户:create user 用户名 identified by 用户密码; 2.用户授权:grant connect,resource,dba to 用户; 3.创建表:create table 表名(参数 数据类型,……); 4.创建索引:create index 索引名 on 表名(字段名); 5.创建序列:create sequence 序列名 start with 开始数 minvalue 最小值 maxvalue 最大值; 6.创建存储过程:create or replace procedure 过程名( ...
2008-05-02

aa2

Part II There are some tables need copy from one oracle user User1 to another user User2. 1. The structure of the two users are same; 2. No DB Link or privilege granted between those two users; 3. No primary key or unique key conflict between those two users' data; 4. The recor ...
  • 16:19
  • 浏览 (57)
  • 评论 (0)
2008-05-02

aa

Part I A product is consist of one or many components and the relation is one-to-many. Component is reference itself . The basic component is part, and a component is consist of other component. A component have one or many parts, the parts can be supplied by different suppli ...
  • 16:18
  • 浏览 (51)
  • 评论 (0)
2008-04-30

oracle

1. create database productdb; create table product -- 产品 ( product_code int primary key, product_name varchar2(20) not null, product_desc varchar2(1000) not null, product_date date not null); create table supplier --供应商 ( supplier_code varchar2(20) prim ...
  • 17:43
  • 浏览 (48)
  • 评论 (0)
2007-09-16

xml简介

关键字: xml
XML(Extensible Markup Language)可扩展标记语言:首先需要说明的是 XML是被设计用来存储数据、携带数据和交换数据的,他不是为了显示数据而设计的。 1,数据和现实的分离。 下面我就从这两个方面,结合自己的经验和丛书中了解的知识,简单的谈一下。 第一:数据和现实的分离。 比如说你手头上有一篇的资料(我们这里先假定是文字的资料,因为如果涉及到图,影像等范围就太广了,也不是我只能力所及),是xml的数据的格式,好了,如果你的客户想通过互联网看看你的资料。你就可以使用一个aaa.xsl把你的xml的数据格式化为HTML的格式,同时这里面有个补充一点,因为你可以控制你要显 ...
  • 21:10
  • 浏览 (210)
  • 评论 (0)
hellosilver11
搜索本博客
最近加入圈子
存档
最新评论