Jump to content
We've recently updated our Privacy Statement, available here ×

How to run queryString for a specific dbms?


KrisParis

Recommended Posts

Hi,

In my project, DBMS type can be Postgres or H2 Database.

I would like to use an aggregate fonction to concatenate multiple rows in one column.

With Postgres I would use string_agg, with H2 the fonction group_concat.

Is it possible to execute a queryString only if the dbms type is either postgres or H2 ?

 

Thanks in advance for your reply

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...