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

Database

 
QuestionUpdating an Access database based on a sub-select Pin
Kyle Wood13-Oct-09 9:38
Kyle Wood13-Oct-09 9:38 
AnswerRe: Updating an Access database based on a sub-select Pin
Mycroft Holmes13-Oct-09 14:36
professionalMycroft Holmes13-Oct-09 14:36 
GeneralRe: Updating an Access database based on a sub-select Pin
Kyle Wood14-Oct-09 5:03
Kyle Wood14-Oct-09 5:03 
GeneralRe: Updating an Access database based on a sub-select Pin
Kyle Wood14-Oct-09 5:26
Kyle Wood14-Oct-09 5:26 
QuestionHow to Export a SQLExpress Database Pin
BoySetsFire13-Oct-09 6:54
BoySetsFire13-Oct-09 6:54 
AnswerRe: How to Export a SQLExpress Database Pin
Not Active13-Oct-09 7:08
mentorNot Active13-Oct-09 7:08 
GeneralRe: How to Export a SQLExpress Database Pin
BoySetsFire13-Oct-09 9:46
BoySetsFire13-Oct-09 9:46 
QuestionGenerate combinations for series Pin
Member 277153113-Oct-09 4:34
Member 277153113-Oct-09 4:34 
declare @a varchar(500)
set @a = '1,2,3,4'

how to generate output for all the combinations of input @a like 1,2,3,4 ; 1,2,4,3 ; 1,3,2,4 ; 1,3,4,2 ; 1,4,2,3 ; 1,4,3,2 ; 2,1,3,4; 2,1,4,3 ; 2,3,1,4...

All the numbers will be in series like for 10 digits.. 1,2,3,4,5,6,7,8,9,10.

i require all the combinations to be generated. the series i found like in the input if last (N) and last-1 (N-1) digits are interchanged, in series 1,2,3,4, second sequence wil be 1,2,4,3 ( interchange last two digits). next 1,3,2,4(N-3 digit is incremented and missing numbers 2,4 are placed).Next sequence wil be 1,3,4,2 ( interchange last two digits).. it could give all the combinations.

Could some one help me in providing solution for this. while i am using sql server 2005.

thanks in advance,
rpp
AnswerRe: Generate combinations for series Pin
Henry Minute13-Oct-09 5:44
Henry Minute13-Oct-09 5:44 
GeneralRe: Generate combinations for series Pin
PIEBALDconsult13-Oct-09 16:02
mvePIEBALDconsult13-Oct-09 16:02 
GeneralRe: Generate combinations for series Pin
Member 277153114-Oct-09 21:53
Member 277153114-Oct-09 21:53 
QuestionStored Procedure Pin
MsmVc12-Oct-09 22:20
MsmVc12-Oct-09 22:20 
AnswerRe: Stored Procedure Pin
εїзεїзεїз12-Oct-09 23:07
εїзεїзεїз12-Oct-09 23:07 
QuestionHow to detect orphaned connections? Pin
Oshtri Deka12-Oct-09 21:16
professionalOshtri Deka12-Oct-09 21:16 
QuestionTotal Newbie Question... Pin
Bomb_shell12-Oct-09 10:21
Bomb_shell12-Oct-09 10:21 
AnswerVisual Studio Pin
David Mujica12-Oct-09 10:39
David Mujica12-Oct-09 10:39 
AnswerRe: Total Newbie Question... Pin
Paul Conrad13-Oct-09 5:37
professionalPaul Conrad13-Oct-09 5:37 
QuestionHow to attached oracle Database in any other Computer? Pin
Rahad Rahman12-Oct-09 0:41
professionalRahad Rahman12-Oct-09 0:41 
AnswerRe: How to attached oracle Database in any other Computer? Pin
Mycroft Holmes12-Oct-09 1:15
professionalMycroft Holmes12-Oct-09 1:15 
GeneralRe: How to attached oracle Database in any other Computer? Pin
Paul Conrad13-Oct-09 5:38
professionalPaul Conrad13-Oct-09 5:38 
QuestionMySQL Pin
rdop11-Oct-09 23:57
rdop11-Oct-09 23:57 
AnswerRe: MySQL Pin
Mycroft Holmes12-Oct-09 1:12
professionalMycroft Holmes12-Oct-09 1:12 
GeneralRe: MySQL Pin
rdop12-Oct-09 2:47
rdop12-Oct-09 2:47 
GeneralRe: MySQL Pin
Mycroft Holmes12-Oct-09 14:33
professionalMycroft Holmes12-Oct-09 14:33 
Questionsending report from sql server 2008 Pin
bhavnvyas11-Oct-09 21:51
bhavnvyas11-Oct-09 21:51 

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.