-
Case statement in a multi-statement table-valued function
Is there any way that I can use a Case statement in a multi-statement table-valued function? I have a function that I am creating that will return a table with values that are calculated differently based on certain conditions. I would rather not write a different function for every possibility. I keep getting syntax errors with everything I try to do. Any ideas?
-
Can you post what you have so far.
-
I got it working, it was a simple thing that I missed. But thanks anyway.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|