Insert not working into SQL 2005 database with SQL Native Client

  • My first thought is:  are you sure the app is connected to the SQL 2005 machine? Perhaps it is using the old connection info or cached connection info and is inserting to the old SQL 2000 server.

    What is the insert command?

    Can you execute an ad hoc query from the app? If so, have it execute:  Select @@ServerName

    Are there insert triggers or replication on the table that might be rolling back the transaction after the data is inserted.


    My blog: SQL Soldier[/url]
    SQL Server Best Practices:
    SQL Server Best Practices
    Twitter: @SQLSoldier
    My book: Pro SQL Server 2008 Mirroring[/url]
    Microsoft Certified Master: SQL Server, Data Platform MVP
    Database Engineer at BlueMountain Capital Management[/url]

Viewing post 1 (of 2 total)

You must be logged in to reply to this topic. Login to reply