SQL Server 2005 allows a maximum of 4096 columns in a SELECT statement. This is a hard limit in the query processor. Option C (512) was an older SQL Server 6.5 limit, while option A (1024) might be confused with earlier versions or other database constraints.