Web Developer/WebMatrix: SQL CE database table error when editing?

I kind of can't believe this, but it looks like a bug in Visual Studio. You're getting the error at character 103 because that's where the 'Cast' column is added to the SQL statement - 'Cast' is a reserved keyword in SQL syntax.

I kind of can't believe this, but it looks like a bug in Visual Studio. You're getting the error at character 103 because that's where the 'Cast' column is added to the SQL statement - 'Cast' is a reserved keyword in SQL syntax. Generally to get around that, you would use the bracket syntax to clarify your intent: SELECT SKU, Title, Description, OFLC, Collection, Price, Distributor, Format, RunningTime, Discs, Cast, ImageSmall, ImageMedium, ImageLarge From Titles But for some reason, VS strips out the brackets!

I'll keep looking for an answer to the bug (interesting problem), but in general you want to avoid naming columns reserved keywords :-) http://msdn.microsoft.com/en-us/library/aa226054(v=SQL.80).aspx Happy Coding!

Thanks - Very silly, cannot believe I missed that! I already found a workaround: switch to SQL Server 2012 (feature from SQL CE 4 I need is in 2012). – Xander Guerin Dec 12 at 23:06.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions