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