Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hey,
I'm running into trouble. I currently have this action in my package:
<Action runat="install" undo="true" alias="ExecuteSql"><![CDATA[
CREATE TABLE [testTable]([ID] [int] IDENTITY(1,1) NOT NULL)]]>
</Action>
However when my package is installed it doesn't seem to execute this sql statement.
Any ideas what I could be doing wrong?
I also opened package.xml and verified that the action is in there.
I'm going to attempt to do this differently, by specifying script file.
Didn't seem to work either.. I guess this could be some db access issue? Though I can't find anything bad in the logs.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Package actions - creating table
Hey,
I'm running into trouble. I currently have this action in my package:
<Action runat="install" undo="true" alias="ExecuteSql"><![CDATA[
CREATE TABLE [testTable]([ID] [int] IDENTITY(1,1) NOT NULL)]]>
</Action>
However when my package is installed it doesn't seem to execute this sql statement.
Any ideas what I could be doing wrong?
I also opened package.xml and verified that the action is in there.
I'm going to attempt to do this differently, by specifying script file.
Didn't seem to work either.. I guess this could be some db access issue? Though I can't find anything bad in the logs.
is working on a reply...