Question : Need help with some SQL

Hello, I am trying to create a varchar type and then to set the value. This is not working for me. Does anyone know what the problem is ? Please help?

DECLARE @Coyles as VARCHAR(10)
SET @Coyles ="Bob"

Answer : Need help with some SQL

DECLARE @Coyles as VARCHAR(10)
SET @Coyles ='Bob'

single qoute
Random Solutions  
 
programming4us programming4us