View Single Post
Old 03-25-2012, 02:06 AM   PM User | #6
Mishu
Banned

 
Join Date: Mar 2012
Posts: 306
Thanks: 1
Thanked 28 Times in 28 Posts
Mishu can only hope to improve
yes it's better to do it the sql rather than the application, but since the op was enquiring about an IF I was thinking this might be homework and he needs to do it a particular way and so I just gave a description without any code.
Mishu is offline   Reply With Quote