dbTalk Databases Forums  

using DTS into import mulitple tables

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss using DTS into import mulitple tables in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
simon whale
 
Posts: n/a

Default using DTS into import mulitple tables - 11-18-2003 , 06:04 AM






All,

i have a folder which i need to import each files seperatley and then run
some administrative tasks / reports on each table.

my question is how can i use DTS import each file into thier own table?

any links or advise would be greatful.

Simon



Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: using DTS into import mulitple tables - 11-18-2003 , 06:51 AM






What is a file? A text file or a DB2 file (aka Table)?

You can adapt either of these by referring to the following articles.

Looping, Importing and Archiving
(http://www.sqldts.com/Default.aspx?246)

How to loop through a global variable Rowset
(http://www.sqldts.com/Default.aspx?298)

--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"simon whale" <simon (AT) nospam (DOT) ukdatait.co.uk> wrote

Quote:
All,

i have a folder which i need to import each files seperatley and then run
some administrative tasks / reports on each table.

my question is how can i use DTS import each file into thier own table?

any links or advise would be greatful.

Simon





Reply With Quote
  #3  
Old   
simon whale
 
Posts: n/a

Default Re: using DTS into import mulitple tables - 11-18-2003 , 09:05 AM



Allan,

thank you for the links, i have tried to setup a test on this, so that i can
also understand what it is doing, but when i run the package i get the
following error on the DefinetheGVs ActiveX script.

Eror Code: 0
Error Source= Microsoft VBScript runtime error
Error Description: ActiveX xomponent can't create object:
'scripting.FileSystemObject'

Error on line 26

this is from using the Looping, Importing and Archiving link from below.

i have looked this through on MSDN and the support site and all i found was
to do with the global variables, but the script is written in the way that
the resolution says.

Many thanks
Simon
"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
What is a file? A text file or a DB2 file (aka Table)?

You can adapt either of these by referring to the following articles.

Looping, Importing and Archiving
(http://www.sqldts.com/Default.aspx?246)

How to loop through a global variable Rowset
(http://www.sqldts.com/Default.aspx?298)

--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"simon whale" <simon (AT) nospam (DOT) ukdatait.co.uk> wrote in message
news:%23c%23CKzcrDHA.1740 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
All,

i have a folder which i need to import each files seperatley and then
run
some administrative tasks / reports on each table.

my question is how can i use DTS import each file into thier own table?

any links or advise would be greatful.

Simon







Reply With Quote
  #4  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: using DTS into import mulitple tables - 11-18-2003 , 10:00 AM



Somebody else had this problem in a previous thread unrelated to any
article.

What OS are you running ?

Try installing the latest version

http://www.microsoft.com/downloads/d...DisplayLang=en

--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"simon whale" <simon (AT) nospam (DOT) ukdatait.co.uk> wrote

Quote:
Allan,

thank you for the links, i have tried to setup a test on this, so that i
can
also understand what it is doing, but when i run the package i get the
following error on the DefinetheGVs ActiveX script.

Eror Code: 0
Error Source= Microsoft VBScript runtime error
Error Description: ActiveX xomponent can't create object:
'scripting.FileSystemObject'

Error on line 26

this is from using the Looping, Importing and Archiving link from below.

i have looked this through on MSDN and the support site and all i found
was
to do with the global variables, but the script is written in the way that
the resolution says.

Many thanks
Simon
"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:uPFL0KdrDHA.2488 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
What is a file? A text file or a DB2 file (aka Table)?

You can adapt either of these by referring to the following articles.

Looping, Importing and Archiving
(http://www.sqldts.com/Default.aspx?246)

How to loop through a global variable Rowset
(http://www.sqldts.com/Default.aspx?298)

--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"simon whale" <simon (AT) nospam (DOT) ukdatait.co.uk> wrote in message
news:%23c%23CKzcrDHA.1740 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
All,

i have a folder which i need to import each files seperatley and then
run
some administrative tasks / reports on each table.

my question is how can i use DTS import each file into thier own
table?

any links or advise would be greatful.

Simon









Reply With Quote
  #5  
Old   
simon whale
 
Posts: n/a

Default Re: using DTS into import mulitple tables - 11-18-2003 , 10:47 AM



Allan,

thanks that seems to have solved that problem. now i get that there is a
bad directory location, but i see there is no reference to a directory
location. so my question is how do i assign a value to that global
variable?

many thanks
Simon

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
Somebody else had this problem in a previous thread unrelated to any
article.

What OS are you running ?

Try installing the latest version


http://www.microsoft.com/downloads/d...DisplayLang=en

--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"simon whale" <simon (AT) nospam (DOT) ukdatait.co.uk> wrote in message
news:eXZYRYerDHA.2584 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Allan,

thank you for the links, i have tried to setup a test on this, so that i
can
also understand what it is doing, but when i run the package i get the
following error on the DefinetheGVs ActiveX script.

Eror Code: 0
Error Source= Microsoft VBScript runtime error
Error Description: ActiveX xomponent can't create object:
'scripting.FileSystemObject'

Error on line 26

this is from using the Looping, Importing and Archiving link from below.

i have looked this through on MSDN and the support site and all i found
was
to do with the global variables, but the script is written in the way
that
the resolution says.

Many thanks
Simon
"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:uPFL0KdrDHA.2488 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
What is a file? A text file or a DB2 file (aka Table)?

You can adapt either of these by referring to the following articles.

Looping, Importing and Archiving
(http://www.sqldts.com/Default.aspx?246)

How to loop through a global variable Rowset
(http://www.sqldts.com/Default.aspx?298)

--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"simon whale" <simon (AT) nospam (DOT) ukdatait.co.uk> wrote in message
news:%23c%23CKzcrDHA.1740 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
All,

i have a folder which i need to import each files seperatley and
then
run
some administrative tasks / reports on each table.

my question is how can i use DTS import each file into thier own
table?

any links or advise would be greatful.

Simon











Reply With Quote
  #6  
Old   
simon whale
 
Posts: n/a

Default Re: using DTS into import mulitple tables - 11-18-2003 , 10:57 AM



Sorry Allan,

Have found where to input the global variables, many thanks for your time

Simon
"simon whale" <simon (AT) nospam (DOT) ukdatait.co.uk> wrote

Quote:
Allan,

thanks that seems to have solved that problem. now i get that there is a
bad directory location, but i see there is no reference to a directory
location. so my question is how do i assign a value to that global
variable?

many thanks
Simon

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:uKhGP0erDHA.1948 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
Somebody else had this problem in a previous thread unrelated to any
article.

What OS are you running ?

Try installing the latest version



http://www.microsoft.com/downloads/d...DisplayLang=en

--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"simon whale" <simon (AT) nospam (DOT) ukdatait.co.uk> wrote in message
news:eXZYRYerDHA.2584 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Allan,

thank you for the links, i have tried to setup a test on this, so that
i
can
also understand what it is doing, but when i run the package i get the
following error on the DefinetheGVs ActiveX script.

Eror Code: 0
Error Source= Microsoft VBScript runtime error
Error Description: ActiveX xomponent can't create object:
'scripting.FileSystemObject'

Error on line 26

this is from using the Looping, Importing and Archiving link from
below.

i have looked this through on MSDN and the support site and all i
found
was
to do with the global variables, but the script is written in the way
that
the resolution says.

Many thanks
Simon
"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:uPFL0KdrDHA.2488 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
What is a file? A text file or a DB2 file (aka Table)?

You can adapt either of these by referring to the following
articles.

Looping, Importing and Archiving
(http://www.sqldts.com/Default.aspx?246)

How to loop through a global variable Rowset
(http://www.sqldts.com/Default.aspx?298)

--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"simon whale" <simon (AT) nospam (DOT) ukdatait.co.uk> wrote in message
news:%23c%23CKzcrDHA.1740 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
All,

i have a folder which i need to import each files seperatley and
then
run
some administrative tasks / reports on each table.

my question is how can i use DTS import each file into thier own
table?

any links or advise would be greatful.

Simon













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.