Here is an image showing the pin diagram of this transistor.
Classification of hFE
The KSB794 transistor can have a current gain of 2000 to 30000. The gain of the KSB794-O will be in the range from 4000 to 10000, for the KSB794-R it will be in the range from 2000 to 5000, for the KSB794-Y it will be in the range from 8000 to 30000.
Complementary NPN transistor
The complementary NPN transistor to the KSB794 is the KSB985.