Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

Calling script in a Stored Procedure

$
0
0

I have this script and want to use it in a stored procedure but while creating it, it showed me an error:

Error: Query : CREATE PROCEDURE test.loadXMLData() BEGIN LOAD XML LOCAL INFILE
UserApplication.xml' INTO TABLE userapplicatio... Error Code : 1314 LOAD XML is not allowed in stored procedures

Query:

LOAD XML LOCAL INFILE 'UserApplication.xml'
INTO TABLE userapplication
ROWS IDENTIFIED BY '<Group>';

please Help me Out for finding where i m exactly making a mistake....


Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>