Hi Gaurav,
your question is too vague. It is possible to connect with several external databases but you need to know which sgbd you are talking for instance.
Take a look at this documentation to know more about this process and let us know if you still have questions
https://success.outsystems.com/Documentation/11/Extensibility_and_Integration/Integrate_with_an_External_Database
best regards
Fabio