Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
Leonzc
Starting Member
5 Posts |
Posted - 2008-11-17 : 08:31:20
|
| Hi, could any one teach me how to add units to the back of the result?Example: FromInterval112030 To Interval11 min20 min30 minand also how to add location to the query result so as to display an imageExample :instead of just words i would like to display the image itself.image is stored in C:/document/imagefolderImagePhoto1.ImgPhoto2.ImgPhoto3.Imgi would like the image to be shown out. any idea guys? |
|
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2008-11-17 : 09:09:38
|
Assume Interval is a numeric type in a table:select convert(varchar(10),Interval)+' min' as Interval from yourTable But:to display images is not the job of sql - do it in your front end application.Webfred No, you're never too old to Yak'n'Roll if you're too young to die. |
 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-11-17 : 09:44:49
|
| whats the datatype of actual field? |
 |
|
|
Leonzc
Starting Member
5 Posts |
Posted - 2008-11-17 : 19:46:33
|
| my picture is saved under "text" type, as webfred had said, it should be under visual studio C# coding, i will try working on it before approaching you guys again. Thx alot ya =) |
 |
|
|
|
|
|