Hi Tommy,
Thanks for your questions... I read through what you are trying to do but its difficult because even with SQL there are areas of work flow here that become more difficult to handle.
For example, since you don't want the user to actually sign in then you don't know their UserID. The DNN Verification Code is actually a combination of the portal ID and the userID. So, this is going to be something like 0-50, 0-51, 0-52 etc... Are you looking for any valid code as an option to redirect to A or does it really need to be the code that only they received?
The way I would handle this would be to simply allow them to register, and then inside of the email event you can pass them back to the previous URL after login.
For example, within the email event sending them the verification code you could include the previous URL I believe.
So maybe:
http://www.yoursite.com/default.asp...dpage.aspx From there after the user clicks login they simply submit the form and are redirected back to where they started with. DotNEtNuke in general (and Dynamic Registration/Dynamic Login) use this ReturnURL all of the time to take the user back to a specific page.
If you really do need to go the SQL route this could be troublesome because you need to check the code that they entered via SQL. So you could do this via SQL Validation to check the code they entered. IF you want to go beyond that though you would have to do something similar to our Demo 32 at
http://www.datasprings.com/formdemos where you check the value they entered, then return another value (like true or false) after they click a button. Then from there fire off a redirection to A or B depending on the answer. This is more complicated though and I am not really familiar with the SQL you would need because the verification code is unique per user and the user isn't even signed in yet right? We can assist in writing the SQL if you need us to however these services our handled via our Premium Support and not our community or standard support (or maybe another community member has handled this recently and care share what they did?).
Thanks,
Chad