UPDATE [fl_news_content] SET [nc_title] = @nc_title, [nc_summary] = @nc_summary, [nc_content] = @nc_content, [nc_date] = @nc_date, [nc_data_source] = @nc_data_source, [nc_data_source_link] = @nc_data_source_link, [nc_sort] = @nc_sort, [nc_first_record] = @nc_first_record, [nc_status] = @nc_status, [nc_deleted] = @nc_deleted, [nc_start_date] = @nc_start_date, [nc_end_date] = @nc_end_date, [nc_lastfix_time] = GETDATE(), [nc_lastfix_user] = @nc_lastfix_user, [nc_lastfix_user_ip] = @nc_lastfix_user_ip WHERE [nc_id] = @nc_id; UPDATE [fl_news_content] SET [nc_img_bin] = @nc_img_bin, [nc_img_type] = @nc_img_type, [nc_img_isnew] = @nc_img_isnew WHERE [nc_id] = @nc_id AND @nc_img_bin IS NOT NULL;