Last time I was around I believe EQEmu used a bitmask to determine expansion eligibility. After a quick search it appears that may still be the case. Here is the bitmask:
Code:
0 - classic
1 - ruins of kunark
2 - scars of velious
4 - shadows of luclin
8 - planes of power
16 - legacy of ykesha
32 - lost dungeons of norrath
64 - gates of discord
128 - omens of war
256 - dragons of norrath
512 - depths of darkhallow
1024 - prophecy of ro
2048 - serpent's spine
4096 - the burried sea
8192 - secrets of faydwer
You'll need to enter 16383. However, it appears there's a new bool rule "UseClientBasedExpansionSettings" that would easier solve your problem.
I don't have access to a database so this is purely based off memory, but I believe expansion values are used in conjunction with the Zone table.