If you are looking for a new paradigm, definitely go for SQL, the declarative paradigm is so different than the imperative-procedural one, that some people don't consider it a programming language !
SQL syntax is not fun and looks old style, but concepts are so powerful. Don't forget it's based on relational algebra.
Note that you can also write procedural code with proprietary DB syntax, with cursors and so on, learn nothing new and usually be far less effective...
If you are looking for a new paradigm, definitely go for SQL, the declarative paradigm is so different than the imperative-procedural one, that some people don't consider it a programming language !
SQL syntax is not fun and looks old style, but concepts are so powerful. Don't forget it's based on relational algebra.
Note that you can also write procedural code with proprietary DB syntax, with cursors and so on, learn nothing new and usually be far less effective...