Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Troska 21 posts 41 karma points
    Dec 20, 2012 @ 15:18
    Troska
    0

    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?

  • Troska 21 posts 41 karma points
    Dec 20, 2012 @ 15:50
    Troska
    0

    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.

  • Troska 21 posts 41 karma points
    Dec 21, 2012 @ 17:29
    Troska
    0

    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.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies