answersLogoWhite

0

Data is contained in tables. Tables have fields (columns) that hold rows of data. Here is an example of the field in a table: >>invoke $d001.vssdata.lastactv;
-- Definition of table \BEAST.$D001.VSSDATA.LASTACTV
-- Definition current at 15:46:25 - 06/25/07

(
STYLE_NBR INT NO DEFAULT NOT NULL
, ITEM_NBR INT NO DEFAULT NOT NULL
, SHOP_NBR SMALLINT NO DEFAULT NOT NULL
, COLOR_NBR SMALLINT NO DEFAULT NOT NULL
, SIZE_NBR SMALLINT NO DEFAULT NOT NULL
, LAST_ACTIVITY_DATE DATETIME YEAR TO DAY NO DEFAULT NOT NULL
, REGULAR_EOP_STOCK_UNITS INT NO DEFAULT NOT NULL
, REGULAR_EOP_STOCK_RETAIL NUMERIC( 18, 2) NO DEFAULT NOT NULL
, REGULAR_EOP_STOCK_COST NUMERIC( 18, 2) NO DEFAULT NOT NULL
, REDLINE_EOP_STOCK_UNITS INT NO DEFAULT NOT NULL
, REDLINE_EOP_STOCK_RETAIL NUMERIC( 18, 2) NO DEFAULT NOT NULL
, REDLINE_EOP_STOCK_COST NUMERIC( 18, 2) NO DEFAULT NOT NULL
, MODEL_INVENTORY INT NO DEFAULT NOT NULL
, PCT_STK_NUMERATOR SMALLINT NO DEFAULT NOT NULL
, PCT_STK_DENOMINATOR SMALLINT NO DEFAULT NOT NULL
, LOAD_STYLE INT NO DEFAULT NOT NULL
, INTRANSIT_UNITS INT NO DEFAULT NOT NULL
, OWNER_NBR SMALLINT NO DEFAULT NOT NULL
)
>>
CODE EOF LAST MODIFIED OWNER RWEP PExt SE Say you wanted to know the stock cost between May 1 and May 31. You would query that table for that data. select style_number, regular_eop_stock_cost, owner_nbr from $data.vssdata.lastactv where last_activity_date between "05-01-07" and "05-31-07"; Depending on how large the table is, how fragmented, and last update stats, it could return the data quickly or it could take an hour or more. The date format in the query depends on the database.

User Avatar

Wiki User

17y ago

Still curious? Ask our experts.

Chat with our AI personalities

FranFran
I've made my fair share of mistakes, and if I can help you avoid a few, I'd sure like to try.
Chat with Fran
EzraEzra
Faith is not about having all the answers, but learning to ask the right questions.
Chat with Ezra
ViviVivi
Your ride-or-die bestie who's seen you through every high and low.
Chat with Vivi

Add your answer:

Earn +20 pts
Q: How does select operation perform in RDBMS?
Write your answer...
Submit
Still have questions?
magnify glass
imp