General information
Forum:
Microsoft SQL Server
Environment versions
SQL Server:
SQL Server 2012
>I am doing an INSERT INTO from a SELECT. In the SELECT list of fields, I need to apply a condition to either use one field or another. What would be the syntax to support that?
Maybe CASE in the select?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only