Click here to Skip to main content
15,911,030 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL SCRIPT Pin
Hesham Amin23-Nov-07 5:21
Hesham Amin23-Nov-07 5:21 
GeneralRe: SQL SCRIPT Pin
kibromg23-Nov-07 5:33
kibromg23-Nov-07 5:33 
QuestionDatabase Design issues Pin
soniasan23-Nov-07 0:04
soniasan23-Nov-07 0:04 
AnswerSmells like homework... Pin
pmarfleet23-Nov-07 0:06
pmarfleet23-Nov-07 0:06 
GeneralRe: Smells like homework... Pin
soniasan23-Nov-07 0:36
soniasan23-Nov-07 0:36 
Questionoracle table Pin
mahenputta22-Nov-07 22:45
mahenputta22-Nov-07 22:45 
GeneralRe: oracle table Pin
Paul Conrad3-Feb-08 7:44
professionalPaul Conrad3-Feb-08 7:44 
QuestionSelect spaces and then the value??? Pin
Support12322-Nov-07 22:12
Support12322-Nov-07 22:12 
Hi,

how (if at all) is it possible to do something like this...

I want to select a column value from the database but i want to make sure that what i select, has a fixed length with spaces in the front of it if it is to short... example.

....Test1<br />
.....Test<br />
.LongTest


Each "." represents a space.

(so the select statement should be something like: SELECT (BlankSpace for x amount... where x amount would be (in my example: 9) - Len(TestColumnValue) + TestColumnValue) ) This will ensure that the selected values are right aligned and all the same length... D'Oh! | :doh:

Is this possible and how if it is? I hope i explained what i need clearly... please let me know if you need more info.

Thank you in advance.

"Many of life's failures are people who did not realize how close they were to success when they gave up." Thomas A. Edison

AnswerRe: Select spaces and then the value??? Pin
joemonvarghese22-Nov-07 22:30
joemonvarghese22-Nov-07 22:30 
GeneralRe: Select spaces and then the value??? Pin
Support12322-Nov-07 22:51
Support12322-Nov-07 22:51 
AnswerRe: Select spaces and then the value??? Pin
Joe22-Nov-07 22:56
Joe22-Nov-07 22:56 
GeneralRe: Select spaces and then the value??? Pin
Support12322-Nov-07 23:22
Support12322-Nov-07 23:22 
QuestionRe: Select spaces and then the value??? Pin
Support12322-Nov-07 23:53
Support12322-Nov-07 23:53 
AnswerRe: Select spaces and then the value??? Pin
Cristian Amarie26-Nov-07 8:00
Cristian Amarie26-Nov-07 8:00 
QuestionDBGRID Pin
mahenputta22-Nov-07 20:11
mahenputta22-Nov-07 20:11 
AnswerRe: DBGRID Pin
pmarfleet22-Nov-07 20:54
pmarfleet22-Nov-07 20:54 
QuestionHow to Know Db's Column is null or not ? Pin
tr_thorn22-Nov-07 19:40
tr_thorn22-Nov-07 19:40 
AnswerRe: How to Know Db's Column is null or not ? Pin
pmarfleet22-Nov-07 21:17
pmarfleet22-Nov-07 21:17 
Question[Message Deleted] Pin
DotNet22-Nov-07 5:06
DotNet22-Nov-07 5:06 
AnswerRe: Please explain: JOIN ON thinggy? It's confusing. Pin
pmarfleet22-Nov-07 5:16
pmarfleet22-Nov-07 5:16 
GeneralRe: Please explain: JOIN ON thinggy? It's confusing. Pin
DotNet22-Nov-07 5:21
DotNet22-Nov-07 5:21 
GeneralRe: Please explain: JOIN ON thinggy? It's confusing. Pin
pmarfleet22-Nov-07 6:16
pmarfleet22-Nov-07 6:16 
GeneralRe: Please explain: JOIN ON thinggy? It's confusing. Pin
DotNet22-Nov-07 14:01
DotNet22-Nov-07 14:01 
QuestionHow Enable/Disable Remote Connection by Script Pin
DotNetWWW22-Nov-07 1:51
DotNetWWW22-Nov-07 1:51 
AnswerRe: How Enable/Disable Remote Connection by Script Pin
Cristian Amarie26-Nov-07 8:03
Cristian Amarie26-Nov-07 8:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.