我正在尝试执行SQL查询,但它不起作用。$sql = "SELECT top 5 AccountDocument from web.Preoffers_new where AccountDocument = 'xxxxxxxx'";$sql = "SELECT top 5 Document from Companies where Document = 'xxxxxxxx'&q
我有以下exec查询: 'SELECT (SELECT Count(*) AS Count_Id FROM ns_customer WHERE external_id INRW00343570 ') ) AS Count_Id, WHEREexternal_id IN (' RW00363075 ',' RW003365