Click here to Skip to main content
11,487,401 members (68,860 online)
   

Database

 
GeneralRe: Is it a bad idea to keep a Database connection open Pin
jschell24-Apr-13 9:59
memberjschell24-Apr-13 9:59 
GeneralRe: Is it a bad idea to keep a Database connection open Pin
Richard.Berry10024-Apr-13 11:51
memberRichard.Berry10024-Apr-13 11:51 
AnswerRe: Is it a bad idea to keep a Database connection open Pin
Richard.Berry10022-Apr-13 9:17
memberRichard.Berry10022-Apr-13 9:17 
QuestionRecursively build a string Pin
Lash2019-Apr-13 13:26
memberLash2019-Apr-13 13:26 
Hi all,

How do you recursively remove the last character from a string in Oracle e.g for string 'HPN12345', I would like to build the following:
HPN12345
HPN1234
HPN123
HPN12
HPN1
HPN

I know how to do this in Oracle 11 using a recursive common table expression (CTE), but I need to implement this in Oracle 10g (without using a user function).

Thanks
AnswerRe: Recursively build a string Pin
jschell21-Apr-13 7:38
memberjschell21-Apr-13 7:38 
AnswerRe: Recursively build a string Pin
Niral Soni22-Apr-13 3:35
memberNiral Soni22-Apr-13 3:35 
GeneralRe: Recursively build a string Pin
Lash2022-Apr-13 8:56
memberLash2022-Apr-13 8:56 
Questionsqlserver not found Pin
Member 999911219-Apr-13 3:18
memberMember 999911219-Apr-13 3:18 
AnswerRe: sqlserver not found Pin
jschell19-Apr-13 11:22
memberjschell19-Apr-13 11:22 
QuestionConversion failed in sql Pin
venkatesann18-Apr-13 5:23
membervenkatesann18-Apr-13 5:23 

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

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


Advertise | Privacy | Mobile
Web01 | 2.8.150520.1 | Last Updated 22 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid