I am using an INSERT INTO statement and one of my database variables is a varchar(51). Can a string be directly stored as a varchar or do I need to convert this to something else beforehand?

>Can a string be directly stored as a varchar or do I need to convert this to something else beforehand?

If a string variable contains non-English characters then use nvarchar field type otherwise string will be stored as varchar.

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.