提示:”第1行:"*"附近有语法错误。“ 请问为什么?
Haten 2003-10-21 10:07:49 源码如下:
myConn.ConnectionString ="data source=localhost;initial catalog=PECS;persist security info=false;user id=sa;packet size=4096";
SqlCommand myCommand = new SqlCommand("delete * from t_MacInf", myConn);
myCommand.Connection.Open();
myCommand.ExecuteNonQuery();
myConn.Close ();