Improvement for INSERT command
EsioN
Posts: 103
Hello.
It will be great if:
When typing INSERT command, SP could mount the column list (as we get when typing * tab in select from), and may a template with the datatype (as we get when typing exec procedures).
ex. insert table_a (colum1, column2) values (@column1 = ?, -- int, @column2= ? -- int)
Thanks
Ésio
It will be great if:
When typing INSERT command, SP could mount the column list (as we get when typing * tab in select from), and may a template with the datatype (as we get when typing exec procedures).
ex. insert table_a (colum1, column2) values (@column1 = ?, -- int, @column2= ? -- int)
Thanks
Ésio
Comments
Thanks,
Bart
Principal Consultant
bartread.com Ltd
Thanks,
Bart
Principal Consultant
bartread.com Ltd
/* CreatedTimestamp - datetime NOT NULL */ '2007-12-5 12:24:6.634',
/* SentTimestamp - datetime NULL*/ '2007-12-5 12:24:6.634',
/* AppliedTimestamp - datetime NULL*/ '2007-12-5 12:24:6.634'
We can then easily trim the column list and VALUES/SELECT to mandatory columns and those we need to populate that are NULL.
Could you add this to the enhancement list if it's not already there (a Search of the Forum evidenced no combination of INSERT and NULL that appeared to be in this context... If I missed it, count this as a vote for the enhancement )
Decide wisely...