Hey guys...
I'm looking for a little guidance here (i.e. a work-around). I am aliased as dbo on both databases at hand here but I am not the actual administrator to where I can just do this myself -- cause it would certainly be faster than my admin getting back to me.
I'm trying to copy our production database to another database to be used as a test environment. I have tried relentlessly to use DTS, Import/Export, Copy Objects, etc. to no avail. The typical error I get is "Access is Denied. [SQL-DMO]CreateFile error on 'Server.DB.LOG.' Access is Denied.' And of course, very limited documentation to be found regarding this. I can simply script out the database tables and create them this way but I have several IDENTITY columns and when I try to do an insert (insert into @name select * from production..' + @name + ' <with correct syntax obviously>) I get errors due to the IDENTITY columns. Basically, to make a long story short what I am looking for is a solution to get around this problem (turn off IDENTITY, turn it back on, anything...really). My hands are tied unless my admin decides to get back to me sometime this month...
Thanks guys.
I'm looking for a little guidance here (i.e. a work-around). I am aliased as dbo on both databases at hand here but I am not the actual administrator to where I can just do this myself -- cause it would certainly be faster than my admin getting back to me.
I'm trying to copy our production database to another database to be used as a test environment. I have tried relentlessly to use DTS, Import/Export, Copy Objects, etc. to no avail. The typical error I get is "Access is Denied. [SQL-DMO]CreateFile error on 'Server.DB.LOG.' Access is Denied.' And of course, very limited documentation to be found regarding this. I can simply script out the database tables and create them this way but I have several IDENTITY columns and when I try to do an insert (insert into @name select * from production..' + @name + ' <with correct syntax obviously>) I get errors due to the IDENTITY columns. Basically, to make a long story short what I am looking for is a solution to get around this problem (turn off IDENTITY, turn it back on, anything...really). My hands are tied unless my admin decides to get back to me sometime this month...
Thanks guys.