哪位大哥帮忙把下面一个SqlServer中的自定义函数 转换成Oracle中自定义函数,紧急!!!在线等,谢谢了!--根据上级编号获得分类设置树
create function [dbo].[fBWA_Lookup_Config_GetChildrenByParentID]
(
@Lcg_Parent_ID uniqueidentifier
)returns @t table(
[Lcg_ID] [uniqueidentifier],
[Lcg_System_Type] [tinyint],
[Lcg_Sub_System_Type] [tinyint],
[Lcg_Parent_ID] [uniqueidentifier],
[Lcg_Code] [varchar](100),
[Lcg_Name] [nvarchar](50),
[Lcg_Value] [nvarchar](100),
[Lcg_Order_No] [smallint],
[Lcg_Is_Default_Selected] [tinyint],
[Lcg_Description] [nvarchar](200),
[Lcg_Status] [tinyint],
[Lcg_Creater] [nvarchar](50),
[Lcg_Create_Time] [datetime],
[Lcg_Last_Modifier] [nvarchar](50),
[Lcg_Last_Modify_Time] [datetime]
,[Level] int
)
as
begin
return
end