|
Bustaz Kool
Flowing Fount of Yak Knowledge
USA
1430 Posts |
Posted - 02/23/2005 : 15:20:58
|
You are passing in @passwd as a parameter to sp_CheckPassword_bak and then overwriting it by using it as a parameter to xp_repl_encrypt with OUTPUT.
Can't resist... In general, don't use "sp_" as a prefix to your procedure name. There is a performancce hit associated with this.
HTH
================================================================= Too many parents make life hard for their children by trying, too zealously, to make it easy for them. -Johann Wolfgang von Goethe, poet, dramatist, novelist, and philosopher (1749-1832) |
 |
|