function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
pragathipragathi 

Connecting to a Oracle/SQL Server Database from Visualforce page

Hi all,

We have a requirement in which we need to connect to the Oracle database from a Visualforce page and access the data in the tables.

Please provide us a solution for this, other than using the web services concept.

As this is bit urgent, it would be highly appreciated if you reply me immediately...

Thanks in advance... :)

Best Answer chosen by Admin (Salesforce Developers) 
b-Forceb-Force

Sorry,

But we couldn't see  any other way to connect any other Oracle/Database from VF page .

you need to expose Oracle/SQL database as webservice schema , and need to make webservice callout from VF page

 

Thanks,

Bala

All Answers

b-Forceb-Force

Sorry,

But we couldn't see  any other way to connect any other Oracle/Database from VF page .

you need to expose Oracle/SQL database as webservice schema , and need to make webservice callout from VF page

 

Thanks,

Bala

This was selected as the best answer
URVASHIURVASHI

Hey can u explain how to connect to sql/Oracle using webservice api?

 

Any code Snippet would help.

 

Thanks.

SFC7SFC7
Hey, I'm facing the same issue, did you get any sollution for this?

It will be very helpfull if you provide any sollution oriented things!!!

Thanks in advance!