Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Functions
Message
 
 
To
11/01/2011 18:50:57
General information
Forum:
Microsoft SQL Server
Category:
Scripting
Title:
Miscellaneous
Thread ID:
01495796
Message ID:
01495816
Views:
57
>>>I once saw a download of VFP style functions for SQL Server. Can someone point to where I can find it again?
>>>
>>>thanks
>>
>>Brad Schulz has a blog post
>>
>>Handy String Functions
>>
>>You can also find a good Proper function here
>>
>>Proper Function
>
>Thanks.
>
>I may be in need these sometime in the future (hope not)
>
>But...
>
>First, The LessThenDot URL resulted in a 404 Not Found error -- Please resend
>
>Second, one function I could use is a IIF() function that accepts a varient arguments and returns a varient.

There is no IIF, you need to use
CASE WHEN SomeLogicalExpression THEN SomeValue WHEN AnotherLogicalExpression THEN AnotherValue ELSE ElseValue END

For the Proper function the link is

http://blogs.lessthandot.com/index.php/DataMgmt/DBProgramming/sql-server-proper-case-function
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform