In my opinion, SQL will never go away. ORM tools like Entity Framework, Linq, Hibernate/nHiberante, are getting better but in every case I've seen thus far you still get better performing and easier to maintain code using T-SQL.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question