--	添加视频应用
INSERT INTO [DB_CLASS]
           ([Name]
           ,[Remark]
           ,[Icon]
           ,[Url]
           ,[Type])
     VALUES
           ('视频管理'
           ,'在线播放、管理、共享音乐视频、录像文件'
           ,'Template/Image/icon_application_vod.gif'
           ,'Main/Video/Default.aspx'
           ,0);
--	添加应用扩展类型
INSERT INTO [DB_CLASS_EXTENSION]
           ([ClassId]
           ,[Name]
           ,[Extension])
	SELECT ClassId, 'Real 多媒体', 'ra'
		From DB_CLASS Where Name = '视频管理';
INSERT INTO [DB_CLASS_EXTENSION]
           ([ClassId]
           ,[Name]
           ,[Extension])
	SELECT ClassId, 'Real 多媒体', 'rm'
		From DB_CLASS Where Name = '视频管理';
INSERT INTO [DB_CLASS_EXTENSION]
           ([ClassId]
           ,[Name]
           ,[Extension])
	SELECT ClassId, 'Real 多媒体', 'ram'
		From DB_CLASS Where Name = '视频管理';
INSERT INTO [DB_CLASS_EXTENSION]
           ([ClassId]
           ,[Name]
           ,[Extension])
	SELECT ClassId, 'Real 多媒体', 'rmvb'
		From DB_CLASS Where Name = '视频管理';
INSERT INTO [DB_CLASS_EXTENSION]
           ([ClassId]
           ,[Name]
           ,[Extension])
	SELECT ClassId, 'Windows 多媒体', 'wmv'
		From DB_CLASS Where Name = '视频管理';
INSERT INTO [DB_CLASS_EXTENSION]
           ([ClassId]
           ,[Name]
           ,[Extension])
	SELECT ClassId, 'Windows 多媒体', 'asf'
		From DB_CLASS Where Name = '视频管理';
INSERT INTO [DB_CLASS_EXTENSION]
           ([ClassId]
           ,[Name]
           ,[Extension])
	SELECT ClassId, 'Windows 多媒体', 'mpeg'
		From DB_CLASS Where Name = '视频管理';
INSERT INTO [DB_CLASS_EXTENSION]
           ([ClassId]
           ,[Name]
           ,[Extension])
	SELECT ClassId, 'Windows 多媒体', 'mpg'
		From DB_CLASS Where Name = '视频管理';
INSERT INTO [DB_CLASS_EXTENSION]
           ([ClassId]
           ,[Name]
           ,[Extension])
	SELECT ClassId, '视频剪辑', 'avi'
		From DB_CLASS Where Name = '视频管理';