dbTalk Databases Forums  

creating tables info. please

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss creating tables info. please in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
news.verizon.net
 
Posts: n/a

Default Re: creating tables info. please - 01-08-2008 , 06:43 AM







"Totti" <saliba.toufic.george (AT) gmail (DOT) com> wrote

Quote:
Hi Charles these methods seem very powerful, but i m not sure i know
how to do them, but i think i am using something 95% similar to the
second methos you talked about, the 'macro' one.
i just wrote a VBA, with an insert into formula in Excel, so i
generate the data in excel, i save the rows in a txt file and from
there i do a crete table in oracle, and i paste the values i have in
the txt so the thing i am copying and pasting is kind of this:
creat table_XXX(
sal_x varchar2(12),
sal_prod ........)
insert into table table_xxx value(....,....,...);
............
........
commit;

thats how i know to do it at the present time,
but since you have something better, i would like you to show me some
info. on any valuable documentations about it.
Thanks a lot.
Use sql loader. See the documentation under utlities. Much faster. Also
it looks like in your example you are storing numbers as text. Don't do
that.
Jim




Reply With Quote
  #12  
Old   
news.verizon.net
 
Posts: n/a

Default Re: creating tables info. please - 01-08-2008 , 06:43 AM







"Totti" <saliba.toufic.george (AT) gmail (DOT) com> wrote

Quote:
Hi Charles these methods seem very powerful, but i m not sure i know
how to do them, but i think i am using something 95% similar to the
second methos you talked about, the 'macro' one.
i just wrote a VBA, with an insert into formula in Excel, so i
generate the data in excel, i save the rows in a txt file and from
there i do a crete table in oracle, and i paste the values i have in
the txt so the thing i am copying and pasting is kind of this:
creat table_XXX(
sal_x varchar2(12),
sal_prod ........)
insert into table table_xxx value(....,....,...);
............
........
commit;

thats how i know to do it at the present time,
but since you have something better, i would like you to show me some
info. on any valuable documentations about it.
Thanks a lot.
Use sql loader. See the documentation under utlities. Much faster. Also
it looks like in your example you are storing numbers as text. Don't do
that.
Jim




Reply With Quote
  #13  
Old   
news.verizon.net
 
Posts: n/a

Default Re: creating tables info. please - 01-08-2008 , 06:43 AM




"Totti" <saliba.toufic.george (AT) gmail (DOT) com> wrote

Quote:
Hi Charles these methods seem very powerful, but i m not sure i know
how to do them, but i think i am using something 95% similar to the
second methos you talked about, the 'macro' one.
i just wrote a VBA, with an insert into formula in Excel, so i
generate the data in excel, i save the rows in a txt file and from
there i do a crete table in oracle, and i paste the values i have in
the txt so the thing i am copying and pasting is kind of this:
creat table_XXX(
sal_x varchar2(12),
sal_prod ........)
insert into table table_xxx value(....,....,...);
............
........
commit;

thats how i know to do it at the present time,
but since you have something better, i would like you to show me some
info. on any valuable documentations about it.
Thanks a lot.
Use sql loader. See the documentation under utlities. Much faster. Also
it looks like in your example you are storing numbers as text. Don't do
that.
Jim




Reply With Quote
  #14  
Old   
Charles Hooper
 
Posts: n/a

Default Re: creating tables info. please - 01-08-2008 , 06:47 AM



On Jan 8, 7:27*am, Totti <saliba.toufic.geo... (AT) gmail (DOT) com> wrote:
Quote:
Hi Charles these methods seem very powerful, but i m not sure i know
how to do them, but i think i am using something 95% similar to the
second methos you talked about, the 'macro' one.
i just wrote a VBA, with an insert into formula in Excel, so i
generate the data in excel, i save the rows in a txt file and from
there i do a crete table in oracle, and i paste the values i have in
the txt so the thing i am copying and pasting is kind of this:
*creat table_XXX(
sal_x varchar2(12),
sal_prod ........)
insert into table table_xxx value(....,....,...);
............
........
commit;

thats how i know to do it at the present time,
but since you have something better, i would like you to show me some
info. on any valuable documentations about it.
Thanks a lot.
I posted slightly better descriptions of both methods here:
http://groups.google.com/group/comp....e96fd1ed209ba3

The Excel method example actually performs a select from the database,
but it could just as easily perform an insert into a table. By
default, ADO in Excel will perform a commit after each insert
statement.

