Hungry Mind , Blog about everything in IT - C#, Java, C++, .NET, Windows, WinAPI, ...

Install Oracle 11g sample schemas

Недавно потребовались демо схемы БД в Oracle. Существует способ накатить их на существующую базу, но для этого потребуется для начала скачать Oracle Database 11g Examples (formerly Companion). Далее с помощью sqlplus нужно выполнить файл YOUR_PATH\demo\schema\mksample.sql:
SQL> @YOUR_PATH\demo\schema\mksample.sql passwd_system passwd_sys pw_hr pw_oe pw_pm pw_ix pw_sh pw_bi users temp x:\path\to\log\with\trailing\slash\
SQL> @d:\Oracle\Db\11.1.0\db0\demo\schema\mksample.sql sys_passwd sys_passwd hr_passwd oe_passwd pm_passwd ix_passwd sh_passwd bi_passwd users temp c:\temp\
Параметры можно указать как в командной строке, так и интерактивно.

Перед загрузкой нужно выполнить еще некоторые действия, поскольку в некоторых файлах (sale1v3.dat, например) в роли разделителя целой и дробной частей выступает точка, а параметры указывают на американскую локаль:
CREATE TABLE sales_transactions_ext
( PROD_ID         NUMBER,
  CUST_ID    NUMBER,
  TIME_ID    DATE,
  CHANNEL_ID  NUMBER,
  PROMO_ID    NUMBER,
  QUANTITY_SOLD   NUMBER,
  AMOUNT_SOLD  NUMBER(10,2),
  UNIT_COST  NUMBER(10,2),
  UNIT_PRICE  NUMBER(10,2)
)
ORGANIZATION external 
(
  TYPE oracle_loader
  DEFAULT DIRECTORY data_file_dir
  ACCESS PARAMETERS 
  (
    RECORDS DELIMITED BY NEWLINE CHARACTERSET US7ASCII
    TERRITORY AMERICAN
    BADFILE log_file_dir:'ext_1v3.bad'
    LOGFILE log_file_dir:'ext_1v3.log'
    FIELDS TERMINATED BY "|" OPTIONALLY ENCLOSED BY '^' LDRTRIM 
    ( PROD_ID         ,
      CUST_ID         ,
      TIME_ID         DATE(10) "YYYY-MM-DD", 
      CHANNEL_ID      ,
      PROMO_ID        ,
      QUANTITY_SOLD   ,
      AMOUNT_SOLD     ,
      UNIT_COST       ,
      UNIT_PRICE      
    ) 
 )
 LOCATION
 ('sale1v3.dat')
)
REJECT LIMIT 100;
Можно заменить все точки на запятые или вписать територию с нужным форматом дробных чисел. Я использовал первый вариант.

20 коммент.:

Анонимный комментирует...

Some, like Royal prince, took to providing their particular cds
aside at no cost so that they can at least oversee the particular distribution
of the work. The most popular tactic in order to
fight the internet?
My web page - mediafire mp3

Анонимный комментирует...

Regardless of just about all difficulties, it really is not impossible to get free music bed sheet on-line.
Also visit my web site - Rapidshare Download

Анонимный комментирует...

Highly descriptive blog, I enjoyed that a lot. Will there be a part 2?
Also visit my web page ; GFI Norte

Анонимный комментирует...

I comment when I especially enjoy a post on a site or I have something to add to the conversation.
It's a result of the sincerness displayed in the post I read. And after this post "Install Oracle 11g sample schemas". I was excited enough to drop a thought ;) I actually do have 2 questions for you if you don't mind.
Is it only me or does it look as if like some of these comments look like written by brain dead
individuals? :-P And, if you are writing at additional
sites, I would like to keep up with everything fresh you
have to post. Could you make a list the complete urls of your shared sites like your twitter feed, Facebook page or linkedin profile?
My web page > brutas

Анонимный комментирует...

Magnificent web site. A lot of useful info
here. I'm sending it to a few friends ans also sharing in delicious. And obviously, thank you on your effort!

Also visit my web site: iphone 5 launch date

lisa комментирует...

http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/

www.manchester-incallescorts.co.uk

http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/

www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk




lisa комментирует...

http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/

www.manchester-incallescorts.co.uk

http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/

www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk




lisa комментирует...

http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/

www.manchester-incallescorts.co.uk

http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/

www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk




lisa комментирует...

http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/

www.manchester-incallescorts.co.uk

http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/

www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk




lisa комментирует...

http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/

www.manchester-incallescorts.co.uk

http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/

www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk




lisa комментирует...

http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/

www.manchester-incallescorts.co.uk

http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/

www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk




lisa комментирует...

http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/

www.manchester-incallescorts.co.uk

http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/

www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk




lisa комментирует...

http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/

www.manchester-incallescorts.co.uk

http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/

www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk




lisa комментирует...

http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/

www.manchester-incallescorts.co.uk

http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/

www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk




lisa комментирует...

http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/

www.manchester-incallescorts.co.uk

http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/

www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk




lisa комментирует...

http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/

www.manchester-incallescorts.co.uk

http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/

www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk




lisa комментирует...

http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/

www.manchester-incallescorts.co.uk

http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/

www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk




lisa комментирует...

http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/

www.manchester-incallescorts.co.uk

http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/

www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk




lisa комментирует...

http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/

www.manchester-incallescorts.co.uk

http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/

www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk




lisa комментирует...

http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/
www.cheshirecompanions.com
http://www.skyescorts.co.uk/
www.cheshirecompanions.com/

www.manchester-incallescorts.co.uk

http://www.skyescorts.co.uk/
http://www.skyescorts.co.uk/

www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk


www.manchester-incallescorts.co.uk




Отправить комментарий

Copyright 2007-2011 Chabster