I use CSharp. I have two columns, Start and End, datatype:smalldatetime, nullable. If i chane column names to something similar (PeriodStart, PeriodEnd) it's all ok. This is the error: Incorrect syntax near the keyword 'End'. Description: An unhandled exception occurred during the execution...