🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Home Add-ons MSSQL DB Integration Premium
Premium Integration

Gravity Forms
+ MSSQL DB Integration Premium

Write every Gravity Forms entry as a row into your own Microsoft SQL Server or Azure SQL table. Map fields to columns, insert or update on a key, with retries. Needs the pdo_sqlsrv or sqlsrv PHP extension.

User User User User
+2k
4.9/5
Trusted by 2,000+ Agencies
MSSQL DB Integration Premium

Core Features

Writes every Gravity Forms entry as a row into your own SQL Server or Azure SQL table, through the Microsoft PHP driver (pdo_sqlsrv or sqlsrv).
Map any form field, entry detail or custom value to a column, or build the table columns from the form; optionally create the table and add columns.
Insert, or update on a key column with MERGE; an entry reference column stops double inserts.
Test connection button, encrypted connection (Encrypt and TrustServerCertificate) and a password stored encrypted.
Retries when the server is down, bulk send for past entries, conditional logic, and the form is never blocked.
Needs the pdo_sqlsrv or sqlsrv PHP extension on your server: most shared hosting does not have it.

What does it do?

Send Gravity Forms Entries to Microsoft SQL Server

Registrations, orders and leads often have to land in a SQL Server table that your ERP, reports or internal tools read. The Gravity Forms MSSQL DB Integration Premium Add-on writes every entry you choose as a row into a table of your own SQL Server or Azure SQL database, with no middleware between your site and your database.

A Real Database Connection

The add-on connects from your web server with the Microsoft PHP driver (pdo_sqlsrv, or sqlsrv). You enter host, port, database, schema, user and password; the password is stored encrypted. Choose an encrypted connection with or without certificate checking, and click Test connection to see the server version before you save a feed. Values are sent as bound parameters and names are bracket-quoted.

Mapping, Tables, Insert and Update

Map form fields, entry details and custom values to columns, or let the add-on build the columns from the form. It can create the table and add new columns. Insert a row for every entry, or update on a key column with MERGE. An entry reference column with a unique index makes sure the same entry is never inserted twice.

Reliable, and Never in the Way of the Form

Writes happen in the background. When the database is down the add-on tries again later, and every entry gets a note with the result or the exact SQL Server error. Send old entries with a bulk action, and use conditional logic and several feeds per form.

Requirement: the SQL Server PHP driver

Your server needs the pdo_sqlsrv or sqlsrv PHP extension with the Microsoft ODBC Driver. Most shared hosting does not offer it; a VPS, a dedicated server or a managed host that allows PHP extensions does. Without it the add-on shows a notice and writes nothing. SQL Server logins only (no Windows or Entra sign-in), and no stored procedures.

How does it work?

The add-on processes each entry in five steps:

  1. Form Submission: the entry is saved by Gravity Forms and the add-on queues a background write; the visitor never waits for your database.
  2. Conditions: the feed condition decides whether the entry is written.
  3. Table check: the add-on reads the columns of your table, creates the table or adds columns if you allowed it, and checks the unique index of the key or reference column.
  4. Write: one INSERT, or one MERGE on the key, with every value as a bound parameter converted for the real column type.
  5. Result: a note on the entry says what happened; a temporary fault is tried again after 1 minute, 5 minutes, 30 minutes, 2 hours and 12 hours.

Interface Previews

Screenshot
Screenshot
Screenshot

How do I enable this?

1
Make sure your server has the pdo_sqlsrv or sqlsrv PHP extension and the Microsoft ODBC Driver (a VPS or your own server; most shared hosting does not).
2
Install and activate the add-on, then enter your Gravity Extra licence key under Forms, Settings, MSSQL DB.
3
Enter host, port, database, schema, user and password, choose the TLS option and click Test connection.
4
Open a form, add a feed (Settings, MSSQL DB), choose the table, map the fields or build the columns, and save.

Customer Reviews

Submit your review
1
2
3
4
5
Submit
     
Cancel

Create your own review

Have a new Feature idea?

Didn't see a feature in our plugin that you think would be useful? Share with us and let the team be a part of it.

Submit a Feature Request
$59
$39/year
You Save $20
Add any 2nd item, get 30% OFF both!
Use code GFEX30 at checkout
Secure checkout via Stripe
Get it in the Workflow & Data Suite — from $49/year98 add-ons, one key. See what is included →
What's Included
  • Automatic Yearly Renewal
  • 1 Year Free Support & Updates (Renewable)
  • 24x7 Dedicated Customer Care
24/7 Support
For any query, connect with us on our support portal.
Submit a Query →
Quick Info
Version 2.0.2
Changelog
Icon
Gravity Forms MSSQL DB Integration Premium
11 people are viewing this

Wait! Don't leave
empty-handed 🎁

Grab these exclusive codes to use at checkout!

10% OFF On all products
GFEX10
30% OFF Best Value
On any 2+ items
GFEX30

No thanks, I'll pay full price

Someone just bought this A few seconds ago
0
0
Your Cart
Your cart is emptyReturn to Shop