473,434 Members | 1,854 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,434 software developers and data experts.

merging rows

hello,

I'm moving to new e-commerce platform and I need to modify the way I
store my products.
My current layout for products in multiple category:
sku|category_id
V82|1
V82|2
V82|3

New layout:
sku|category_id
V82|1,2,3

Is there any way to make the transition in SQL? I have it all in
Access but I'm not VB guy and if possible would like to do it in SQL
if it's possible.

Thanks,
JP
Jan 16 '08 #1
3 1238
On Tue, 15 Jan 2008 19:38:20 -0800 (PST), JackpipE
<pi*******@gmail.comwrote:

That sounds like a really bad idea to denormalize the data like that.
Perhaps you would consider leaving the design in place, and use a
special query in those few instances where you want the data output
that way. Here is an article that may help with that:
http://www.mvps.org/access/modules/mdl0004.htm

-Tom.

>hello,

I'm moving to new e-commerce platform and I need to modify the way I
store my products.
My current layout for products in multiple category:
sku|category_id
V82|1
V82|2
V82|3

New layout:
sku|category_id
V82|1,2,3

Is there any way to make the transition in SQL? I have it all in
Access but I'm not VB guy and if possible would like to do it in SQL
if it's possible.

Thanks,
JP
Jan 16 '08 #2
On Jan 15, 10:38 pm, JackpipE <pipe.j...@gmail.comwrote:
hello,

I'm moving to new e-commerce platform and I need to modify the way I
store my products.
My current layout for products in multiple category:
sku|category_id
V82|1
V82|2
V82|3

New layout:
sku|category_id
V82|1,2,3

Is there any way to make the transition in SQL? I have it all in
Access but I'm not VB guy and if possible would like to do it in SQL
if it's possible.

Thanks,
JP
Why not just slit your wrists or drink poison?
Jan 16 '08 #3
On Tue, 15 Jan 2008 22:04:12 -0800 (PST), lyle
<ly************@gmail.comwrote:

Why don't you tell us how you really feel?
I understand they have long winters up there in .ca

-Tom.

<clip>
>
Why not just slit your wrists or drink poison?
Jan 18 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Klatuu | last post by:
Whew, I've struggled my way through figuring out how to use XML to transport data..now I can imagine what having a baby is like :) But, I'm stuck now. I generate the XML (single table, no...
0
by: Walt Borders | last post by:
Hi, My problem: Merging two datasets deletes parent elements, preserves all children. I've created two dataSets. Each use the same schema, parent-child nested tables. The first dataSet is...
3
by: Mike | last post by:
Hi! I also asked this question in C# group with no results: I have 2 datasets loaded with data from two xml files having the same schema. The files contain data from yesterday and today. I'd...
1
by: samn | last post by:
I wrote the following script in order to traverse an HTML table and merge the cells that have the same value across multiple rows. For some reason, however, it works for the first, third, and...
1
by: mrclash | last post by:
Hello, I have a Database in a SQL Server 2000 where I have different users tables with equal fields like this: id (int) email (varchar) name (varchar) address (varchar) joinedon (datetime)
3
by: Ralph Smith | last post by:
I have two identical databases on two different servers and I need to add the data in tables from one server to the tables in the other server. Is there a way to do that in mysql? thanks, Ralph
6
by: dannylam4 | last post by:
Hello, I've got a question about merging/concatenating rows. There's a similar topic here: Combining Multiple Rows of one Field into One Result but I didn't know if I should hijack it. Basically, I...
2
by: Neil Chambers | last post by:
I am trying to get my head around dataset merging but despite a little research I could still use a pointer (or ten). Basically I want to perform an outer join operation on a dataset (created from...
1
by: akdemirc | last post by:
Hi, My question is about retrieving single records based on a time column, i mean the result set should not include duplicate rows for a unique time value as an example: A B C ...
1
by: BBMcL | last post by:
Advanced thanks for any helping. I'm running Python on a Mac OS X. Here's the basic situation. A single group of people had various health measurements performed on them over the course of a few...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.