Click here to Skip to main content
15,889,335 members
Home / Discussions / Database
   

Database

 
GeneralRe: Copy data In table Pin
kibromg19-Feb-08 23:21
kibromg19-Feb-08 23:21 
GeneralRe: Copy data In table Pin
kibromg19-Feb-08 23:48
kibromg19-Feb-08 23:48 
GeneralRe: Copy data In table Pin
Mark J. Miller20-Feb-08 6:54
Mark J. Miller20-Feb-08 6:54 
GeneralAPPLICATION TO RUN EVERY FEW SECONDS Pin
kibromg21-Feb-08 5:27
kibromg21-Feb-08 5:27 
QuestionAdvice sought, how do I best handle saving an array in a SQL database? Pin
Per Sderberg19-Feb-08 5:06
Per Sderberg19-Feb-08 5:06 
GeneralRe: Advice sought, how do I best handle saving an array in a SQL database? Pin
Mark J. Miller19-Feb-08 8:26
Mark J. Miller19-Feb-08 8:26 
GeneralRe: Advice sought, how do I best handle saving an array in a SQL database? Pin
Per Sderberg19-Feb-08 21:41
Per Sderberg19-Feb-08 21:41 
QuestionHow do I merge data into one record Pin
KreativeKai19-Feb-08 4:16
professionalKreativeKai19-Feb-08 4:16 
I've been using SQL for several production applications, but I have to say, my knowledge level of SQL is still at the beginner level, maybe just scraping the intermediate knowledge level.

I need some help from those of you who are more experienced with SQL code.

I want to take a table with several records that have identical file numbers and merge one of the fields in the table with the other records. The consolidated record can be written into another table.

Not all the records have duplicates, and I want to just write those records to the second table also.

For example the table I would be reading from would contain the following:

FileNo FlagInfo
1234 A
1234 B
1234 C
2345 A
3456 A
3456 B

The table being written to would contain the following:

FileNo FlagInfo
1234 A,B,C
2345 C
3456 A,B

Can this be done with a stored procedure or should I just write VB code to read the file in and write out the single records?

Any suggestions? Confused | :confused:

Lost in the vast sea of .NET

GeneralRe: How do I merge data into one record Pin
Mark J. Miller19-Feb-08 8:12
Mark J. Miller19-Feb-08 8:12 
Questionimages in ms-access database. Pin
avvaru.murali19-Feb-08 2:43
avvaru.murali19-Feb-08 2:43 
GeneralRe: images in ms-access database. Pin
Kschuler19-Feb-08 10:49
Kschuler19-Feb-08 10:49 
Questionembedded database Pin
avvaru.murali19-Feb-08 2:36
avvaru.murali19-Feb-08 2:36 
GeneralRe: embedded database Pin
Colin Angus Mackay19-Feb-08 4:24
Colin Angus Mackay19-Feb-08 4:24 
GeneralProblem with update statement. Pin
matjame19-Feb-08 1:59
matjame19-Feb-08 1:59 
GeneralRe: Problem with update statement. Pin
Mark J. Miller19-Feb-08 8:32
Mark J. Miller19-Feb-08 8:32 
QuestionHow to retrive the transactions back using log files Pin
Satish - Developer18-Feb-08 23:07
Satish - Developer18-Feb-08 23:07 
AnswerRe: How to retrive the transactions back using log files Pin
Mark J. Miller19-Feb-08 8:35
Mark J. Miller19-Feb-08 8:35 
QuestionCan stored procedures retrun more than one value. Pin
Satish - Developer18-Feb-08 23:03
Satish - Developer18-Feb-08 23:03 
AnswerRe: Can stored procedures retrun more than one value. Pin
J4amieC18-Feb-08 23:20
J4amieC18-Feb-08 23:20 
AnswerRe: Can stored procedures retrun more than one value. Pin
Giorgi Dalakishvili18-Feb-08 23:26
mentorGiorgi Dalakishvili18-Feb-08 23:26 
Generalquery + access database Pin
ritu432118-Feb-08 20:40
ritu432118-Feb-08 20:40 
GeneralRe: query + access database Pin
Paddy Boyd19-Feb-08 0:22
Paddy Boyd19-Feb-08 0:22 
Generalaccess database Pin
ritu432118-Feb-08 20:10
ritu432118-Feb-08 20:10 
GeneralRe: access database Pin
Kschuler19-Feb-08 10:52
Kschuler19-Feb-08 10:52 
GeneralProblem in Stored Procedure Pin
Syed Ali Raza18-Feb-08 19:11
Syed Ali Raza18-Feb-08 19:11 

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.