I have a problem where I am in the process of creating a database of teachers for my project. As a part of this process, I might have to use multiple "Insert"
statements to enter all the various details about each teacher to create rows of data about them. So, if I have say a 1000 teachers, then I have to manually write a 1000 insert statements to create individual records for each of them. This is definitely a tedious exercise.
I was wondering if there might be a way or method by which I could minimize the time taken for this process!! Is there a stored procedure or something else which could possibly automate this task? Can I create and use something like Macros to the needful?
For example, a piece of MySQL code (individual statement) could be:
insert into <tablename> (attribute1, attribute 2, attribute 3, ....., attribute n) values (value1, value2, value3, ......., value n)
Any suggestions on this would be greatly appreciated. I would have to know the code in T-SQL (for MS SQL Server)
Thank you, Seth