Options

Current Date in auto-generated insert statement

bevprobevpro Posts: 2
edited January 7, 2015 10:13AM in SQL Prompt
Where is the date coming from for an auto-generated insert statement for datetime columns? The time is off by 5 hours. I did a SELECT getdate() and the result is the correct time. But the VALUES portion of the generated insert statement for a datetime column has the incorrect time. Thanks!

Comments

Sign In or Register to comment.