Click here to Skip to main content
15,880,651 members
Home / Discussions / Database
   

Database

 
QuestionComplex SQL query... [modified] Pin
ruanr16-Jun-08 22:19
ruanr16-Jun-08 22:19 
AnswerRe: Complex SQL query... Pin
joemonvarghese80@yahoo.co.in16-Jun-08 22:24
joemonvarghese80@yahoo.co.in16-Jun-08 22:24 
GeneralRe: Complex SQL query... Pin
ruanr16-Jun-08 22:29
ruanr16-Jun-08 22:29 
GeneralRe: Complex SQL query... Pin
joemonvarghese80@yahoo.co.in16-Jun-08 22:55
joemonvarghese80@yahoo.co.in16-Jun-08 22:55 
AnswerRe: Complex SQL query... Pin
Ashfield16-Jun-08 23:58
Ashfield16-Jun-08 23:58 
Questionconvert Pin
trilokharry16-Jun-08 21:40
trilokharry16-Jun-08 21:40 
AnswerRe: convert Pin
joemonvarghese80@yahoo.co.in16-Jun-08 22:27
joemonvarghese80@yahoo.co.in16-Jun-08 22:27 
AnswerRe: convert Pin
Krish - KP16-Jun-08 22:32
Krish - KP16-Jun-08 22:32 
Use Convert or Cast functions


SELECT Convert(VarChar(10), IntValue) + VarcharValue .....

SELECT Cast(IntValue, VarChar(10)) + VarcharValue .....


in the example I've used 10 characters i.e. max 10 degit number

Regards
KP

AnswerRe: convert Pin
Ashfield16-Jun-08 22:44
Ashfield16-Jun-08 22:44 
AnswerRe: convert Pin
Mike Dimmick17-Jun-08 6:36
Mike Dimmick17-Jun-08 6:36 
AnswerRe: convert Pin
Niraj_Silver26-Jun-08 0:53
Niraj_Silver26-Jun-08 0:53 
QuestionSQL Injection - String replace best practice Pin
RCoate16-Jun-08 20:51
RCoate16-Jun-08 20:51 
AnswerRe: SQL Injection - String replace best practice Pin
Colin Angus Mackay16-Jun-08 21:43
Colin Angus Mackay16-Jun-08 21:43 
GeneralRe: SQL Injection - String replace best practice Pin
RCoate17-Jun-08 15:59
RCoate17-Jun-08 15:59 
GeneralRe: SQL Injection - String replace best practice Pin
Colin Angus Mackay18-Jun-08 23:13
Colin Angus Mackay18-Jun-08 23:13 
QuestionMonth and Year Pin
trilokharry16-Jun-08 19:07
trilokharry16-Jun-08 19:07 
AnswerRe: Month and Year Pin
Alsvha16-Jun-08 19:54
Alsvha16-Jun-08 19:54 
GeneralRe: Month and Year Pin
trilokharry16-Jun-08 20:41
trilokharry16-Jun-08 20:41 
QuestionHow to search word starting with character 'a' Sql Full Text Indexing Pin
abhinish16-Jun-08 2:12
abhinish16-Jun-08 2:12 
AnswerRe: How to search word starting with character 'a' Sql Full Text Indexing Pin
SomeGuyThatIsMe16-Jun-08 7:44
SomeGuyThatIsMe16-Jun-08 7:44 
Questionsql query help Pin
csp16-Jun-08 0:42
csp16-Jun-08 0:42 
AnswerRe: sql query help Pin
A Wong16-Jun-08 2:46
A Wong16-Jun-08 2:46 
QuestionSP Transaction isolation level locking SQL 2005 [modified] Pin
pmpdesign15-Jun-08 21:56
pmpdesign15-Jun-08 21:56 
AnswerRe: SP Transaction isolation level locking SQL 2005 Pin
Alsvha16-Jun-08 2:21
Alsvha16-Jun-08 2:21 
GeneralRe: SP Transaction isolation level locking SQL 2005 Pin
Ashfield16-Jun-08 4:27
Ashfield16-Jun-08 4:27 

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.