set Command1 = Server.CreateObject("ADODB.Command")
Command1.ActiveConnection = MM_net_STRING
Command1.CommandText = "UPDATE g_ad SET gu_latime = '"&up_now&"' WHERE gu_name ='"&up_name&"'"
Command1.CommandType = 1
Command1.CommandTimeout = 0
Command1.Prepared = true
Command1.Execute()
'"&up_now&"' '"&up_name&"' 这两个变量都是文本属性,第一个是时间、第二个是文本