目录一、if函数二、case语句1、情景一(case函数)2、情景二(case搜索函数)三、if elseif语句四、循环总结一、if函数
What is the easiest way to automatically fill a datetime column in an SQL data table with the date the row was created? Using SQL Server 2005 if that matters.