RE: how to assign text field to a variable in stored procedure
Try coverting the text field to (N)VARCHAR (8000) this way the text field will be able to go into the variableDECLARE @VAR1 AS VARCHAR(n)SET @VAR1 = (SELECT CAST(Textfield AS VARCHAR(n)) FROM dbo.table1)Good luck
2004-05-25