|
Posted by imani_technology_spam@yahoo.com on 09/21/06 23:49
Speaking of testing, what would happen if I inserted a bunch of rows
into the table that already have LabID's? Would that cause a problem
with the trigger? I'm thinking about future data migration.
Erland Sommarskog wrote:
> imani_technology_spam@yahoo.com (imani_technology_spam@yahoo.com) writes:
> > Again, thank you very much. Am I right to assume that the following
> > section is unnecessary, just for testing?
> >
> >> INSERT nisse (somemoredata)
> >> SELECT 8
> >> UNION ALL SELECT 188
> >> UNION ALL SELECT 234
> >> go
> >> select * from nisse
> >> INSERT nisse (somemoredata)
> >> SELECT 18
> >> UNION ALL SELECT 5188
> >> UNION ALL SELECT 9234
> >> go
> >> select * from nisse
> >> drop table nisse
>
> Well, testing is never unnecessary. :-)
>
> But you are right that this is not part of the solution.
>
>
> --
> Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
>
> Books Online for SQL Server 2005 at
> http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
> Books Online for SQL Server 2000 at
> http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
Navigation:
[Reply to this message]
|