In VB.net code, I create requests with SQL parameters. It I set a DateTime parameter to the value DateTime.Now, what will my request look like ?
UPDATE table SET date = "2010/12/20 10:25:00";
or
UPDATE table SET date = GETDATE();
In the first case I'm sure that every record will be set to the exact same time. In the second case it depends on how the DBMS processes the request. Which leads me to the second question : does SQL Server set the same date and time when updating a large table with NOW() ?
EDIT : replaced NOW() (which doesn't exist in SQL Server) by GETDATE().