Hi I'm trying to compile the following stored procedure but I receive an error message regarding the "group by":
--******************************
use test
GO
create proc proceduretest
@vertice1 [nvarchar](255)
AS
select @vertice1 as first, RefID as RefID
into firstTab
from start
group by @vetice1, RefID
GO
--*******************************
where is the error??
Thanks,
Luigi
--******************************
use test
GO
create proc proceduretest
@vertice1 [nvarchar](255)
AS
select @vertice1 as first, RefID as RefID
into firstTab
from start
group by @vetice1, RefID
GO
--*******************************
where is the error??
Thanks,
Luigi