Many times we are required to write lenghty insert statements for tables with many columns. This script will create an insert statement for u.
It takes 2 parameters first tbale name and second the ordinal positions of the columns seperated by ','
for example
USP_GenerateInsert 'TabName' ,'1,2,3,4,5'
Hope this is Helpful
A Normalization Primer
For most DBAs, normalization is an understood concept, a bread and butter bit of knowledge. However, it is not at all unusual to review a database design by a development group for an OLTP (OnLine Transaction Processing) environment and find that the schema chosen is anything but properly normalized. This article by Brian Kelley will give you the core knowledge to data model.
2003-01-13
18,614 reads