0
我正在使用对MS SQL数据库的JDBC查询作为视图的数据源。数据源是这样的:在JDBC查询中加入MS SQL表
<xp:this.data>
<xe:jdbcQuery connectionName="mssql" sqlQuery="select * from table" var="jdbcData1">
</xe:jdbcQuery>
</xp:this.data>
我可以参数添加到这个(例如:其中列=),这一切工作正常,但我不能设法得到一个工作的加盟。是否有可能以这种方式加入两张桌子?
你可以发布你正在尝试的连接的SQL语句吗? – 2013-05-07 15:03:59
我已经尝试了一些:如select * from table1 join table2'或添加条件/参数'select * from table1 join table2 on table1.col = table2.col where param =?',none have worked。 – 2013-05-07 15:47:55
你能发布你得到的错误吗? – jjtbsomhorst 2013-05-10 17:52:25