Menu

cannot create tables with _mssql and pymssql

2009-09-30
2013-04-29
  • marcello aloe

    marcello aloe - 2009-09-30

    Hi everyone,
    i am trying to create a table with a query, but, after it ran, nothing happens: the table is not created and no error message is thrown.
    The same query done with SQL Server Management Studio instead have successful ending (ie the table is created)
    The problem occours with both pymssql and _mssql.

    What could be the problem?

    I'm running Python 2.5 under Windows Vista Business with SQL Server Express 2008.

    Thanks in advance to everyone who will help

    Marcello

     
  • Kirk Martinez

    Kirk Martinez - 2009-10-05

    It worked for me.  Had to ensure create table permissions were granted for the user in the database.  Try running your SQL from Query Analyzer or sqlcmd to verify it is correct.  Also, use semicolons, not "go" as command delimiters.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.