I can not speak good English
i want for store data in database of c#
1-I have an xml string in c#
2-I sent the following procedure
3-And without any problems.
4-store in table.
5-My problem is:
I need to get the greatest column value from table
I added it to 1 and I recorded the new record
ALTER PROCEDURE [dbo].[SpTest]
DECLARE @ih INT
EXEC sp_XML_preparedocument @ih output, @Xml
FROM OPENXML(@ih, 'TBL_FACTOR/RD_FACTOR')
EXEC sp_XML_removedocument @ih