neilx wrote:
Quote:
then it would be useful to run through the views automatically and
change the dates accordingly as the first task in the package. Does
anyone know of a tool that could do this? |
Found one. I can use SQL-DMO in a VB .exe and output a view creation
script in the correct order to be used in Query Analyser. This seems to
work great with Views.
(See
http://www.ftponline.com/archives/pr...9/jf0109-3.asp
for an article describing how to do this)
It is a real shame that DTS doesn't check dependencies as thoroughly as
it could as it makes the simplest of tasks - copying objects - a
nightmare.
This is as a result of views and functions being created and altered
over the years without any realisation of the implications of (not)
ordering by date and alphabetical order. Does SSIS have the same
problem?
Neil