tags:

views:

24

answers:

1

Hi,

If I want to do vertical partitioning of my db, how could I change the database connection dynamically on a per query basis?

i.e. userID > 100000 use db1, otherwise use db0.

+1  A: 

See this.

Anton Gogolev