Click here to Skip to main content
15,909,466 members
Home / Discussions / Database
   

Database

 
GeneralRe: How to restore backup file from sqlserver2005 to sqlserver2000? Pin
Blue_Boy19-Aug-08 0:58
Blue_Boy19-Aug-08 0:58 
General[Message Deleted] Pin
Tripathi Swati19-Aug-08 1:12
Tripathi Swati19-Aug-08 1:12 
GeneralRe: How to restore backup file from sqlserver2005 to sqlserver2000? Pin
Blue_Boy19-Aug-08 1:18
Blue_Boy19-Aug-08 1:18 
GeneralRe: How to restore backup file from sqlserver2005 to sqlserver2000? [modified] [follow d below steps] Pin
Ashish Kumar Vyas19-Aug-08 2:11
Ashish Kumar Vyas19-Aug-08 2:11 
GeneralRe: How to restore backup file from sqlserver2005 to sqlserver2000? Pin
Tripathi Swati19-Aug-08 3:14
Tripathi Swati19-Aug-08 3:14 
GeneralRe: How to restore backup file from sqlserver2005 to sqlserver2000? Pin
Wendelius19-Aug-08 5:02
mentorWendelius19-Aug-08 5:02 
Questionlower and UPPER String Pin
nelsonpaixao18-Aug-08 12:22
nelsonpaixao18-Aug-08 12:22 
AnswerRe: lower and UPPER String Pin
Blue_Boy18-Aug-08 12:53
Blue_Boy18-Aug-08 12:53 
here it is:
<br />
<br />
DECLARE @val AS VARCHAR(255)<br />
SET @val='name surname'<br />
<br />
SELECT UPPER(SUBSTRING(@val,1,1))+LOWER( SUBSTRING(@val,2,CHARINDEX(' ',@val)-1))+<br />
 UPPER (SUBSTRING(@val, CHARINDEX(' ',@val)+1,LEN(@val)))




Result is:

Name SURNAME


I Love T-SQL
"Don't torture yourself,let the life to do it for you."

QuestionPossibly a dumb question Pin
Jerry Hammond18-Aug-08 11:54
Jerry Hammond18-Aug-08 11:54 
AnswerRe: Possibly a dumb question Pin
Wendelius19-Aug-08 5:25
mentorWendelius19-Aug-08 5:25 
GeneralRe: Possibly a dumb question Pin
Jerry Hammond19-Aug-08 18:45
Jerry Hammond19-Aug-08 18:45 
Questionhelp setting up matrix cross-refrence query [modified] Pin
empulse18-Aug-08 4:49
empulse18-Aug-08 4:49 
AnswerRe: help setting up matrix cross-refrence query Pin
DerekFL18-Aug-08 10:37
DerekFL18-Aug-08 10:37 
GeneralRe: help setting up matrix cross-refrence query Pin
empulse18-Aug-08 10:56
empulse18-Aug-08 10:56 
AnswerRe: help setting up matrix cross-refrence query Pin
Tripathi Swati18-Aug-08 22:23
Tripathi Swati18-Aug-08 22:23 
AnswerRe: help setting up matrix cross-refrence query Pin
Wendelius19-Aug-08 5:19
mentorWendelius19-Aug-08 5:19 
AnswerRe: help setting up matrix cross-refrence query Pin
Mycroft Holmes19-Aug-08 22:35
professionalMycroft Holmes19-Aug-08 22:35 
QuestionWhat is the disadvantage of using select * from table name?? Pin
Tridip Bhattacharjee17-Aug-08 23:16
professionalTridip Bhattacharjee17-Aug-08 23:16 
AnswerRe: What is the disadvantage of using select * from table name?? Pin
soni uma17-Aug-08 23:35
soni uma17-Aug-08 23:35 
AnswerRe: What is the disadvantage of using select * from table name?? Pin
SomeGuyThatIsMe18-Aug-08 2:11
SomeGuyThatIsMe18-Aug-08 2:11 
AnswerRe: What is the disadvantage of using select * from table name?? Pin
Tim Carmichael18-Aug-08 6:33
Tim Carmichael18-Aug-08 6:33 
AnswerRe: What is the disadvantage of using select * from table name?? Pin
PIEBALDconsult18-Aug-08 13:00
mvePIEBALDconsult18-Aug-08 13:00 
AnswerRe: What is the disadvantage of using select * from table name?? Pin
supercat919-Aug-08 9:28
supercat919-Aug-08 9:28 
Questionhow to split a string in oracle Pin
lakshmichawala17-Aug-08 19:41
lakshmichawala17-Aug-08 19:41 
AnswerCross Post!! Pin
ChandraRam17-Aug-08 21:21
ChandraRam17-Aug-08 21:21 

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.