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 » Mon Jun 25, 2018 12:20 pm

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: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: how to connect to MsSQL server database

Post by bogs » Mon Jun 25, 2018 1:04 pm

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).
Selection_003.png
Databases
Selection_003.png (10.59 KiB) Viewed 3511 times
Image

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

Re: how to connect to MsSQL server database

Post by studentmy » Mon Jul 02, 2018 9:58 am

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: 9823
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: how to connect to MsSQL server database

Post by FourthWorld » Mon Jul 02, 2018 4:36 pm

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: 720
Joined: Thu Sep 11, 2014 1:49 pm
Location: The Netherlands

Re: how to connect to MsSQL server database

Post by mrcoollion » Mon Jul 02, 2018 9:18 pm

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

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”