0

Varchar vs string

Can we also use string instead of varchar? What’s the difference?

10th Mar 2019, 8:29 AM
Gabriëlla
1 Answer
+ 8
str = "abc"; is equivalent to: char data[] = {'a', 'b', 'c'}; String str = new String(data);
10th Mar 2019, 10:48 AM
D_Stark
D_Stark - avatar