Microsoft-PetSop4.0(宠物商店)-数据库设计-Oracle
ylbtech-DatabaseDesgin:Microsoft-PetSop4.0(宠物商店)-数据库设计-Oracle |
DatabaseName:PetShop(宠物商店)
Model:宠物商店网站,批量创建用户
Type:专业网站
Url:
1.A,数据库关系图(Database Diagram) 返回顶部 |
1.B,数据库设计脚本(Database Design Script)返回顶部 |
1.B.1,删除用户
1.B.1.1, Oracle/DropDatabase1.sql
DROP USER MSPETSHOP4 CASCADE;
1.B.1.2, Oracle/DropDatabase2.sql
DROP USER MSPETSHOP4ORDERS CASCADE;
1.B.1.3, Oracle/DropDatabase3.sql
DROP USER MSPETSHOP4PROFILE CASCADE;
1.B.1.4, Oracle/DropDatabase4.sql
DROP USER MSPETSHOP4SERVICES CASCADE;
1.B.2,创建用户并创建表
1.B.2.1, Oracle/CreateTables1.sql
CREATE USER MSPETSHOP4 IDENTIFIED BY "pass@word1" DEFAULT TABLESPACE USERS QUOTA UNLIMITED ON USERS; GRANT CREATE SESSION TO MSPETSHOP4; CREATE TABLE MSPETSHOP4.SUPPLIER (
SuppId int NOT NULL,
Name varchar(80) NULL,
Status varchar(2) NOT NULL,
Addr1 varchar(80) NULL,
Addr2 varchar(80) NULL,
City varchar(80) NULL,
State varchar(80) NULL,
Zip varchar(5) NULL,
Phone varchar(80) NULL,
CONSTRAINT PK_SUPPLIER PRIMARY KEY (SuppId) ); CREATE TABLE MSPETSHOP4.CATEGORY (
CategoryId varchar(10) NOT NULL,
Name varchar(80) NULL,
Descn varchar(255) NULL,
CONSTRAINT PK_CATEGORY PRIMARY KEY (CategoryId) ); CREATE TABLE MSPETSHOP4.PRODUCT (
ProductId varchar(10) NOT NULL,
CategoryId varchar(10) NOT NULL,
Name varchar(80) NULL,
Descn varchar(255) NULL,
Image varchar(80) NULL,
CONSTRAINT PK_PRODUCT PRIMARY KEY (ProductId),
CONSTRAINT FK_PRODUCT FOREIGN KEY (CategoryId)
REFERENCES MSPETSHOP4.CATEGORY (CategoryId) ); CREATE TABLE MSPETSHOP4.ITEM (
ItemId varchar(10) NOT NULL,
ProductId varchar(10) NOT NULL,
ListPrice decimal(10,2) NULL,
UnitCost decimal(10,2) NULL,
Supplier int NULL,
Status varchar(2) NULL,
Name varchar(80) NULL,
Image varchar(80) NULL,
CONSTRAINT PK_ITEM PRIMARY KEY (ItemId),
CONSTRAINT FK_ITEM_1 FOREIGN KEY (ProductId)
REFERENCES MSPETSHOP4.PRODUCT (ProductId),
CONSTRAINT FK_ITEM_2 FOREIGN KEY (Supplier)
REFERENCES MSPETSHOP4.SUPPLIER (SuppId) ); CREATE TABLE MSPETSHOP4.INVENTORY (
ItemId varchar(10) NOT NULL,
Qty int NOT NULL,
CONSTRAINT PK_INVENTORY PRIMARY KEY(ItemId) ); CREATE INDEX MSPETSHOP4.IX_ITEM
ON MSPETSHOP4.ITEM (ProductId, ItemId, ListPrice, NAME); CREATE INDEX MSPETSHOP4.IX_PRODUCT1
ON MSPETSHOP4.PRODUCT (NAME); CREATE INDEX MSPETSHOP4.IX_PRODUCT2
ON MSPETSHOP4.PRODUCT (CategoryId); CREATE INDEX MSPETSHOP4.IX_PRODUCT3
ON MSPETSHOP4.PRODUCT (CategoryId, Name); CREATE INDEX MSPETSHOP4.IX_PRODUCT4
ON MSPETSHOP4.PRODUCT (CategoryId, ProductId, Name);
1.B.2.2, Oracle/CreateTables2.sql
CREATE USER MSPETSHOP4ORDERS IDENTIFIED BY "pass@word1" DEFAULT TABLESPACE USERS QUOTA UNLIMITED ON USERS; GRANT CREATE SESSION TO MSPETSHOP4ORDERS; CREATE TABLE MSPETSHOP4ORDERS.ORDERS (
OrderId int NOT NULL,
UserId varchar(80) NOT NULL,
OrderDate date NOT NULL,
ShipAddr1 varchar(80) NOT NULL,
ShipAddr2 varchar(80) NULL,
ShipCity varchar(80) NOT NULL,
ShipState varchar(80) NOT NULL,
ShipZip varchar(20) NOT NULL,
ShipCountry varchar(20) NOT NULL,
BillAddr1 varchar(80) NOT NULL,
BillAddr2 varchar(80) NULL,
BillCity varchar(80) NOT NULL,
BillState varchar(80) NOT NULL,
BillZip varchar(20) NOT NULL,
BillCountry varchar(20) NOT NULL,
Courier varchar(80) NOT NULL,
TotalPrice number(10,2) NOT NULL,
BillToFirstName varchar(80) NOT NULL,
BillToLastName varchar(80) NOT NULL,
ShipToFirstName varchar(80) NOT NULL,
ShipToLastName varchar(80) NOT NULL,
AuthorizationNumber int NOT NULL,
Locale varchar(20) NOT NULL,
CONSTRAINT PK_ORDERS PRIMARY KEY (OrderId) ); CREATE TABLE MSPETSHOP4ORDERS.ORDERSTATUS (
OrderId int NOT NULL,
LineNum int NOT NULL,
Timestamp date NOT NULL,
Status varchar(2) NOT NULL,
CONSTRAINT PK_ORDERSTATUS PRIMARY KEY (orderid, linenum),
CONSTRAINT FK_ORDERSTATUS FOREIGN KEY (orderid)
REFERENCES MSPETSHOP4ORDERS.ORDERS (OrderId) ); CREATE TABLE MSPETSHOP4ORDERS.LINEITEM (
OrderId int NOT NULL,
LineNum int NOT NULL,
ItemId varchar(10) NOT NULL,
Quantity int NOT NULL,
UnitPrice number(10,2) NOT NULL,
CONSTRAINT PK_LINEITEM PRIMARY KEY (OrderId, LineNum),
CONSTRAINT FK_LINEITEM FOREIGN KEY (OrderId)
REFERENCES MSPETSHOP4ORDERS.ORDERS (OrderId) ); CREATE SEQUENCE MSPETSHOP4ORDERS.ORDERNUM INCREMENT BY 1 START WITH 1 MAXVALUE 1.0E27 MINVALUE 1 NOCYCLE CACHE 10000 NOORDER;
1.B.2.3, Oracle/CreateTables3.sql
CREATE USER MSPETSHOP4PROFILE PROFILE DEFAULT IDENTIFIED BY "pass@word1" DEFAULT TABLESPACE USERS QUOTA UNLIMITED ON USERS; GRANT CREATE SESSION TO MSPETSHOP4PROFILE; CREATE TABLE MSPETSHOP4PROFILE.PROFILES (
UniqueId number NOT NULL,
UserName varchar2(256 byte) NOT NULL,
ApplicationName varchar2(256 byte) NOT NULL,
IsAnonymous char(1 byte) NOT NULL,
LastActivityDate date NOT NULL,
LastUpdatedDate date NOT NULL,
CONSTRAINT PK_PROFILES_1 PRIMARY KEY(UniqueId)
USING INDEX); CREATE TABLE MSPETSHOP4PROFILE.CART (
UniqueId number NOT NULL,
ItemId varchar2(10 byte) NOT NULL,
Name varchar2(80 byte) NOT NULL,
Type varchar2(80 byte) NOT NULL,
Price number(10, 2) NOT NULL,
CategoryId varchar2(10 byte) NOT NULL,
ProductId varchar2(10 byte) NOT NULL,
IsShoppingCart char(1 byte) NOT NULL,
Quantity number(10) NOT NULL,
CONSTRAINT FK_CART_PROFILES FOREIGN KEY(UniqueId)
REFERENCES MSPETSHOP4PROFILE.PROFILES(UniqueId)
ON DELETE CASCADE); CREATE TABLE MSPETSHOP4PROFILE.ACCOUNT (
UniqueId number(10)NOT NULL,
Email varchar2(80 byte),
FirstName varchar2(80 byte),
LastName varchar2(80 byte),
Address1 varchar2(80 byte),
Address2 varchar2(80 byte),
City varchar2(80 byte),
State varchar2(80 byte),
Zip varchar2(20 byte),
Country varchar2(20 byte),
Phone varchar2(20 byte),
CONSTRAINT FK_ACCOUNT_PROFILES FOREIGN KEY(UniqueId)
REFERENCES MSPETSHOP4PROFILE.PROFILES(UniqueId)
ON DELETE CASCADE); CREATE SEQUENCE MSPETSHOP4PROFILE.UNIQUEID INCREMENT BY 1
START WITH 1 MAXVALUE 1.0E27 MINVALUE 1 NOCYCLE
CACHE 10000 NOORDER; CREATE INDEX MSPETSHOP4PROFILE.FK_CART_UNIQUEID
ON MSPETSHOP4PROFILE.CART (UniqueId); CREATE INDEX MSPETSHOP4PROFILE.FK_ACCOUNT_UNIQUEID
ON MSPETSHOP4PROFILE.ACCOUNT (UniqueId); CREATE UNIQUE INDEX MSPETSHOP4PROFILE.IX_USERNAME_APPNAME
ON MSPETSHOP4PROFILE.PROFILES (UserName, ApplicationName); CREATE BITMAP INDEX MSPETSHOP4PROFILE.IX_SHOPPINGCART
ON MSPETSHOP4PROFILE.CART (IsShoppingCart);
1.B.2.4, Oracle/CreateTables4.sql
CREATE USER MSPETSHOP4SERVICES PROFILE DEFAULT IDENTIFIED BY "pass@word1" DEFAULT TABLESPACE USERS QUOTA UNLIMITED ON USERS; GRANT CREATE SESSION TO MSPETSHOP4SERVICES; CREATE SEQUENCE MSPETSHOP4SERVICES.USERID INCREMENT BY 1
START WITH 1 MAXVALUE 1.0E27 MINVALUE 1 NOCYCLE
CACHE 10000 ORDER; CREATE SEQUENCE MSPETSHOP4SERVICES.APPLICATIONID INCREMENT BY 1
START WITH 1 MAXVALUE 1.0E27 MINVALUE 1 NOCYCLE
CACHE 10000 ORDER; CREATE TABLE MSPETSHOP4SERVICES.APPLICATIONS (
ApplicationName varchar2(256 byte) NOT NULL,
ApplicationId number(10) NOT NULL,
Description varchar2(256 byte),
CONSTRAINT PK_APPLICATIONS PRIMARY KEY(ApplicationId),
CONSTRAINT UC_APPLICATIONS1 UNIQUE(ApplicationName)); CREATE TABLE MSPETSHOP4SERVICES.USERS (
UserId number NOT NULL,
ApplicationId number NOT NULL,
UserName varchar2(256 byte) NOT NULL,
MobileAlias varchar2(16 byte),
IsAnonymous char(1 byte) NOT NULL,
LastActivityDate date NOT NULL,
CONSTRAINT PK_USERS PRIMARY KEY(UserId),
CONSTRAINT FK_USERS_APPLICATIONS FOREIGN KEY(ApplicationId)
REFERENCES MSPETSHOP4SERVICES.APPLICATIONS(ApplicationId)
ON DELETE CASCADE); CREATE TABLE MSPETSHOP4SERVICES.MEMBERSHIP (
UserId number NOT NULL,
Password varchar2(128 byte) NOT NULL,
PasswordFormat number NOT NULL,
MobilePin varchar2(16 byte),
Email varchar2(128 byte),
PasswordQuestion varchar2(256 byte),
PasswordAnswer varchar2(128 byte),
IsApproved char(1 byte) NOT NULL,
CreatedDate date NOT NULL,
LastLoginDate date NOT NULL,
LastPasswordChangedDate date NOT NULL,
"Comment" varchar2(4000 byte),
PasswordSalt varchar2(128 byte),
CONSTRAINT PK_MEMBERSHIP PRIMARY KEY(UserId),
CONSTRAINT FK_MEMBERSHIP_USERS FOREIGN KEY(UserId)
REFERENCES MSPETSHOP4SERVICES.USERS(UserId)
ON DELETE CASCADE); CREATE INDEX MSPETSHOP4SERVICES.IX_USERNAME
ON MSPETSHOP4SERVICES.USERS (UserName)
TABLESPACE USERS;
1.B.2,导入测试数据
1.B.2.1, Oracle/LoadTables1.sql
INSERT INTO MSPETSHOP4.CATEGORY VALUES ('FISH', 'Fish', 'Fish');
INSERT INTO MSPETSHOP4.CATEGORY VALUES ('BYARD', 'Backyard','Backyard');
INSERT INTO MSPETSHOP4.CATEGORY VALUES ('BIRDS', 'Birds', 'Birds');
INSERT INTO MSPETSHOP4.CATEGORY VALUES ('BUGS', 'Bugs', 'Bugs');
INSERT INTO MSPETSHOP4.CATEGORY VALUES ('EDANGER', 'Endangered', 'Endangered'); INSERT INTO MSPETSHOP4.SUPPLIER VALUES (1, 'XYZ Pets', 'AC', '600 Avon Way', '', 'Los Angeles', 'CA', '', '212-947-0797');
INSERT INTO MSPETSHOP4.SUPPLIER VALUES (2, 'ABC Pets', 'AC', '700 Abalone Way', '', 'San Francisco', 'CA', '', '415-947-0797'); INSERT INTO MSPETSHOP4.PRODUCT VALUES ('FI-01', 'FISH', 'Meno', 'Your worried tiny friend warns you about life''s dangers', '~/Prod_Images/Fish/icon-meno.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('FI-02', 'FISH', 'Balloonfish', 'It''s your thermometer - the hotter it gets the bigger it gets', '~/Prod_Images/Fish/icon-ballonfish.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('FI-03', 'FISH', 'Blindfish', 'Likes pressure - ideal for divorcing couples', '~/Prod_Images/Fish/icon-blindfish.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('FI-04', 'FISH', 'Crabfish', 'Dances and sings every time you feed it!', '~/Prod_Images/Fish/icon-Crabfish.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('FI-05', 'FISH', 'Eucalyptus', 'For the tickle on your hands: you''ll love the massage', '~/Prod_Images/Fish/icon-eucalyptus.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('FI-06', 'FISH', 'Mister No', 'Need a companion for the dark times?', '~/Prod_Images/Fish/icon-misterno.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('FI-07', 'FISH', 'Nosyfish', 'Don''t underestimate this one - it bites!', '~/Prod_Images/Fish/icon-nosyfish.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('FI-08', 'FISH', 'Tooth Ferry', 'Very sensitive vegetarian, needs food every two months', '~/Prod_Images/Fish/icon-toothferry.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('BY-01', 'BYARD', 'Sheep', 'Your soft hugging buddy', '~/Prod_Images/Backyard/icon-sheep.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('BY-02', 'BYARD', 'Cat', 'The friend you will never see', '~/Prod_Images/Backyard/icon-cat.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('BY-03', 'BYARD', 'Raccoon', 'Always keeps your dishes clean', '~/Prod_Images/Backyard/icon-raccoon.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('BY-04', 'BYARD', 'Goose', 'For your protection delivered in our special safety-bag', '~/Prod_Images/Backyard/icon-goose.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('BY-05', 'BYARD', 'Crab', 'The common house crab which lives in the refrigerator', '~/Prod_Images/Backyard/icon-crab.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('BY-06', 'BYARD', 'Skunk', 'You will love it - especially when you have your in-laws visiting', '~/Prod_Images/Backyard/icon-skunk.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('BY-07', 'BYARD', 'Zebra', 'The horse of the modern girl', '~/Prod_Images/Backyard/icon-zebra.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('BD-01', 'BIRDS', 'Pelican', 'Will sit in your garden and admire nature', '~/Prod_Images/Birds/icon-pelican.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('BD-02', 'BIRDS', 'Penguin', 'Guaranteed to stay by your side', '~/Prod_Images/Birds/icon-penguin.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('BD-03', 'BIRDS', 'Pteranodon', 'Can''t let go of the past? This is your bird', '~/Prod_Images/Birds/icon-pteranodon.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('BD-04', 'BIRDS', 'Owl', 'Your personal dictionary ?night & day', '~/Prod_Images/Birds/icon-owl.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('BD-05', 'BIRDS', 'Duck', 'Lisps but otherwise sings well', '~/Prod_Images/Birds/icon-duck.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('BG-01', 'BUGS', 'Ant', 'Trash your vacuum cleaner', '~/Prod_Images/Bugs/icon-ant.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('BG-02', 'BUGS', 'Butterfly', 'Increased beauty with age', '~/Prod_Images/Bugs/icon-butterfly.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('BG-03', 'BUGS', 'Spider', 'Loves a good massage', '~/Prod_Images/Bugs/icon-spider.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('BG-04', 'BUGS', 'Slug', 'Your soft hugging buddy', '~/Prod_Images/Bugs/icon-slug.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('BG-05', 'BUGS', 'Frog', 'Want to get rid of an insect previously bought?', '~/Prod_Images/Bugs/icon-frog.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('BG-06', 'BUGS', 'Dragonfly', 'Beware of the meat lover', '~/Prod_Images/Bugs/icon-dragonfly.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('DR-01', 'EDANGER', 'Skeleton', 'Dumb but hollow', '~/Prod_Images/Endangered/icon-skeleton.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('DR-02', 'EDANGER', 'Pet', 'The originals ?honestly!', '~/Prod_Images/Endangered/icon-pet.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('DR-03', 'EDANGER', 'Dino', 'Special offer: only for a limited time', '~/Prod_Images/Endangered/icon-dino.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('DR-04', 'EDANGER', 'Panda', 'Last one ?go for it!', '~/Prod_Images/Endangered/icon-panda.gif');
INSERT INTO MSPETSHOP4.PRODUCT VALUES ('DR-05', 'EDANGER', 'Fish', 'They are waiting for your help', '~/Prod_Images/Endangered/icon-fish.gif'); INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-1', 'FI-01', 16.50, 10.00, 1, 'P', 'Happy', '~/Prod_Images/Fish/item-meno-happy.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-2', 'FI-01', 17.50, 10.00, 1, 'P', 'Camouflage', '~/Prod_Images/Fish/item-meno-camouflage.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-3', 'FI-01', 15.90, 10.00, 1, 'P', 'Worried', '~/Prod_Images/Fish/item-meno-worried.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-4', 'FI-02', 17.50, 12.00, 1, 'P', 'Extra Stretch', '~/Prod_Images/Fish/item-balloon-extra-stretch.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-5', 'FI-02', 18.90, 12.00, 1, 'P', 'Natural', '~/Prod_Images/Fish/item-balloon-natural.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-6', 'FI-02', 19.50, 12.00, 1, 'P', 'Flammable', '~/Prod_Images/Fish/item-balloon-flammable.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-7', 'FI-03', 21.50, 15.00, 1, 'P', 'Blind', '~/Prod_Images/Fish/item-blindfish-blind.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-8', 'FI-03', 22.50, 15.00, 1, 'P', 'Short Sighted', '~/Prod_Images/Fish/item-blindfish-shortsighted.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-9', 'FI-03', 24.50, 15.00, 1, 'P', 'Far Sighted', '~/Prod_Images/Fish/item-blindfish-farsighted.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-10', 'FI-04', 18.50, 12.00, 1, 'P', 'Tap Dance', '~/Prod_Images/Fish/item-Crabfish-tabdance.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-11', 'FI-04', 19.50, 12.00, 1, 'P', 'Ballet', '~/Prod_Images/Fish/item-Crabfish-ballet.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-12', 'FI-04', 18.90, 12.00, 1, 'P', 'Ballroom', '~/Prod_Images/Fish/item-Crabfish-ballroom.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-13', 'FI-05', 16.50, 10.00, 1, 'P', 'Long Arms', '~/Prod_Images/Fish/item-eucalyptus-longarms.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-14', 'FI-05', 16.90, 10.00, 1, 'P', 'Short Arms', '~/Prod_Images/Fish/item-eucalyptus-shortarms.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-15', 'FI-06', 13.90, 8.00, 1, 'P', 'Black', '~/Prod_Images/Fish/item-misterno-black.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-16', 'FI-06', 14.50, 8.00, 1, 'P', 'Sepia', '~/Prod_Images/Fish/item-misterno-sepia.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-17', 'FI-06', 15.50, 8.00, 1, 'P', 'Sable', '~/Prod_Images/Fish/item-misterno-sable.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-18', 'FI-07', 16.50, 10.00, 1, 'P', 'Invidious', '~/Prod_Images/Fish/item-nosyfish-invidious.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-19', 'FI-07', 17.50, 10.00, 1, 'P', 'Beastly', '~/Prod_Images/Fish/item-nosyfish-beastly.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-20', 'FI-07', 18.50, 10.00, 1, 'P', 'Mean', '~/Prod_Images/Fish/item-nosyfish-mean.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-21', 'FI-07', 19.50, 10.00, 1, 'P', 'Sneaky', '~/Prod_Images/Fish/item-nosyfish-sneaky.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-22', 'FI-08', 28.50, 20.00, 1, 'P', 'Toothless', '~/Prod_Images/Fish/item-toothferry-toothless.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-23', 'FI-08', 29.50, 20.00, 1, 'P', 'With Teeth', '~/Prod_Images/Fish/item-toothferry-withteeth.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-24', 'BY-01', 120.95, 99.00, 1, 'P', 'Fuzzy', '~/Prod_Images/Backyard/item-sheep-fuzzy.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-25', 'BY-01', 130.95, 99.00, 1, 'P', 'Ironed', '~/Prod_Images/Backyard/item-sheep-ironed.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-26', 'BY-02', 14.95, 2.00, 1, 'P', 'Transparent', '~/Prod_Images/Backyard/item-cat-transparent.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-27', 'BY-02', 15.95, 2.00, 1, 'P', 'Patterned', '~/Prod_Images/Backyard/item-cat-patterned.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-28', 'BY-02', 18.95, 2.00, 1, 'P', 'Uncolored', '~/Prod_Images/Backyard/item-cat-uncolored.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-29', 'BY-03', 42.95, 30.00, 1, 'P', 'Long Tongue', '~/Prod_Images/Backyard/item-raccoon-long-tongue.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-30', 'BY-03', 45.95, 30.00, 1, 'P', 'Rough Tongue', '~/Prod_Images/Backyard/item-raccoon-rough-tongue.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-31', 'BY-03', 48.95, 30.00, 1, 'P', 'Hairy Tongue', '~/Prod_Images/Backyard/item-raccoon-hairy-tongue.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-32', 'BY-04', 20.95, 12.00, 1, 'P', 'Feathered', '~/Prod_Images/Backyard/item-goose-feathered.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-33', 'BY-04', 22.95, 12.00, 1, 'P', 'Plucked', '~/Prod_Images/Backyard/item-goose-plucked.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-34', 'BY-05', 12.95, 10.00, 1, 'P', 'Red', '~/Prod_Images/Backyard/item-crab-red.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-35', 'BY-05', 13.95, 10.00, 1, 'P', 'Orange', '~/Prod_Images/Backyard/item-crab-orange.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-36', 'BY-05', 14.95, 10.00, 1, 'P', 'Dotted', '~/Prod_Images/Backyard/item-crab-dotted.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-37', 'BY-06', 18.95, 12.00, 1, 'P', 'Bad Smell', '~/Prod_Images/Backyard/item-skunk-bad-smell.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-38', 'BY-06', 20.95, 12.00, 1, 'P', 'Really Bad Smell', '~/Prod_Images/Backyard/item-skunk-really-bad-smell.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-39', 'BY-06', 22.95, 12.00, 1, 'P', 'Worst Smell', '~/Prod_Images/Backyard/item-skunk-worst-smell.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-40', 'BY-07', 859.95, 500.00, 1, 'P', 'Tiny', '~/Prod_Images/Backyard/item-zebra-tiny.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-41', 'BY-07', 879.95, 500.00, 1, 'P', 'Small', '~/Prod_Images/Backyard/item-zebra-small.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-42', 'BY-07', 899.95, 500.00, 1, 'P', 'Medium', '~/Prod_Images/Backyard/item-zebra-medium.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-43', 'BY-07', 949.95, 500.00, 1, 'P', 'Large', '~/Prod_Images/Backyard/item-zebra-large.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-44', 'BD-01', 41.95, 30.00, 1, 'P', 'Flower Loving', '~/Prod_Images/Birds/item-pelican-flowerloving.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-45', 'BD-01', 45.95, 30.00, 1, 'P', 'Grass Loving', '~/Prod_Images/Birds/item-pelican-grassloving.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-46', 'BD-02', 120.99, 99.00, 1, 'P', 'Adventurous', '~/Prod_Images/Birds/item-penguine-adventurous.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-47', 'BD-02', 130.99, 99.00, 1, 'P', 'Homey', '~/Prod_Images/Birds/item-penguine-homey.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-48', 'BD-03', 130.99, 99.00, 1, 'P', 'Old', '~/Prod_Images/Birds/item-pteranodon-old.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-49', 'BD-03', 130.99, 99.00, 1, 'P', 'Ancient', '~/Prod_Images/Birds/item-pteranodon-ancient.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-50', 'BD-04', 80.99, 50.00, 1, 'P', 'Day', '~/Prod_Images/Birds/item-owl-day.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-51', 'BD-04', 85.99, 50.00, 1, 'P', 'Night', '~/Prod_Images/Birds/item-owl-night.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-52', 'BD-05', 33.99, 20.00, 1, 'P', 'Domestic', '~/Prod_Images/Birds/item-duck-domestic.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-53', 'BD-05', 38.99, 20.00, 1, 'P', 'Wild', '~/Prod_Images/Birds/item-duck-wild.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-54', 'BG-01', 0.25, 0.02, 1, 'P', 'Worker', '~/Prod_Images/Bugs/item-ant-worker.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-55', 'BG-01', 0.30, 0.02, 1, 'P', 'Queen', '~/Prod_Images/Bugs/item-ant-queen.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-56', 'BG-01', 0.50, 0.02, 1, 'P', 'Soldier', '~/Prod_Images/Bugs/item-ant-soldier.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-57', 'BG-02', 0.70, 0.10, 1, 'P', 'Larva', '~/Prod_Images/Bugs/item-butterfly-larva.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-58', 'BG-02', 0.80, 0.10, 1, 'P', 'Pupa', '~/Prod_Images/Bugs/item-butterfly-pupa.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-59', 'BG-02', 0.90, 0.10, 1, 'P', 'Adult', '~/Prod_Images/Bugs/item-butterfly-adult.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-60', 'BG-03', 2.50, 1.00, 1, 'P', 'Araniella Displicata', '~/Prod_Images/Bugs/item-spider-aranielladisplicata.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-61', 'BG-03', 2.60, 1.00, 1, 'P', 'Dysdera Crocata', '~/Prod_Images/Bugs/item-spider-dysderacrocata.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-62', 'BG-04', 0.89, 0.15, 1, 'P', 'Naked', '~/Prod_Images/Bugs/item-slug-naked.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-63', 'BG-04', 0.99, 0.15, 1, 'P', 'Habitat', '~/Prod_Images/Bugs/item-slug-habitat.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-64', 'BG-05', 8.99, 2.50, 1, 'P', 'False', '~/Prod_Images/Bugs/item-frog-false.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-65', 'BG-05', 9.99, 2.50, 1, 'P', 'True', '~/Prod_Images/Bugs/item-frog-true.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-66', 'BG-06', 1.20, 0.80, 1, 'P', 'Omnivore', '~/Prod_Images/Bugs/item-dragonfly-omnivore.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-67', 'BG-06', 1.30, 0.80, 1, 'P', 'Vegetarian', '~/Prod_Images/Bugs/item-dragonfly-vegetarian.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-68', 'BG-06', 1.40, 0.80, 1, 'P', 'Vegan', '~/Prod_Images/Bugs/item-dragonfly-vegan.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-69', 'DR-01', 150.00, 100.00, 1, 'P', 'Male', '~/Prod_Images/Endangered/item-skeleton-male.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-70', 'DR-01', 160.00, 100.00, 1, 'P', 'Female', '~/Prod_Images/Endangered/item-skeleton-female.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-71', 'DR-01', 170.00, 100.00, 1, 'P', 'Aphrodite', '~/Prod_Images/Endangered/item-skeleton-aphrodite.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-72', 'DR-01', 180.00, 100.00, 1, 'P', 'Hermaphrodite', '~/Prod_Images/Endangered/item-skeleton-hermaphrodite.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-73', 'DR-02', 45.00, 22.00, 1, 'P', 'Rover', '~/Prod_Images/Endangered/item-pet-rover.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-74', 'DR-02', 48.00, 22.00, 1, 'P', 'Trumpet', '~/Prod_Images/Endangered/item-pet-thumper.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-75', 'DR-02', 49.00, 22.00, 1, 'P', 'Kitty', '~/Prod_Images/Endangered/item-pet-kitty.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-76', 'DR-03', 349.00, 220.00, 1, 'P', 'Spiky', '~/Prod_Images/Endangered/item-dino-spiky.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-77', 'DR-03', 379.00, 220.00, 1, 'P', 'Shaved', '~/Prod_Images/Endangered/item-dino-shaved.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-78', 'DR-03', 399.00, 220.00, 1, 'P', 'Pointy', '~/Prod_Images/Endangered/item-dino-pointy.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-79', 'DR-04', 1999.00, 1500.00, 1, 'P', 'Exclusive', '~/Prod_Images/Endangered/item-panda-exclusive.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-80', 'DR-05', 22.95, 16.00, 1, 'P', 'Lost', '~/Prod_Images/Endangered/item-fish-lost.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-81', 'DR-05', 22.95, 16.00, 1, 'P', 'Drunk', '~/Prod_Images/Endangered/item-fish-drunk.gif');
INSERT INTO MSPETSHOP4.ITEM VALUES ('EST-82', 'DR-05', 22.95, 16.00, 1, 'P', 'Caught', '~/Prod_Images/Endangered/item-fish-caught.gif'); INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-1', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-2', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-3', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-4', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-5', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-6', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-7', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-8', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-9', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-10', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-11', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-12', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-13', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-14', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-15', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-16', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-17', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-18', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-19', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-20', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-21', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-22', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-23', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-24', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-25', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-26', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-27', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-28', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-29', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-30', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-31', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-32', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-33', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-34', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-35', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-36', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-37', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-38', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-39', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-40', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-41', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-42', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-43', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-44', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-45', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-46', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-47', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-48', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-49', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-50', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-51', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-52', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-53', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-54', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-55', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-56', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-57', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-58', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-59', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-60', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-61', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-62', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-63', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-64', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-65', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-66', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-67', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-68', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-69', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-70', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-71', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-72', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-73', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-74', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-75', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-76', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-77', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-78', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-79', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-80', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-81', 10000);
INSERT INTO MSPETSHOP4.INVENTORY VALUES ('EST-82', 10000);
1.B.2.2,
1.C,功能实现代码(Function Implementation Code)返回顶部 |
作者:ylbtech 出处:http://ylbtech.cnblogs.com/ 本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。 |
Microsoft-PetSop4.0(宠物商店)-数据库设计-Oracle的更多相关文章
- Microsoft-PetSop4.0(宠物商店)-数据库设计-Sql
ylbtech-DatabaseDesgin:Microsoft-PetSop4.0(宠物商店)-数据库设计-Sql DatabaseName:PetShop(宠物商店) Model:宠物商店网站 T ...
- accp7.0优化MySchool数据库设计内测笔试题总结
1) 在SQL Server 中,为数据库表建立索引能够(C ). 索引:是SQL SERVER编排数据的内部方法,是检索表中数据的直接通道 建立索引的作用:大大提高了数据库的检索速度,改善数据库性能 ...
- Java实验项目三——宠物商店
Program:宠物商店的设计(继承,接口,线性线性表) Description:本题未实现图形用户界面,项目结构描述如下: classes.Pet:定义宠物接口,只要实现该接口的宠物类,都可存储进宠 ...
- 基于SSM的租赁管理系统0.3_20161225_数据库设计
数据库设计 1. 概念模型 2. 类模型 3. 生成SQL use test; /*========================================================== ...
- 五、Java多人博客系统-2.0版本-数据库设计
数据库设计表如下:文章类别表.文章表.评论表.留言表. 文章列表表:存放文章类别,首页菜单生成也是从这个表取的. 文章表:存放文章标题.发表时间.内容等信息. 评论表:文章评论内容. 留言表:用户发表 ...
- 七、Oracle 数据库设计
1. 原始单据与实体之间的关系 可以是一对一.一对多.多对多的关系.在一般情况下,它们是一对一的关系:即一张原始单据对应且只对应一个实体. 在特殊情况下,它们可能是一对多或多对一的关系,即一张原始单证 ...
- Oracle数据库设计实例-实时生产效率系统数据库设计
Oracle数据库设计实例-实时生产效率系统数据库设计 引言 1.1 设计前提 某部门经理要求IT部门设计一个流水线实时生产效率系统,用来统计实时的生产量和效率.流水线有数百条,实时间隔为1min. ...
- Oracle笔记(十六) 数据库设计范式
数据库设计范式是一个很重要的概念,但是这个重要程度只适合于参考.使用数据库设计范式,可以让数据表更好的进行数据的保存,因为再合理的设计,如果数据量一大也肯定会存在性能上的问题.所以在开发之中,唯一可以 ...
- Oracle基础<1>--数据库设计
一:为什么需要使用数据库设计 数据库设计可以使数据库通过健壮的数据库结构 高效并且健康 的进行工作. 二.数据库设计原则 (数据库设计.系统设计.架构设计) 1.熟悉需求 保证之后需求的变更 不会 ...
随机推荐
- 【转】TCP通信的三次握手和四次撒手的详细流程(顿悟)
TCP(Transmission Control Protocol) 传输控制协议 三次握手 TCP是主机对主机层的传输控制协议,提供可靠的连接服务,采用三次握手确认建立一个连接: 位码即tcp标志位 ...
- LACP链路聚合控制协议
LACP链路聚合控制协议 来源: https://www.cnblogs.com/taosim/articles/4378691.html http://storage.chinabyte.com/6 ...
- background-size属性的几个实用的值
先来看w3c的background-size的几个值: background-size:cover; 把背景图像扩展至足够大,以使背景图像完全覆盖背景区域.背景图像的某些部分也许无法显示在背景定 ...
- BZOJ5297 [Cqoi2018]社交网络 【矩阵树定理】
题目链接 BZOJ5297 题解 最近这玩意这么那么火 这题要用到有向图的矩阵树定理 主对角线上对应入度 剩余位置如果有边则为\(-1\),不然为\(0\) \(M_{i,i}\)即为以\(i\)为根 ...
- 淀粉质模板 Tree
Tree 题目描述 给你一棵TREE,以及这棵树上边的距离.问有多少对点它们两者间的距离小于等于K 输入输出格式 输入格式: N(n<=40000) 接下来n-1行边描述管道,按照题目中写的输入 ...
- 如何设置两个AD域控制器
目的:这要为了测试,哈哈哈哈. 其实是为了AD域控的高可用性.一个域控down了,另一个可以顶上去. 如何设置:参考http://lgzeng2360.blog.51cto.com/275998/10 ...
- 前端模块加载规范AMD与CMD小记
AMD代表:requirejs: CMD代表:seajs: AMD CMD 代表 requirejs seajs 执行 提前加载,不管是否调用模块,先解析所以模块 提前加载,在真正需要使 ...
- yum 和 apt-get
yum 和apt-get 一般来说著名的linux系统基本上分两大类: 1.RedHat系列:Redhat.Centos.Fedora等 2.Debian系列:Debian.Ubuntu等 RedHa ...
- gluPerspective(解释得很好)
http://www.cppblog.com/COOOOOOOOL/archive/2009/12/28/104255.html 函数原型gluPerspective(GLdouble fovy,GL ...
- win7 无法启动此程序,因为计算机中丢失glut32.dll
http://zhidao.baidu.com/link?url=9NZxqCvR7hvmKuVR1dUSdQB-TTv_re-g7lp-xZj5FKII04FnMvIKjFhKv299t6wv5Ht ...