Possible approaches to connect MS SQL Server with Asterisk

hi to all
i am new to th asterisk. and i want to develop an IVR in Asterisk that gets data from MS SQL Server.
what are the possible solutions for it.
thanks
regards