SQL design approach for searching a table with an unlimited number of bit fields

前端 未结 5 2193
失恋的感觉
失恋的感觉 2020-12-31 23:01

Consider searching a table that contains Apartment Rental Information: A client using the interface selects a number of criteria that are represented as bit fields in the D

5条回答
  •  悲哀的现实
    2020-12-31 23:38

    Create a table that stores attributes or search columns based on the apartment. Definitely do not keep adding more bit field columns..nightmare maintenance and nightmare coding. And definitely don't please don't dynamically generate where statements and use exec.

提交回复
热议问题