mehfuz.khaled (7/20/2013)
Op is also char. Sorry about that.
Change the datatype of Op to CHAR and run the query that I posted... Hope it will work for you
_______________________________________________________________
To get quick answer follow this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/