Best way to represent a color in a SQL Database?

前端 未结 6 1145
情歌与酒
情歌与酒 2021-01-12 04:14

If I am using .Net and SQL Server 2008, what is the best way for me to store a color in the database, should I use ToString or convert it to an integer, or something else?

6条回答
  •  臣服心动
    2021-01-12 04:45

    How to store information in a database depends on how you intend to use and access it. There's no saying what the best way to store it is without knowing how you'll use it.

提交回复
热议问题