Other members of the group posted additional methods for accomplishing
the task.

Charles Hooper
IT Manager/Oracle DBA
K&M Machine-Fabricating, Inc.


Reply With Quote
  #15  
Old   
Charles Hooper
 
Posts: n/a

Default Re: creating tables info. please - 01-08-2008 , 06:47 AM



On Jan 8, 7:27*am, Totti <saliba.toufic.geo... (AT) gmail (DOT) com> wrote:
Quote:
Hi Charles these methods seem very powerful, but i m not sure i know
how to do them, but i think i am using something 95% similar to the
second methos you talked about, the 'macro' one.
i just wrote a VBA, with an insert into formula in Excel, so i
generate the data in excel, i save the rows in a txt file and from
there i do a crete table in oracle, and i paste the values i have in
the txt so the thing i am copying and pasting is kind of this:
*creat table_XXX(
sal_x varchar2(12),
sal_prod ........)
insert into table table_xxx value(....,....,...);
............
........
commit;

thats how i know to do it at the present time,
but since you have something better, i would like you to show me some
info. on any valuable documentations about it.
Thanks a lot.
I posted slightly better descriptions of both methods here:
http://groups.google.com/group/comp....e96fd1ed209ba3

The Excel method example actually performs a select from the database,
but it could just as easily perform an insert into a table. By
default, ADO in Excel will perform a commit after each insert
statement.

Other members of the group posted additional methods for accomplishing
the task.

Charles Hooper
IT Manager/Oracle DBA
K&M Machine-Fabricating, Inc.


Reply With Quote
  #16  
Old   
Charles Hooper
 
Posts: n/a

Default Re: creating tables info. please - 01-08-2008 , 06:47 AM



On Jan 8, 7:27*am, Totti <saliba.toufic.geo... (AT) gmail (DOT) com> wrote:
Quote:
Hi Charles these methods seem very powerful, but i m not sure i know
how to do them, but i think i am using something 95% similar to the
second methos you talked about, the 'macro' one.
i just wrote a VBA, with an insert into formula in Excel, so i
generate the data in excel, i save the rows in a txt file and from
there i do a crete table in oracle, and i paste the values i have in
the txt so the thing i am copying and pasting is kind of this:
*creat table_XXX(
sal_x varchar2(12),
sal_prod ........)
insert into table table_xxx value(....,....,...);
............
........
commit;

thats how i know to do it at the present time,
but since you have something better, i would like you to show me some
info. on any valuable documentations about it.
Thanks a lot.
I posted slightly better descriptions of both methods here:
http://groups.google.com/group/comp....e96fd1ed209ba3

The Excel method example actually performs a select from the database,
but it could just as easily perform an insert into a table. By
default, ADO in Excel will perform a commit after each insert
statement.

Other members of the group posted additional methods for accomplishing
the task.

Charles Hooper
IT Manager/Oracle DBA
K&M Machine-Fabricating, Inc.


Reply With Quote
  #17  
Old   
Charles Hooper
 
Posts: n/a

Default Re: creating tables info. please - 01-08-2008 , 06:47 AM



On Jan 8, 7:27*am, Totti <saliba.toufic.geo... (AT) gmail (DOT) com> wrote:
Quote:
Hi Charles these methods seem very powerful, but i m not sure i know
how to do them, but i think i am using something 95% similar to the
second methos you talked about, the 'macro' one.
i just wrote a VBA, with an insert into formula in Excel, so i
generate the data in excel, i save the rows in a txt file and from
there i do a crete table in oracle, and i paste the values i have in
the txt so the thing i am copying and pasting is kind of this:
*creat table_XXX(
sal_x varchar2(12),
sal_prod ........)
insert into table table_xxx value(....,....,...);
............
........
commit;

thats how i know to do it at the present time,
but since you have something better, i would like you to show me some
info. on any valuable documentations about it.
Thanks a lot.
I posted slightly better descriptions of both methods here:
http://groups.google.com/group/comp....e96fd1ed209ba3

The Excel method example actually performs a select from the database,
but it could just as easily perform an insert into a table. By
default, ADO in Excel will perform a commit after each insert
statement.

Other members of the group posted additional methods for accomplishing
the task.

Charles Hooper
IT Manager/Oracle DBA
K&M Machine-Fabricating, Inc.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.