how to connect to MsSQL server database

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
studentmy
Posts: 2
Joined: Mon Jun 25, 2018 11:17 am

how to connect to MsSQL server database

Post by studentmy »

Hi all, i know how to connect to MySQL , create table, update data, delete data from the live code lessons, but i have no idea how to connect to Microsoft MsSQL Server with Livecode, using ODBC or web service API?
anyone can help? any example?

thank you
bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

Re: how to connect to MsSQL server database

Post by bogs »

Max's Wiki has some excellent information about the subject, about halfway down the page under "Databases" (use the links under it, some of them don't link from the categories page).
Databases
Databases
Selection_003.png (10.59 KiB) Viewed 5627 times
Image
studentmy
Posts: 2
Joined: Mon Jun 25, 2018 11:17 am

Re: how to connect to MsSQL server database

Post by studentmy »

Hi,

I don't understanding The ODBC driver, it should be install on the SQL server? or the computer who running the live code program?
My Livecode program installed on Mac Os, do i need to download and OCBC with mac Os version (iODBC)?

Thank you
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: how to connect to MsSQL server database

Post by FourthWorld »

Unless this is strictly for LAN use, you'll want to use something like PHP, Python, or LiveCode on the server to create an HTTPS API, rather than expose the DB directly to the open Internet.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
mrcoollion
Posts: 744
Joined: Thu Sep 11, 2014 1:49 pm

Re: how to connect to MsSQL server database

Post by mrcoollion »

Within the Local Area Network (LAN) the ODBC driver is installed on the user's PC.
Post Reply