Click here to Skip to main content
15,890,123 members
Home / Discussions / Database
   

Database

 
AnswerRe: Numeric Column Pin
Krish - KP31-Oct-07 0:35
Krish - KP31-Oct-07 0:35 
check is this what you are looking for

<br />
SELECT <br />
CASE WHEN Len('00000000' + LTrim(str(myid))) > 9 THEN <br />
	SubString(<br />
		'00000000' + LTrim(Str(myid)), <br />
		Len('00000000' + LTrim(Str(myid))) - 9, <br />
		Len('00000000' + LTrim(Str(myid)))<br />
	) END<br />
FROM tableA<br />


Regards
KP

AnswerRe: Numeric Column [modified] Pin
GuyThiebaut31-Oct-07 3:23
professionalGuyThiebaut31-Oct-07 3:23 
AnswerRe: Numeric Column Pin
ianhoc31-Oct-07 7:04
ianhoc31-Oct-07 7:04 
QuestionNeed an Article about Replication. Pin
hdv21230-Oct-07 23:22
hdv21230-Oct-07 23:22 
Question.Net Pin
amsathu30-Oct-07 23:20
amsathu30-Oct-07 23:20 
AnswerRe: .Net Pin
il_masacratore30-Oct-07 23:36
il_masacratore30-Oct-07 23:36 
GeneralRe: .Net Pin
Giorgi Dalakishvili30-Oct-07 23:40
mentorGiorgi Dalakishvili30-Oct-07 23:40 
AnswerRe: .Net Pin
Paul Conrad31-Oct-07 14:12
professionalPaul Conrad31-Oct-07 14:12 
QuestionGetting the columns Pin
M. J. Jaya Chitra30-Oct-07 22:31
M. J. Jaya Chitra30-Oct-07 22:31 
AnswerRe: Getting the columns Pin
Giorgi Dalakishvili30-Oct-07 22:47
mentorGiorgi Dalakishvili30-Oct-07 22:47 
GeneralRe: Getting the columns Pin
r a j u u30-Oct-07 23:04
r a j u u30-Oct-07 23:04 
GeneralRe: Getting the columns Pin
Giorgi Dalakishvili30-Oct-07 23:09
mentorGiorgi Dalakishvili30-Oct-07 23:09 
GeneralRe: Getting the columns Pin
M. J. Jaya Chitra31-Oct-07 0:06
M. J. Jaya Chitra31-Oct-07 0:06 
GeneralRe: Getting the columns Pin
Giorgi Dalakishvili31-Oct-07 0:30
mentorGiorgi Dalakishvili31-Oct-07 0:30 
GeneralRe: Getting the columns Pin
joemonvarghese1-Nov-07 23:32
joemonvarghese1-Nov-07 23:32 
AnswerRe: Getting the columns Pin
r a j u u30-Oct-07 23:12
r a j u u30-Oct-07 23:12 
AnswerRe: Getting the columns Pin
Krish - KP30-Oct-07 23:25
Krish - KP30-Oct-07 23:25 
AnswerRe: Getting the columns Pin
Senu Gandhi31-Oct-07 1:56
Senu Gandhi31-Oct-07 1:56 
Questioncan MySQL Server 5.0 support command " sp_who" and "sp_who2"? Pin
skyleo_200830-Oct-07 21:09
skyleo_200830-Oct-07 21:09 
AnswerRe: can MySQL Server 5.0 support command " sp_who" and "sp_who2"? Pin
N a v a n e e t h30-Oct-07 21:20
N a v a n e e t h30-Oct-07 21:20 
GeneralRe: can MySQL Server 5.0 support command " sp_who" and "sp_who2"? Pin
skyleo_200830-Oct-07 22:20
skyleo_200830-Oct-07 22:20 
QuestionQuery Pin
Giri K30-Oct-07 14:03
Giri K30-Oct-07 14:03 
AnswerRe: Query Pin
Marek Grzenkowicz30-Oct-07 23:40
Marek Grzenkowicz30-Oct-07 23:40 
GeneralRe: Query Pin
Giri K31-Oct-07 14:41
Giri K31-Oct-07 14:41 
GeneralRe: Query Pin
Marek Grzenkowicz4-Nov-07 22:25
Marek Grzenkowicz4-Nov-07 22:25 

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.