Here is an image showing the pin diagram of this transistor.
Classification of hFE
The KSB794-O transistor can have a current gain of 4000 to 10000. The gain of the KSB794 will be in the range from 2000 to 30000, 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-O is the KSB985-O.
Replacement and Equivalent for KSB794-O transistor