PDA

View Full Version : این کد sql را ببینید لطفا



mostafa612003
سه شنبه 05 اسفند 1382, 14:51 عصر
سلام
این کد را ببنید:


sql ="select ActionName,ActionDate,office from(select code from shahidmain where indx= "
sql = sql & Prm &" )as mash inner join (select * from Actions inner join radepaActions on "
sql =sql &"Actions.indx=radepaActions.actioncode) as ac on mash.code=ac.shcode order by ActionDate"
set Rs=conn.execute(sql)

وقتی اجرایش می کنم این پیغام را می دهد:


[Microsoft][ODBC SQL Server Driver][SQL Server]The column 'rowguid' was specified multiple times for 'ac'.


شما می دونید چرا؟ :oops:

vadood
چهارشنبه 06 اسفند 1382, 10:29 صبح
ایا شما داربین از view کوپری می گیرین؟