set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[FlowClientGetCatWeb]
(@ID_Izmerit Integer, @ID_User Integer, @APP bit)
AS
SELECT Name, (CAST(ID_ListGroupParIzm AS nvarchar(10))+'_'+CAST(Point AS nvarchar(10))) AS GroupPoint
FROM
SELECT ID_ListGroupParIzm, Name, Point
开发者_高级运维FROM FlowClientGetCat(@ID_Izmerit,@ID_User,@APP)
why error ? and how to fix :-/
Enclose the nested query into parenthesis:
ALTER PROCEDURE [dbo].[FlowClientGetCatWeb]
(@ID_Izmerit Integer, @ID_User Integer, @APP bit)
AS
SELECT Name, (CAST(ID_ListGroupParIzm AS nvarchar(10))+'_'+CAST(Point AS nvarchar(10))) AS GroupPoint
FROM (
SELECT ID_ListGroupParIzm, Name, Point
FROM FlowClientGetCat(@ID_Izmerit,@ID_User,@APP)
) q
精彩评论