Wrox Programmer Forums
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 19th, 2003, 08:07 PM
Registered User
 
Join Date: Nov 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to rudjung
Default time scheduling

hi,anybody
 I want to import and convert from log file to sql server7 but my problem are
1.i have many file which separate by date
2.i want to make it import automatically by i just set time interval
i really want to know if it possible to import theses file by use just sql server config and use time scheduling..
  thanks everybody


 
Old November 19th, 2003, 10:36 PM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

 
Quote:
quote: I want to import and convert from log file to sql server7 but my problem are
Quote:
What format is the data that you want to import? Text?

Quote:
quote:2.i want to make it import automatically by i just set time interval
You can create a job and schedule it at the intervals that you desire. This job can run a DTS package for you.

Quote:
quote:1.i have many file which separate by date
Could you please elaborate on this?





Sal
 
Old November 20th, 2003, 03:22 AM
Registered User
 
Join Date: Nov 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to rudjung
Default

the file that i want to import is text file.I collect data(log file) that's automatically created everymin from another server to my computer.there are many files i need to import to sql server seperated by date.And, i have to import those data in files every 15 min at least.I want to use sql config to config this problem...is it possible?

 
Old November 20th, 2003, 10:32 AM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok, just create a DTS package. You can create a conection to the textfile in the designer. Once you complete the package, you can seve it and schedule it. I think someone already asked that question earlier (about 3 weeks ago). Do a search on this forum for text under the dts forum. There are some instructions on how to get it done.

If the file is always saved with the same name, you can import the complete file. The only question is, Is this file beein appended or completly re-created? that determines how you import tye data.




Sal





Similar Threads
Thread Thread Starter Forum Replies Last Post
catalog scheduling riketa.garg SQL Language 0 April 8th, 2008 12:56 AM
Scheduling a task eelisMX Pro VB.NET 2002/2003 5 April 29th, 2007 11:57 PM
Scheduling mwahab Excel VBA 0 February 23rd, 2007 02:24 PM
scheduling reports barmanvarn BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 0 August 23rd, 2004 08:15 AM
Scheduling mrkyn Classic ASP Basics 4 December 1st, 2003 03:11 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.