dbTalk Databases Forums  

Automate Importing Daily Performance File into Table

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


Discuss Automate Importing Daily Performance File into Table in the microsoft.public.sqlserver.dts forum.



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

Default Automate Importing Daily Performance File into Table - 06-25-2004 , 09:48 AM







My server has Windows 2000 Advanced Server as operating
system with SQL Server 2000 Enterprise Edition.

I would like to create a SQL Server DTS package to
automate the import of my daily performance monitor file.

My performance monitor file is created daily at 7:00 am
with the following name: DBGTY_csv_mmdd0700.csv.

The file is in the H:\Performance_Monitor directory.

I have set up DTS package to import the file into a SQL
Server table. But could figure away to automate the daily
loading from the performance monitor file to the SQL
Server table.

Please help me with this task.

Dan


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

Default Re: Automate Importing Daily Performance File into Table - 06-25-2004 , 11:55 AM






You need to read up on SQL Server Agent and Jobs. This is the mechanism by
which we schedule stuff in SQL Server. There is a raft of information in
BOL about it.

Also

http://support.microsoft.com/?kbid=269074

--
--

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


"Dan" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
My server has Windows 2000 Advanced Server as operating
system with SQL Server 2000 Enterprise Edition.

I would like to create a SQL Server DTS package to
automate the import of my daily performance monitor file.

My performance monitor file is created daily at 7:00 am
with the following name: DBGTY_csv_mmdd0700.csv.

The file is in the H:\Performance_Monitor directory.

I have set up DTS package to import the file into a SQL
Server table. But could figure away to automate the daily
loading from the performance monitor file to the SQL
Server table.

Please help me with this task.

Dan




Reply With Quote
  #3  
Old   
Nigel Rivett
 
Posts: n/a

Default RE: Automate Importing Daily Performance File into Table - 06-26-2004 , 07:09 AM



dts sounds a bit heavy for a simple import task.

To do this daily and a scheduled job.
Think about doing it va bcp which will be a lot simpler. You will probably want to archive as well.
see
http://www.nigelrivett.net/ImportTextFiles.html


"Dan" wrote:

Quote:
My server has Windows 2000 Advanced Server as operating
system with SQL Server 2000 Enterprise Edition.

I would like to create a SQL Server DTS package to
automate the import of my daily performance monitor file.

My performance monitor file is created daily at 7:00 am
with the following name: DBGTY_csv_mmdd0700.csv.

The file is in the H:\Performance_Monitor directory.

I have set up DTS package to import the file into a SQL
Server table. But could figure away to automate the daily
loading from the performance monitor file to the SQL
Server table.

Please help me with this task.

Dan



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.