7
Answers

without using reverse find the given string palindrome or no

hai...
i trying to using REVERSE() find the given string palindrome or not
but i got answer without using REVERSE() fun find palindrome or not 
 
PLZ any one help me .
 
create procedure pal
@word varchar(50)
as
begin
if @word=REVERSE(@word)
print 'pal'
else
print 'not pal'
end
go
 
Thanks
Venkatesh D 
Answers (7)