How to populate database with generated data in visual studio 2010 / SSMS 2008?
-
14-07-2021 - |
Question
In my (c#) Visual Studio 2010 project i have a reference to a database.
However, the database is empty. I would like to insert some bogus data in this database so that i can test my app.
Are there any tools / methods for doing so?
Thanks!
La solution
If you're using sql I would recommend redgate's sql data generator it isn't free but does a very good job of creating useful test data
Autres conseils
If you have created or create a database project in VS2010 there are tools built in to generate data:
http://msdn.microsoft.com/en-us/library/aa833267(v=vs.100).aspx
It says you need Visual Studio Premium but I am using VS2010 Profesional and I can do it.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow