删除多个表的数据
string userid = Request.QueryString["user_id"];SqlConnection conn = new SqlConnection(ConfigurationManager.AppSettings["loveConnectionString"]);
SqlCommand delectCmd = new SqlCommand("delete from larchives where user_id='" + userid + "'", conn);
conn.Open();
delectCmd.ExecuteReader();
conn.Close();
根据一个传值,一次性删除多个表的数据,应该怎么写?