I'm working on a go-live script for an application that we're migrating from MSAccess to a MSAccess front-end and SQL7 backend. The script is set up to create all the tables, sprocs, permissions, defaults, etc. in a clean database then copy over the data.Many of the tables have an identity field. Using the code: SET IDENTITY_INSERT pharmdata.dbo.tbl_tbldisp_units ONInsert into tbldisp_units (disp_units_code, disp_units) Select disp_units_code, disp_units from pharmdata.pharmdat_temp.dbo.tbldisp_unitsgo
, I get the following error:Table 'pharmdata.dbo.tbl_tbldisp_units' does not exist or cannot be opened for SET operation.The table does exist because it was created in the script earlier.Any ideas how to get around this?