Data Generator Holds Connection to Database

The simplest way to populate your database with test data.

Data Generator Holds Connection to Database

Postby rodney » Thu Apr 04, 2013 6:21 am

I used data generator to generate some data, then wanted to restore my database to its original state. This requires exclusive access to the database, but it appears that the SQL Generator app holds its database connection, even if you close the project it still seems live until you close the whole application.

Closing and reopening the app is a work around, but is there something more obvious?

Posts: 1
Joined: Thu Apr 04, 2013 6:11 am

Postby Chris Auckland » Fri Apr 05, 2013 10:57 am

Thanks for your post.

Which version of SQL Server are you using? This doesn't appear to happen when I tested it with SQL 2008 and SQL 2012.

Are you restoring using native SQL or something else?

What does sp_who2 show you for the connection to the database you're trying to restore?
Chris Auckland
Posts: 760
Joined: Tue Oct 24, 2006 1:12 pm
Location: Red Gate Software Ltd.

Return to SQL Data Generator Previous Versions

Who is online

Users browsing this forum: No registered users and 1 guest