I have been doing some research on the matter and I think it is safe to say that no matter what source code control system you may be using, the one thing that doesnt fit in it directly is the actual database.
I have read some suggestions that you put the scripts that it takes to create the database, tables, view, stored procedures, etc. under source control instead. This does make sense to me and it is something that I am very willing to do.
My question on the matter is one of seeking the best approach to do it. By that I mean, would I have one large document file with all the t-sql commands for creating tables, a second document for stored procedures, etc. or would it be better to have a separate document for each table, stored prcedure, etc. treating them more like independent source files?
I have read some suggestions that you put the scripts that it takes to create the database, tables, view, stored procedures, etc. under source control instead. This does make sense to me and it is something that I am very willing to do.
My question on the matter is one of seeking the best approach to do it. By that I mean, would I have one large document file with all the t-sql commands for creating tables, a second document for stored procedures, etc. or would it be better to have a separate document for each table, stored prcedure, etc. treating them more like independent source files?