I have a proc like this (T-SQL, SQL Server 2000):
Alter Proc ImportXML
@chvFullFileNam e varchar(200),
@txtInputXML text=''
AS
My question is how can I load the contents of the XMLFile into the
parameter called @txtInputXML ? Let us say my full file path is
C:\XML\SampleXM L.txt. I want to load this into parameter as one string
What do I use ? bulkcopy or something else ?
Your help would be much appreciated.
Thanks
Alter Proc ImportXML
@chvFullFileNam e varchar(200),
@txtInputXML text=''
AS
My question is how can I load the contents of the XMLFile into the
parameter called @txtInputXML ? Let us say my full file path is
C:\XML\SampleXM L.txt. I want to load this into parameter as one string
What do I use ? bulkcopy or something else ?
Your help would be much appreciated.
Thanks
Comment