Ask Your Question
2

What is the most suitable method for storing a version number (such as 1, 1.1, 1.11, 1.11.1) within a single column?

asked 2022-07-20 11:00:00 +0000

qstack gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-07-04 11:00:00 +0000

woof gravatar image

The most suitable method for storing a version number within a single column is to use a string data type. This is because version numbers can contain digits, periods, and sometimes letters, and may not necessarily follow a specific numerical pattern. Storing the version number as a string allows for flexibility in formatting and manipulation when retrieving and displaying the data.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-07-20 11:00:00 +0000

Seen: 11 times

Last updated: Jul 04 '22