473,225 Members | 1,419 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,225 software developers and data experts.

how to conver number to string

how to convert number to string in sqlserver
eg:- 10 -> ten display

*** Sent via Developersdex http://www.developersdex.com ***
Jun 15 '06 #1
1 1842
oviam packirisamy (ov***@sify.com) writes:
how to convert number to string in sqlserver
eg:- 10 -> ten display

WHEN 1 THEN 'one'
WHEN 2 THEN 'two'
END as display

In short, there is nothing built in.
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server 2005 at
Books Online for SQL Server 2000 at
Jun 15 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Gavin | last post by:
Hi, I'm a newbie to programming of any kind. I have posted this to other groups in a hope to get a response from anyone. Can any one tell me how to make my VB program read the Bios serial number...
by: khipra | last post by:
Hi! I'm try to convert a String to Datetime, but convert only works for some format: my value is: "20040719 16:00" This is the String that I want to convert to Datetime. I testing with some...
by: Boni | last post by:
Dear all, is it possible to convert string "Blue" into system.drawing.color.blue. Thanks a lot, Boni
by: Franky | last post by:
This should be easy to find but I've been looking and looking at the doc and can't find it. Maybe it can't be done. In the IDE editors find/replace I want to use regular expression to change the...
by: vunet.us | last post by:
How can I convert today's time (9:30:00) to seconds (34200) without using calculations like (9*3600)+(30*60)+0? Is there an easy function? Thank you
by: Discover | last post by:
Hi there i'm a new developer (student) and i have algorithim coded by java and i want any help for converting to c# .....please public class AssignmentProblem { double cost; //COST...
by: palang | last post by:
how to conver centimeter to pixel in c#.net
by: phanimadhav | last post by:
please help me.Actually i am new one of this ASP.NET.i don't know how to conver the file .XML to .CSV format.please help me it's urgent.Actually i can transform the sqlserver database values to...
by: intimate2ramya | last post by:
hi i have a string like dd.MM.yyy. i want to convert to date like dd-MM-yyyy. if u have any suggestion pls reply me
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.