W wooiguo Unregistered / Unconfirmed GUEST, unregistred user! 2007-04-04 #1 在SQL里保存属性为char,只要求显示为2007-04-31格式. (就这些分了请原谅)
Y yitang Unregistered / Unconfirmed GUEST, unregistred user! 2007-04-04 #2 select convert(char(10),cast('20070430' as datetime),21)
D Dong_HC Unregistered / Unconfirmed GUEST, unregistred user! 2007-04-04 #3 1,输入的时候要求格式! 2,用日期控件! 3,自己写 str:='2007'+'-'+'4'+'-'+'31'; 4,datetostr(now);
W wooiguo Unregistered / Unconfirmed GUEST, unregistred user! 2007-04-04 #4 请问 select convert(char(10),cast('20070430' as datetime),21) 写在哪里?