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
mromanimromani 

Access to SQL

I was wondering, is there a way to be able to access SQL from Apex or even VisualForce...

We'd like to retrieve some data from our SQL Server 2008 from a controller (in Apex), and seem to be stuck, not sure how to proceed or if it is even possible.

 

Any suggestion or help would be greatly appreciated!

 

Thanks

 

mromani

Cool_DevloperCool_Devloper

Hi,

You cannot directly connect to SQL using APEX code :(

Primarily, you have 3 options-

1. Webservice

2. ETL like Informatica

3. Custom App

 

Check this post-

Post

Cool_D