dbTalk Databases Forums  

how to read an xml file on local file system

microsoft.public.sqlserver.xml microsoft.public.sqlserver.xml


Discuss how to read an xml file on local file system in the microsoft.public.sqlserver.xml forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
narasimha rao chandramouli via SQLMonster.com
 
Posts: n/a

Default how to read an xml file on local file system - 05-23-2005 , 03:57 AM






Hi,

i have a xml file c:\abcd.xml in my local filesystem.. i just want to
take the path as in parameter for a stored procedure and insert the values
into a table type variable

execute usp_xx (@xmlpath='c:\abcd.xml')
-- inside the sp i would like to read the xml file and insert the same
into a table type variable..

Can anyone tell me the idea..


nsr

--
Message posted via http://www.sqlmonster.com

Reply With Quote
  #2  
Old   
Michael Rys [MSFT]
 
Posts: n/a

Default Re: how to read an xml file on local file system - 05-24-2005 , 02:05 AM






You should read the file on the mid-tier/client and send the data as a
stored proc parameter value in SQL Server 2000. SQL Server 2005 will have a
way to read from files...

Best regards
Michael

"narasimha rao chandramouli via SQLMonster.com"
<forum (AT) nospam (DOT) SQLMonster.com> wrote

Quote:
Hi,

i have a xml file c:\abcd.xml in my local filesystem.. i just want to
take the path as in parameter for a stored procedure and insert the values
into a table type variable

execute usp_xx (@xmlpath='c:\abcd.xml')
-- inside the sp i would like to read the xml file and insert the same
into a table type variable..

Can anyone tell me the idea..


nsr

--
Message posted via http://www.sqlmonster.com



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.