Hi there,
I'm doing a project at the moment which involves using bulk insert to fill an sql table with weather data.
BULK INSERT TableWeather
FROM 'C:\Program Files\EasyWeather\EasyWeather.dat' WITH (FIELDTERMINATOR = ',')
This seems to work fine but I need to do this every fifteen minutes and also actually overwrite the data from the last time so that the table size doesn't get out of control. I've been checking everywhere but Im not so handy with sql code. Do I need to create a stored procedure and automate that?
I also need to do it with a view to exporting the new data as an xml every fifteen minutes as well, which will be used by an swf for display on the asp.net website.
Any advice'd much appreciated, Thanks