Click here to Skip to main content
15,890,512 members
Home / Discussions / Database
   

Database

 
AnswerRe: saving/recalling image to/from sql server 2005 using asp.net Pin
Wendelius29-Jan-09 10:51
mentorWendelius29-Jan-09 10:51 
GeneralRe: saving/recalling image to/from sql server 2005 using asp.net Pin
roachae29-Jan-09 12:21
roachae29-Jan-09 12:21 
GeneralRe: saving/recalling image to/from sql server 2005 using asp.net Pin
Wendelius29-Jan-09 12:30
mentorWendelius29-Jan-09 12:30 
GeneralRe: saving/recalling image to/from sql server 2005 using asp.net Pin
roachae30-Jan-09 6:19
roachae30-Jan-09 6:19 
GeneralRe: saving/recalling image to/from sql server 2005 using asp.net Pin
Wendelius30-Jan-09 7:40
mentorWendelius30-Jan-09 7:40 
AnswerRe: saving/recalling image to/from sql server 2005 using asp.net Pin
Giorgi Dalakishvili29-Jan-09 18:51
mentorGiorgi Dalakishvili29-Jan-09 18:51 
GeneralRe: saving/recalling image to/from sql server 2005 using asp.net Pin
roachae30-Jan-09 6:23
roachae30-Jan-09 6:23 
QuestionHow would you store the ID of a product? (a little bit long question) Pin
Joan M29-Jan-09 8:13
professionalJoan M29-Jan-09 8:13 
Hello all,

We are planning a change in our main database (customers, products...).

Now that we are preparing that it has fallen into my hands to decide the best method in order to store the articles/products into the database.

NOTICE: the Id field limit is 20 alphanumeric characters.

My main worry here is that I strongly believe that the references from different sellers can be identical. (<-- what do you think on this topic?).

I have thought on some solutions:

1. Set a number (like an autonumeric) for each product:
This means that each time the secretaries will need to add a new product they will need to search for it before trying to add it.

This seems to me that is cumbersome, it can't fail in theory, but it is too much work and this leads to human failure.

2. Write a code for the seller and the reference of the seller itself:
00 | 0123456789012345678 (the first two of them could be someething like 00 to ZZ in order to tell fr
fom where we buy the product and the other 12 can be the reference.

The secretaries must remember the "provider/seller code" before entering anything.
We can filter by seller easily. We loose two characters from the 20 we have.

3. Write a 0 at the beggining and the reference of the product.
As I told before, I believe that the references can be duplicated easily...
the first character would allow me to introduce from 0 to Z references with the same code. In that way, in the special case that a repeated reference would appear we could control it a small number of times...

What would you do?

Thank you in advance...


AnswerRe: How would you store the ID of a product? (a little bit long question) Pin
Wendelius29-Jan-09 8:56
mentorWendelius29-Jan-09 8:56 
GeneralRe: How would you store the ID of a product? (a little bit long question) Pin
Joan M29-Jan-09 21:26
professionalJoan M29-Jan-09 21:26 
GeneralRe: How would you store the ID of a product? (a little bit long question) Pin
Wendelius30-Jan-09 8:31
mentorWendelius30-Jan-09 8:31 
AnswerRe: How would you store the ID of a product? (a little bit long question) Pin
leckey29-Jan-09 9:31
leckey29-Jan-09 9:31 
QuestionAccessing SQL 2005 table through C# Pin
Deepali Khalkar29-Jan-09 2:32
Deepali Khalkar29-Jan-09 2:32 
AnswerRe: Accessing SQL 2005 table through C# Pin
Wendelius29-Jan-09 3:41
mentorWendelius29-Jan-09 3:41 
Questionhow can I get maximum values from set of alphanemeric field [modified] Pin
snehasish29-Jan-09 1:34
snehasish29-Jan-09 1:34 
AnswerRe: how can I get maximum values from set of alphanemeric field Pin
Wendelius29-Jan-09 3:34
mentorWendelius29-Jan-09 3:34 
QuestionTable which will become blank after a certain period. Pin
RajpootRohan29-Jan-09 0:02
professionalRajpootRohan29-Jan-09 0:02 
AnswerRe: Table which will become blank after a certain period. Pin
J4amieC29-Jan-09 0:10
J4amieC29-Jan-09 0:10 
GeneralRe: Table which will become blank after a certain period. Pin
RajpootRohan29-Jan-09 0:28
professionalRajpootRohan29-Jan-09 0:28 
GeneralRe: Table which will become blank after a certain period. Pin
Senthil_M29-Jan-09 19:14
Senthil_M29-Jan-09 19:14 
GeneralRe: Table which will become blank after a certain period. Pin
ashok_rgm30-Jan-09 19:18
ashok_rgm30-Jan-09 19:18 
QuestionMS Access Database Pin
solomondevapaul12328-Jan-09 23:51
solomondevapaul12328-Jan-09 23:51 
AnswerRe: MS Access Database Pin
Wendelius29-Jan-09 4:00
mentorWendelius29-Jan-09 4:00 
GeneralRe: MS Access Database Pin
solomondevapaul12329-Jan-09 19:43
solomondevapaul12329-Jan-09 19:43 
GeneralRe: MS Access Database Pin
Wendelius30-Jan-09 6:39
mentorWendelius30-Jan-09 6:39 

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.