Re: Rule or check
From: Anith Sen (anith_at_bizdatasolutions.com)
Date: 01/10/05
- Next message: Alejandro Mesa: "RE: query for calendar app"
- Previous message: Scott Simons: "Re: design question"
- In reply to: aleblack: "Rule or check"
- Next in thread: Nitin: "RE: Rule or check"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 10 Jan 2005 13:38:15 -0600
>> the price must be like this price=>cust + (cust * 0,5)
Seems like a derived column ( computed column ) should do:
CREATE TABLE t (
cust INT NOT NULL PRIMARY KEY,
incr DECIMAL ( 5, 2 ) INT NOT NULL,
price AS cust * 1.5 ) ;
-- Anith
- Next message: Alejandro Mesa: "RE: query for calendar app"
- Previous message: Scott Simons: "Re: design question"
- In reply to: aleblack: "Rule or check"
- Next in thread: Nitin: "RE: Rule or check"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|