문제

What should the data type of a phone number be in SQL Server? varchar? What length? And, where do I find this sort of information for EWL for similar fields (zip code, etc.)?

도움이 되었습니까?

해결책

Yes, use varchar for phone numbers. I'd probably use something like varchar(25). As far as I know there is no documentation on which SQL Server data type to use for each EWL data type. One thing you can do is look at the validation methods in the Validator class and see what they are capable of returning. I know that's not an ideal solution but I think it's your best bet right now.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top