left join ,right join ,inner join 在一个sql语句中不可同时存在,提示"不支持连接表达式".但是在有的语句中就可以同时应用left join 和inner join .希望有DX见到告知小弟其中奥秘access的存储过程

第一次尝试用access 的存储过程"查询" 
command的execute方法  cmd.execute([RecordAffected] , [Parameters] , [Options])
若Parameters为空,写null
格式如下
   dim cmd
   Set cmd = Server.CreateObject("ADODB.Command")
   With cmd
    .ActiveConnection = conn
    .CommandType =4  '存储过程
    .CommandText = "all_price"
   End With
  
   set rs=cmd.execute(,Array(supplierid,customerid,productid))  '此处参数顺序不可改变,因调用access参数查询

相关文章:

  • 2022-02-25
  • 2022-12-23
  • 2022-12-23
  • 2021-10-01
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案