Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1062859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T18:41:40+00:00 2026-05-16T18:41:40+00:00

Changes in database 1- Removed column dimesion from the iC_ProductFeature table 2 – Added

  • 0

Changes in database

1- Removed column dimesion from the iC_ProductFeature table

2 – Added new table iC_ProductDimensions to hold the different dimensional data of the product. below is the detailed description of different columns used in the iC_ProductDimensions

1- DimensionId - This is the primary key in the table and of bigint datatype.

2- UOMID -  (FK) Unit of Measurement ID , this is refrenced from the table iC_ProductUnitOfMeasure.

3- ProductFeatureId : This is referenced column from the iC_ProductFeature table.

4- NumericValue  : This column stores the dimensional value (e.g. if UOM is pound and this column stores 10 than we can say that Weight of product is 10 pound.

3- One column ‘MeasurementType’ is added in the iC_ProductUnitOfMeasure.

4- Changed the datatype of ProductFeatureId to Bigint from varchar(100)

Data Flow

‘MeasurementType’ in the iC_ProductUnitOfMeasure will store the measurement for which unit of mesaure is created.

e.g. let's take a snapshot view of  rows in iC_ProductUnitOfMeasure 


    UOMID  Abbrivation         MeasurementType         Description 

    1              lb          Weight           This UOM is used for measuring weight of the product 
    2              inch.       Width            This UOM is used for measuring width of the product 
    3              meter       Length           This UOM is used for measuring length of the product 
    4              Kg          Weight           This UOM is used for measuring weight  of product  in Kg.

in the above example, we have tagged each UOM with its associative MeasurementType.

UOM 1 can be used measure weight of products in pound similarly UOM 4 can be used to measure the product weight in kilogrames.

Adding a product which have product length is 0.5 meter , product width is 50 inch and product weight as 100 pound.

1 – Create a record in the iC_Product table to store the common attributes of the product. (Suppopse ProductId = ICPR0001)

2- Create a record in iC_ProductFeature and store the common product feature like color , size , s/w , h/w features if any. (Suppose ProductFeatureId = 1)

3- Create 3 records in iC_ProductDimesion table as shown below.

DimensionID UOMID ProductFeatureId NumericValue 
1           1     1                100 
2           2     1                50 
3           3     1                0.5 

4- Add a record in the iC_ProductFeatureApplicability with (ProductId = ICPR0001 and ProductFeatureId = 1)

Quering data to get the different dimensional values of the product ICPR001

select 

          product .* , 
          productFeature.* ,
          ( CAST (dimension.NumericValue  as Varchar(100) )+" " + UOM.Abbrivation) as Dimension ,
          dimension.MeasurementType

         from 
                iC_Product product , 
                iC_ProductFeature productFeature , 
                iC_ProductFeatureApplicability , 
                iC_ProductDimesions dimension , 
                iC_ProductUnitOfMeasure UOM

where

 iC_ProductFeatureApplicability.ProductId = product.ProductId  

and 

 iC_ProductFeatureApplicability.ProductFeatureId = productFeature.ProductFeatureId 

and 

dimension.ProductFeatureId = productFeature.ProductFeatureId 

and 

dimension.UOMID= UOM.UOMID

and 

 product.ProductId = 'ICPR001'        
  • 1 1 Answer
  • 3 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T18:41:41+00:00Added an answer on May 16, 2026 at 6:41 pm

    A true singleton can only ever be instantiated once (per thread, in some implementations).

    The Unity lifetime management is just an option to have Unity always return the same instance; that instance is unlikely to actually be designed as a singleton, so you could still, in principle, create other instances manually.

    See my answer to this question for more about the distinction.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I had to add a new column to my table so I did that
I need to remove a column from the database in EF 4.3. The database
I have a fairly huge database with a master table with a single column
What is the easiest way to apply to database changes to the structure (not
How can one use Triggers for Logging History of database changes in MySQL? If
I'm writing a tool which will push changes to database after commit to svn.
I've got a problem in my database - somehow changes sometimes are not being
I am making changes on a website database I am developing using joomla 2.5
we've been making changes in the MySQL database, adding tables, columns and so forth
I need to highlight changes(diff) between 2 database text fields in a asp.net application.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.