Friday, October 4, 2013

Case Statement in IF-Statement

Hi Tom,


The basic idea is,


1. Create a table variable


2. Update all the information/column data required based on logic


3. Select from that table


Can you pls share table structure and sample data with DML.


So that, it is possible to give the working query.


Pls mark as answer/vote, if this post is helpful.


- Sugumar Pannerselvam


No comments:

Post a Comment