Click here to Skip to main content
15,894,017 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
0 down vote favorite


I want these things should happen in my stored procedure,

If XML file has records, Delete all existing records for the PlantAreaID, Read and insert records from XML,And even i want to know how to create an XML file in SQL for this table

If successful Call sp_LogActivity ("Plant Area contacts updated successfuly-)

My PlantAreaContacts Table is like this:

PlantAreaID int,
PlantAreaContact varchar(55),
IsAreaHead int,
AreaEmailID varchar(50),
AreaMobileNumber varchar(50),
LoginPassword varbinary(max),
SystemPermission varchar(25)
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900