ok, have been breaking my head over this thing for too long now :Di have a couple of money colums in my Table and i want to insert just some numbers in to there from an .asp page. I use stored procedure so i can get the @@identity.SP:CREATE PROCEDURE addOrder2(@kid int,@subtotaal money,@verzendKosten money,@grandTotal money)AS set nocount oninsert into orders( kid, subtotaal, verzendKosten, grandTotal )values ( @kid, @subtotaal, @verzendKosten, @grandTotal)select @@identity as orderIDGO
asp pageaddOrder2 '8', CONVERT(money, '298,95'), CONVERT(money, '24'), CONVERT(money, '322,95')
so i TRY to convert the data to a MONEY type but it still says;"Incorrect syntax near the keyword 'CONVERT'."so what am i doing wrong... do i have to use the convert in the Stored Procedure and if so, what would be teh right syntax ?