IF EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID('[dbo].[mps_save_flowchart_xml]') AND type = 'P')
DROP PROCEDURE [dbo].[mps_save_flowchart_xml]
GO
CREATE procedure [dbo].[mps_save_flowchart_xml] 
@flwid int ,
@flwtitle nvarchar(100),
@flwxml text 
as
begin
update mps_bizflow set flw_title=@flwtitle , flw_xml=@flwxml where flw_id=@flwid 
end