Concatenate rows into 1 - access 2007

前端 未结 2 748
礼貌的吻别
礼貌的吻别 2020-12-22 10:31

I\'m making a database in Access 2007, and currently I\'m struggling with a query. In only one column, it is possible to cose multiple answers. So, when I open the query I g

2条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-22 10:59

    "Standard" SQL won't do this, I think. There may be some features in Access to return an array with column values... but unless someone else comes up with a cool suggestion based on such a capability, I'd say "no".

    This kind of processing normally has to be done in the programming environment that called the SQL. Are you using some kind of report generator such as BIRT or are you doing "straight" JDBC? If the latter, then you can simply loop through your ResultSet to put that compound column together.

提交回复
热议问题