On Jul 2, 2004, at 9:13 AM, Dave Watts wrote:
> There's no built-in function that does exactly what you want, but I'm
> pretty
> sure you can use the SUBSTRING function to get where you want to go.
> You
> might even write your own SQL Server user-defined function that uses
> it.
>
Yes!
Haven't done it in a while & don't have my SQL book handy, but you have
enough scalar functions in SQL that you can do it in your select
statement.
maybe substring and concat
SELECT
substring(Article.Title, 1, 1) AS FirstLetter .....
HTH
Dick
"Eagles may soar, but weasels don't get sucked into jet engines."
- John Benfield -
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
- Re: sql question Adrocknaphobia
- Re: sql question John mccosker
- RE: SQL QUESTION Bruce, Rodney S HQISEC/Veridian IT Services
- SQL Question Kelly Keith
- RE: SQL Question Burns, John D
- RE: SQL Question Kelly Keith
- Re: SQL Question Carolyn Foster
- sql question Tony Weeg
- Re: sql question Ian Potts
- RE: sql question Dave Watts
- RE: sql question Dick Applebaum
- RE: sql question Ryan Duckworth
- RE: sql question Tony Weeg
- Re: sql question Joe Rinehart
- sql question Tony Weeg
- Re: sql question Thomas Chiverton
- Re: sql question Stephen Moretti (cfmaster)
- Re: sql question Tony Weeg
- Re: sql question Tony Weeg
- Re: sql quest... Tony Weeg
- Re: sql question Tony Weeg