Hi, I am currently working on a banlist and I am thinking about which data type to choose for storing the IP address in the database. Will the Binary data type be ideal?
martin_57 0 Newbie Poster
Recommended Answers
Jump to PostCurrently I store IP addresses as Varchar.
Binary is meant for binary data such as images, executables, etc. Not text.
All 4 Replies
rproffitt 2,572 "Nothing to see here." Moderator
Dani 4,084 The Queen of DaniWeb Administrator Featured Poster Premium Member
jwenting 1,889 duckman Team Colleague
Vikas_30 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.