Posted by Erland Sommarskog on 08/07/06 22:08
Nacho (nacho.jorge@gmail.com) writes:
> Thanks to both of you!!!
> It's good point to handle it in the query (I suposse when you read
> values after) but then, how it would be? How can I clip values in the
> select statement ?
With a CASE expression very similar to the one I had in my
UPDATE statement in my sample trigger.
--
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]
|