How to solve Incorrect syntax near 'xml'? : i`m new in programming and i`m working on an administration program, and when writing one of it`s features I encountered this error. I think that this is a simple problems, tho I really question my begginer skills. 

Here`s the code. Forgott to mention that I`m working in Microsoft SQL Server Management Studio

CODE: create procedure wIaTertiDemo @sesiune varchar(50), parXML xml
as

begin try
	declare @utilizator varchar(500)
	exec wIaUtilizator @sesiune @utilizator output

	select codfiscal, denumire as @dentert, adresa 

	from tertiDemo
	for xml raw

	--create table tertiDemo(codfiscal varchar(50), denumire varchar(500), adresa varchar(500)



end try
BEGIN CATCH
	DECLARE @mesajEroare varchar(1000)
	SET @mesajEroare = ERROR_MESSAGE()+ '(' +OBJECT_NAME(@@PROCID) + ')'
	RAISERROR (@mesajEroare, 16,1)
END CATCH




ERRORS:
 Msg 102, Level 15, State 1, Procedure wIaTertiDemo, Line 1 [Batch Start Line 0]
Incorrect syntax near 'xml'.
Msg 102, Level 15, State 1, Procedure wIaTertiDemo, Line 6 [Batch Start Line 0]
Incorrect syntax near '@utilizator'.
Msg 102, Level 15, State 1, Procedure wIaTertiDemo, Line 8 [Batch Start Line 0]
Incorrect syntax near '@dentert'.


