In message <e7ETk5ILEHA.332 (AT) TK2MSFTNGP11 (DOT) phx.gbl>, Ron Sissons
<RSISSONS (AT) rcoe (DOT) k12.ca.us> writes
Quote:
How do I assign the contents of a script.sql file to a global variable?
Do I have to read it in line by line? Can you show me the code to do it? |
You could do this in ActiveX Script Task using the text stream object
and Read and ReadLine methods, but easier still you can use the Dynamic
Properties Task.
--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com
PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org