I have an ASP.NET page which updates, deletes and adds records to/from one table in the database, but not another. The only difference between the two tables that I can see is that the 2nd table contains [Date] and [File] columns (Sql Server puts the brackets automatically to distinquish between the Date and File reserved keywords).
I tried to change the File column name to FilePath, and that worked. But I'm suspicious. Why doesn't Date produce a problem? If Sql Server allows keywords in the column names, howcome it cannot handle the updates? Perhaps, my problem is somewhere else?!
Any suggestions?
I tried to change the File column name to FilePath, and that worked. But I'm suspicious. Why doesn't Date produce a problem? If Sql Server allows keywords in the column names, howcome it cannot handle the updates? Perhaps, my problem is somewhere else?!
Any suggestions?