I usually use N prefix in inserting data into sql server table when the data are not in English however when I want to save current time the AM or PM while be saved as ??
when I don't use N prefix
.
This is how I save time in database here mtime is nvarchar(50)
:
<%
t=time
sql=insert into notes (body,mtime) values (N'" & body &"','"& t &"')"
Con.execute sql
%>
why do I need N prefix to save time? isn't output of asp time
, a string in English characters?