2
引用一行從一個我有兩個疑問如何我在第二個查詢
Dim query1 as String = "Select * from openquery (devbook, 'SELECT start_date FROM bookings WHERE investor = ''00000'' ')"
Dim FlightQuery as String = "Select * from openquery (devbook, 'SELECT price FROM flight_prices WHERE dep_date = start_date ')"
凡說dep_date = start_date
我要抓住第一個查詢的start_date
,並把它放到我的第二個查詢。
這些不是我的完整查詢,他們比這些更復雜和混亂,但我把這些作爲例子。
任何想法?
感謝
傑米