drop database mydb
;
create database mydb using codeset UTF-8 territory US
;
connect to mydb
;
-----------------------------------------------
create table items (
id int primary key not null,
brandname varchar(30),
itemname varchar(30),
sku int,
srp decimal(7,2),
comments xml
);
------------------------------------------------
create table clients(
id int primary key not null,
name varchar(50),
status varchar(10),
contact xml
);
------------------------------------------------
insert into clients values (77, 'John Smith', 'Gold',
'<addr>111 Main St., Dallas, TX, 00112</addr>')
;
--------------------------------------------------------
IMPORT from "C:\labs\lab3\Part 2\clients.del" of del xml from "C:\labs\lab3\Part 2" INSERT INTO CLIENTS (ID, NAME, STATUS, CONTACT);
--------------------------------------------------------
IMPORT from ""C:\labs\lab3\Part 2\items.del" of del xml from "C:\labs\lab3\Part 2" INSERT INTO ITEMS (ID, BRANDNAME, ITEMNAME, SKU, SRP, COMMENTS);
expressc_book_exercises_9.7
5星 · 超过95%的资源 需积分: 10 83 浏览量
2013-05-28
15:01:25
上传
评论
收藏 9KB ZIP 举报
xy5686670
- 粉丝: 0
- 资源: 1
最新资源
- 高等数学第一章第二节数列的极限
- Python 版冒泡排序算法源代码
- tensorflow-gpu-2.7.2-cp38-cp38-manylinux2010-x86-64.whl
- tensorflow-2.7.3-cp39-cp39-manylinux2010-x86-64.whl
- tensorflow-2.7.2-cp39-cp39-manylinux2010-x86-64.whl
- Python版本快速排序源代码
- Python 语言版的快速排序算法实现
- 450815388207377安卓_base.apk
- 超微主板 X9DRE-TF+ bios 支持 nvme启动
- 基于Python通过下载气象数据和插值拟合离散数据曲线实现对寒潮过程的能量分析
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