6
Answers

Select query with dots

yokzu

yokzu

12y
2.5k
1
Hi,
I want to search an IP address from DB. Query is like below;

select * FROM Log WHERE IP='3.3.3.3'

But I get this error,

"The data types ntext and varchar are incompatible in the equal to operator."

IP colon's format is "nText".

How may I search IP addresses?

regards.

Answers (6)