<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: SQL Error Upon Plugin Activation</title>
		<link>https://legacy.forums.gravityhelp.com/topic/sql-error-upon-plugin-activation</link>
		<description>Gravity Support Forums Topic: SQL Error Upon Plugin Activation</description>
		<language>en-US</language>
		<pubDate>Mon, 06 Apr 2026 14:50:14 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/sql-error-upon-plugin-activation" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "SQL Error Upon Plugin Activation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/sql-error-upon-plugin-activation#post-102315</link>
			<pubDate>Thu, 13 Dec 2012 15:24:53 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">102315@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You're welcome.  Are you running WordPress on SQL Server now?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tts on "SQL Error Upon Plugin Activation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/sql-error-upon-plugin-activation#post-102311</link>
			<pubDate>Thu, 13 Dec 2012 15:21:46 +0000</pubDate>
			<dc:creator>tts</dc:creator>
			<guid isPermaLink="false">102311@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Gotcha, makes sense. Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "SQL Error Upon Plugin Activation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/sql-error-upon-plugin-activation#post-102304</link>
			<pubDate>Thu, 13 Dec 2012 15:06:05 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">102304@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Gravity Forms requires MySQL 5+.  It appears that this is a Microsoft SQL Server?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tts on "SQL Error Upon Plugin Activation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/sql-error-upon-plugin-activation#post-102299</link>
			<pubDate>Thu, 13 Dec 2012 14:53:34 +0000</pubDate>
			<dc:creator>tts</dc:creator>
			<guid isPermaLink="false">102299@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I tried to install and activate the latest version of Gravity Forms on my WP site. Here is the error that I receive (upon clicking Activate) in my WP-Admin Dashboard:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;CREATE TABLE wp_rg_form ( id mediumint not null IDENTITY(1,1), title NVARCHAR(150) COLLATE database_default not null, date_created datetime not null, is_active tinyint not null default 1, CONSTRAINT [wp_rg_form_id] PRIMARY KEY CLUSTERED (id) WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY] ) ON [PRIMARY];

WordPress database error: [[Microsoft][SQL Server Native Client 10.0][SQL Server]Cannot drop the table &#38;#39;Awp_rg_form&#38;#39;, because it does not exist or you do not have permission.]
DROP TABLE Awp_rg_form

WordPress database error: [[Microsoft][SQL Server Native Client 10.0][SQL Server]Column, parameter, or variable #1: Cannot find data type mediumint.]
CREATE TABLE wp_rg_form_meta ( form_id mediumint not null, display_meta NVARCHAR(MAX) COLLATE database_default, entries_grid_meta NVARCHAR(MAX) COLLATE database_default, CONSTRAINT [wp_rg_form_meta_form_id] PRIMARY KEY CLUSTERED (form_id) WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY] ) ON [PRIMARY];

WordPress database error: [[Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near &#38;#39;form_id&#38;#39;.]
select t.name AS [Table], CASE WHEN ind.is_unique = 1 THEN 0 ELSE 1 END AS Non_unique, CASE WHEN ind.is_primary_key = 1 THEN &#38;#39;PRIMARY&#38;#39; ELSE ind.name END AS Key_name, col.name AS Column_name, NULL as Sub_part from sys.indexes ind inner join sys.index_columns ic on ind.object_id = ic.object_id and ind.index_id = ic.index_id inner join sys.columns col on ic.object_id = col.object_id and ic.column_id = col.column_id inner join sys.tables t on ind.object_id = t.object_id where t.name = &#38;#39;wp_rg_form_meta WHERE Key_name=&#38;#39;form_id&#38;#39;&#38;#39; order by t.name, ind.name, ind.index_id, ic.index_column_id

WordPress database error: [[Microsoft][SQL Server Native Client 10.0][SQL Server]Column, parameter, or variable #2: Cannot find data type mediumint.]
CREATE TABLE wp_rg_form_view ( id bigint not null IDENTITY(1,1), form_id mediumint not null, date_created datetime not null, ip char(15), count mediumint not null default 1, CONSTRAINT [wp_rg_form_view_id] PRIMARY KEY CLUSTERED (id) WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY], ) ON [PRIMARY];

WordPress database error: [[Microsoft][SQL Server Native Client 10.0][SQL Server]Column, parameter, or variable #2: Cannot find data type mediumint.]
CREATE TABLE wp_rg_lead ( id int not null IDENTITY(1,1), form_id mediumint not null, post_id bigint , date_created datetime not null, is_starred tinyint not null default 0, is_read tinyint not null default 0, ip NVARCHAR(39) COLLATE database_default not null, source_url NVARCHAR(200) COLLATE database_default not null default &#38;#39;&#38;#39;, user_agent NVARCHAR(250) COLLATE database_default not null default &#38;#39;&#38;#39;, currency NVARCHAR(5) COLLATE database_default, payment_status NVARCHAR(15) COLLATE database_default, payment_date datetime, payment_amount decimal(19,2), transaction_id NVARCHAR(50) COLLATE database_default, is_fulfilled tinyint, created_by bigint , transaction_type tinyint, status NVARCHAR(20) COLLATE database_default not null default &#38;#39;active&#38;#39;, CONSTRAINT [wp_rg_lead_id] PRIMARY KEY CLUSTERED (id) WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY], ) ON [PRIMARY];

WordPress database error: [[Microsoft][SQL Server Native Client 10.0][SQL Server]Column, parameter, or variable #3: Cannot find data type mediumint.]
CREATE TABLE wp_rg_lead_detail ( id bigint not null IDENTITY(1,1), lead_id int not null, form_id mediumint not null, field_number float not null, value NVARCHAR(200) COLLATE database_default, CONSTRAINT [wp_rg_lead_detail_id] PRIMARY KEY CLUSTERED (id) WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY], ) ON [PRIMARY];

WordPress database error: [[Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near &#38;#39;lead_detail_key&#38;#39;.]
select t.name AS [Table], CASE WHEN ind.is_unique = 1 THEN 0 ELSE 1 END AS Non_unique, CASE WHEN ind.is_primary_key = 1 THEN &#38;#39;PRIMARY&#38;#39; ELSE ind.name END AS Key_name, col.name AS Column_name, NULL as Sub_part from sys.indexes ind inner join sys.index_columns ic on ind.object_id = ic.object_id and ind.index_id = ic.index_id inner join sys.columns col on ic.object_id = col.object_id and ic.column_id = col.column_id inner join sys.tables t on ind.object_id = t.object_id where t.name = &#38;#39;wp_rg_lead_detail_long WHERE Key_name=&#38;#39;lead_detail_key&#38;#39;&#38;#39; order by t.name, ind.name, ind.index_id, ic.index_column_id

WordPress database error: [[Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object name &#38;#39;wp_rg_lead_detail&#38;#39;.]
select * from wp_rg_lead_detail where value LIKE &#38;#39;!&#38;#39;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Thoughts?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
